8039 Commits

Author SHA1 Message Date
nicolasconnault
db056cf2cb MDL-19808 Upgraded calls to print_time_selector and print_date_selector 2009-08-06 01:11:16 +00:00
nicolasconnault
e344da638a MDL-19806 Upgraded calls to print_time_selector and print_date_selector 2009-08-06 01:08:27 +00:00
nicolasconnault
85ed1699f4 MDL-19808 Upgraded calls to print_time_selector and print_date_selector 2009-08-06 01:07:51 +00:00
nicolasconnault
c502c8aa8f MDL-19813 Upgraded call to button_to_popup_window 2009-08-06 00:27:42 +00:00
nicolasconnault
5feca57e17 MDL-19807 Upgraded call to button_to_popup_window 2009-08-06 00:27:20 +00:00
stronk7
fe8ce24aac NOBUG: Fix wrong(4) default for label->introformat. Must be 0 2009-08-04 13:57:00 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
e42f153c33 MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p 2009-07-31 09:30:11 +00:00
tjhunt
05d3c06e36 quiz: XHTML strict. 2009-07-29 03:51:34 +00:00
nicolasconnault
dc58020794 MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
nicolasconnault
41f08e33ab MDL-19807 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:35:26 +00:00
nicolasconnault
db8935ef42 MDL-19805 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:33:34 +00:00
nicolasconnault
71106544b3 MDL-19817 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:33:14 +00:00
nicolasconnault
4854006b63 MDL-19812 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:44 +00:00
nicolasconnault
4eeec9ac75 MDL-19815 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:32:23 +00:00
tjhunt
d1dd5d030f chat: Remove unnecessary call-time pass by reference. 2009-07-24 09:16:09 +00:00
tjhunt
4262a2f806 lesson: MDL-19890 Fix block-printing code in lesson (I hope)
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +00:00
tjhunt
d18675a8d7 quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.
Sadly it now requries JavaScript again, at least for best operation.
2009-07-23 09:20:33 +00:00
tjhunt
d4ad9adf22 quiz: fix URL escaping issues. 2009-07-22 09:49:48 +00:00
tjhunt
82fd2e8bfb quiz: Check this is the users own attempt before sending them to the attempt.php page. 2009-07-22 09:25:46 +00:00
tjhunt
1ddfb914fd quiz reports: Fix ordering of reports broken by MDL-16438. 2009-07-22 09:20:04 +00:00
tjhunt
a1a6cf1116 quiz: MDL-19813 missing global $OUTPUT. 2009-07-21 07:08:08 +00:00
tjhunt
084f4c15be MDL-19882 Add remaining missing require_login-s before require_capability. 2009-07-20 09:46:53 +00:00
skodak
0a8a7b6c24 MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
tjhunt
64d7949245 quiz: add tracker id to TODO. 2009-07-17 07:06:53 +00:00
tjhunt
8101e5fc31 quiz: remove incorrect TODO. 2009-07-17 07:02:13 +00:00
tjhunt
b933475898 quiz manual grading: Remove todo that was already done! 2009-07-17 07:00:16 +00:00
tjhunt
35a51f44e2 quiz editing: Remove unnecessary TODO. 2009-07-17 06:56:33 +00:00
tjhunt
6f030b0f84 quiz editing: MDL-17730 need better skip links on the quiz editing page. 2009-07-17 06:54:58 +00:00
tjhunt
704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +00:00
nicolasconnault
385219cba9 MDL-19808 Upgraded view.php to new pagelib and outputlib APIs 2009-07-15 02:54:40 +00:00
tjhunt
fbaaeaebac forum: $PAGE->set_url on forum view page. 2009-07-14 09:36:02 +00:00
skodak
4e94ce8ec5 MDL-16075 fixed incomplete conversion of glossary comments 2009-07-14 08:26:45 +00:00
tjhunt
652ee8aa56 feedback MDL-19773 - temporary work-around so cron can run.
This still needs to be fixed properly.
2009-07-13 05:44:35 +00:00
skodak
42f9706865 fixed obsolete readme info 2009-07-09 20:02:27 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
4d49202ffc javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
2009-07-08 04:12:11 +00:00
samhemelryk
e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
tjhunt
8f4e377dfe MDL-19690 - pixpath - cannot use $OUTPUT in CSS. Use $PAGE->theme instead. 2009-07-07 03:49:13 +00:00
Moodle HQ git importer
005a41a3ee Fixing drift between CVS and git 2009-07-06 00:38:18 +00:00
skodak
86900a93bb MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:40:37 +00:00
skodak
98edf7b647 MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:39:39 +00:00
tjhunt
d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
tjhunt
ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
samhemelryk
7747c8dbd6 mod-feedback MDL-16706 Removed inline JS and added PAGE methods 2009-07-03 02:01:21 +00:00
samhemelryk
183abffc6b mod-scorm MDL-16706 Added missing global from commites yesterday 2009-07-03 01:36:18 +00:00
skodak
fa381ac70e MDL-19700 removing unused global 2009-07-02 15:27:46 +00:00
skodak
2ece30dd13 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:11:28 +00:00
skodak
41d2f7f781 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:02:51 +00:00