Commit graph

376 commits

Author SHA1 Message Date
nicolasconnault
e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
98b369f800 MDL-19794 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:59 +00:00
nicolasconnault
82fcab32c1 MDL-19794 Converted calls to popup_form() 2009-08-10 03:35:14 +00:00
nicolasconnault
64e12bb710 MDL-19794 Converting calls to popup_form() 2009-08-08 09:31:01 +00:00
nicolasconnault
7c5286cd85 MDL-19794 Migrated calls to print_heading 2009-08-06 08:15:43 +00:00
nicolasconnault
27ca34af62 MDL-19794 Upgraded calls to print_heading_block 2009-08-06 01:25:52 +00:00
nicolasconnault
69e80c0502 MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading. 2009-07-30 03:48:08 +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
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
moodler
609bc82be7 course/format/social MDL-18483 For social course format, print forum intro on course page (Merged from 1.9) 2009-05-12 05:10:28 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
edc0c49332 file api: MDL-18754 improve the names of some functions.
The new names are documented on
http://docs.moodle.org/en/Development:Convert_Draftarea_Files
2009-04-01 04:34:58 +00:00
skodak
644d506ac1 MDL-16698 towards new general editor element + converted course section summaries 2009-02-17 16:18:05 +00:00
Francois Marier
6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
f400841b23 MDL-14679 converted some get courses 2008-06-01 17:59:13 +00:00
dongsheng
1343697c82 "MDL-14129, fix print_error" 2008-05-13 06:15:20 +00:00
skodak
2092c318a6 MDL-14604 moved LAMS block to contrib 2008-04-30 12:52:08 +00:00
skodak
01e1f34e16 MDL-14240 reverting previous commit 2008-04-07 12:16:10 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
thepurpleblob
3ab292c678 Replaced some nasty 'magic numbers' with defines. 2008-04-02 14:04:47 +00:00
mchurch
2119c1514c Closing the middle column div tag. XHTML compliance. 2008-01-22 20:38:12 +00:00
nfreear
0154653b9b Fixes MDL-12541 "Weeks course format - dates for each section should be marked up as heading". Merged. 2007-12-11 15:25:07 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
nfreear
ab9ad21d0b Follow up fix for MDL-7878 "Link identification and skipping" (and MDL-9306 "Replaced weeks..") - duplicate skip_main_destination(). 2007-11-13 17:16:54 +00:00
nfreear
23adb9c84f Fixes MDL-7878 in new course format, "Link identification and skipping" - skip_main_destination function + use the $currenttext string (MDL-11439) - both accessibility related. 2007-11-06 17:46:15 +00:00
nicolasconnault
1ce18c08d3 MDL-9306 Applied Ann's patches: seems to work very well, the output is entirely XHTML compliant, and displays really nicely. 2007-11-06 14:01:13 +00:00
nfreear
5c3550191a Partial fix for reopened bug MDL-7878, "Link identification and skipping" - affects all course formats + other files. 2007-10-22 06:43:00 +00:00
nfreear
d2bd42498c Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually. Reorder. 2007-09-26 12:53:04 +00:00
nfreear
f4a01ab61f MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling. 2007-09-25 12:05:36 +00:00
nfreear
e9b9c1d810 MDL-1149 Accessibility: Current week is NOT indicated non-visually, only in styling. 2007-09-25 12:00:51 +00:00
nicolasconnault
9837bd1d2c MDL-7574 Applying Matthew Davidson's patch. 2007-08-27 16:59:04 +00:00
toyomoyo
66af2bf186 fixing a broken get_context_instance() call 2007-08-22 05:51:04 +00:00
tjhunt
40ce63cbb7 MDL-10588 - refactor the code for printing the 'subscribe/unsubscribe from this forum' link into one place. 2007-07-24 17:06:29 +00:00
urs_hunkler
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
poltawski
b6903c43eb MDL-9187 Added missing - between week course date periods, merged from
MOODLE_18_STABLE
2007-05-09 08:39:14 +00:00
moodler
afc58a289b Merged some fixes for MDL-9402 from stable (causing forum unread counts to break) 2007-04-17 09:29:55 +00:00
moodler
1519aa2b71 Merged fixes for latest news from 1.8 MDL-9308 2007-04-15 07:26:23 +00:00
moodler
61c1b4b573 Merged changes to use new ajaxenabled for MDL-8417 2007-03-01 02:42:16 +00:00
toyomoyo
61e75e959b fixing broken has_capability() checks 2007-02-22 03:07:10 +00:00
toyomoyo
217a8ee950 made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers. 2007-02-16 07:57:19 +00:00
urs_hunkler
54f404fbef 'removed old block width definitions' 2007-02-11 10:41:42 +00:00