24 Commits

Author SHA1 Message Date
Frederic Massart
4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Dongsheng Cai
100e0d4989 NAVIGATION MDL-25468 remove optional_param from navigationlib.php, use override_active_url to help find the correct node 2011-02-07 16:25:58 +08:00
Penny Leach
834ad953f5 portfolio MDL-23235 removed spurious id in a moodle url for portfoliologs and fixed include 2010-07-21 20:16:49 +00:00
Mike Churchward
108ef06708 MDL-23182 - Corrected context level to prevent admin menu from opening. 2010-07-12 20:10:52 +00:00
Mike Churchward
f601756991 MDL-23182 - Removed use of tabs. Added in PAGE functions and parameters so that nav menu will appear properly. Changed use of 'course' parameter to 'courseid' parameter to be more accurate. 2010-07-12 20:04:38 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda
c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Penny Leach
59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
Penny Leach
5d0dbf130d portfolio MDL-20872 elegant handling of cleanup/display race condition
lots of work to elegantly resolve the issue between interactive browser
sessions and "pull" portfolio plugins that cause a race condition where we lose
the ability to display information to the user if the pull cleans up the export
first.  this also improves the portfolio transfer log display for later
2009-11-18 12:27:15 +00:00
Penny Leach
c95a609597 Portfolio MDL-19356 removal of session reliance completely.
For plugins that don't support it, we can work around the external
redirect issue by returning to a special url.

This also adds on selective cancelling/continuing of current exports.

It needs a lot of testing, but seems to be working reasonably well.

Some plugins need updating now, however
2009-11-17 14:01:25 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
samhemelryk
ce221eb52d user MDL-19825 Added set_url calls, replaced deprecated functions, and boilderplate 2009-09-25 04:02:46 +00:00
samhemelryk
caa8363f83 user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-02 08:36:16 +00:00
nicolasconnault
f2f085ee68 MDL-19825 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:22 +00:00
nicolasconnault
ecd035a4c9 MDL-19825 Removed clone(pagingbar), cloning now done in outputlib 2009-08-07 01:40:39 +00:00
nicolasconnault
da9ac19f14 MDL-19825 Converted calls to print_paging_bar 2009-08-07 00:29:44 +00:00
nicolasconnault
f24ca3ce01 MDL-19825 Converted all print_footer() calls 2009-08-06 14:19:50 +00:00
nicolasconnault
8fa89bfd04 MDL-19825 Migrated calls to print_heading 2009-08-06 08:15:05 +00:00
moodler
55de6e0784 MDL-16046 Fixed up the portfolio tabs 2008-09-15 06:09:57 +00:00
mjollnir_
8bde161135 MDL-16046 - log page for portfolio transfers 2008-09-12 15:34:20 +00:00