98 Commits

Author SHA1 Message Date
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
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
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
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
skodak
01e1f34e16 MDL-14240 reverting previous commit 2008-04-07 12:16:10 +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
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
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
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
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
dd9098cc8b 'added felxible columns and round corner code' 2007-02-06 21:31:04 +00:00
urs_hunkler
689456eb15 'deleted old block width definition' 2007-02-06 20:18:45 +00:00
urs_hunkler
c15816ce95 'set sideblock left and right min/max width with values set in theme/config.php' 2007-01-28 17:11:05 +00:00
moodler
3b456f6ae2 Added a summary to layout tables "layout tables" for further accessibility 2007-01-23 08:28:55 +00:00
moodler
1f48fec7ff FIxed some icon sizes 2007-01-11 06:51:01 +00:00
vyshane
14efad9388 Fixes for MDL-7861. 2007-01-09 10:20:59 +00:00
moodler
bd792a758f XHTML Strict fixes MDL-7861 2007-01-04 15:52:11 +00:00
moodler
2ef9d19a51 Added skip links to all course formats to main content MDL-7878 2007-01-03 15:37:07 +00:00
vyshane
88c5092a50 Merged from 1.7. 2006-11-17 05:54:21 +00:00
vyshane
f45cc76fb3 Merged from 1.7. 2006-10-24 08:13:13 +00:00
vyshane
8b8a8779dc Merged from 1.7 2006-10-18 07:05:21 +00:00
vyshane
3ecc49d495 Turn off display of week dates if we are in editing mode and if ajax is turned on. We do this for now because the ajax code does not yet update the week dates when sections are moved around. Will have to fix later. 2006-10-10 02:38:33 +00:00
moodler
3febabd888 Use AJAX for weekly formats too. HOWEVER, there are some remaining
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
toyomoyo
3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
skodak
1bc6fc82b6 section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE 2006-07-19 12:52:06 +00:00
moodler
df2f835eeb Merged changes from stable 2006-06-11 06:48:56 +00:00
dwoolhead
58de1815f4 Bug 5536 Replaced references to hide by show. Merged from stable branch. 2006-05-18 16:15:04 +00:00
gustav_delius
7a38b61bfa Fixing empty lines 2006-04-29 20:01:27 +00:00
skodak
0cdae0dcaa general cleanup of xxx_parameter() functions + fixed several register globals problems 2006-04-11 21:41:21 +00:00
nfreear
ce148ff57e Accessibility: critical fix (editing on), filled empty Alt-link text, times 6 (OU-Bugz: 744) 2006-03-15 10:26:56 +00:00
nfreear
d57be0a8b4 Accessibility: strict, replaced image border, width... with classes (OU-Bugz: 697, 745) 2006-03-15 10:23:09 +00:00