Commit graph

276 commits

Author SHA1 Message Date
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
nfreear
a328113f13 Accessibility: validation, missing 'alt' attribute, near $strshowallweeks (OU-Bugz: 741) 2006-03-15 09:56:40 +00:00
nfreear
99499e69a4 Accessibility: validation, erroneous & replaced with & call to popup_form (OU-Bugz: 735) 2006-03-15 09:42:37 +00:00
defacer
4baeb9b028 Removing the <a name="2"></a> anchors from course sections (used with links,
e.g. /course/view.php?id=2#4). We already have elements with id="section-XXX",
so I made all links I could possibly grep for point to those.

All this for XHTML (won't Tidy ever be content?)
2005-11-23 23:14:25 +00:00
skodak
870e3cad2c fix for preferred_width_xx initialization SC#169; merged from MOODLE_15_STABLE 2005-10-29 16:36:15 +00:00
moodler
c1ac64b5b0 Merged new CSS classes from stable 2005-06-11 18:30:45 +00:00
thepurpleblob
46c0bb9b64 Removed optional_variable(), require_variable and all $_GET, $_POST
Replaced with more secure alternatives.
2005-06-10 11:06:19 +00:00
urs_hunkler
4090106907 The summary in the week or topic description was just written out as text without a class. I added a DIV class="summary" around it. 2005-05-12 07:02:56 +00:00
moodler
e14496ec4f No cell spacing 2005-03-26 07:18:22 +00:00
gustav_delius
c63bf72a9d The up and down arrows for moving sections now jump to the moved section when the page reloads. Makes it easier to move sections over longer distances. I actually thought I had fixed this a long time ago but apparently not. 2005-03-06 14:57:23 +00:00
defacer
dffd4bb948 You know you are beyond hope of redemption when you make "API uniformity" changes. ;-) 2005-03-02 05:56:24 +00:00
defacer
664923229c Since $PAGE knows where the adminblock should be printed, let it do the printing. 2005-03-02 05:47:39 +00:00
moodler
ee350ee9a3 FIxed a string name 2005-02-14 16:06:50 +00:00
moodler
6cba878db8 Bring weekly into line with topics 2005-02-14 16:02:32 +00:00
gustav_delius
8dc93b9445 Invisible sections are no longer shown in jump menu, see bug 2085 2005-02-13 22:23:45 +00:00
defacer
a3f24f7cc5 Improvements in how incoming parameters are handled, how $editing is handled.
More consistency across course formats for editing stuff, using $PAGE.

Also a "bugfix": when turning editing off, cancel moving an activity if you
were in the middle of doing so.
2005-02-12 13:09:18 +00:00
defacer
446390fb47 Lots of improvements in markup and styles for courses.
Finalized and correctly distributed the calendar styles.
2005-02-12 12:40:04 +00:00
defacer
e96ba29d6f Vastly improved styles, lots of inline styles removed, markup improved. 2005-02-12 11:37:09 +00:00
gustav_delius
0e2851b998 Avoid using <p> tags because different browsers treat them differently (e.g in firefox if a table cell starts with a <p> it will start with an empty line, in IE it will not). Use <div> instead. 2005-02-06 18:18:44 +00:00
defacer
c1d8705fd2 Change the semantics of blocks_print_adminblock() to make life easier to
developers who use pages. Conversely simplified the code a bit in courses.
2005-02-02 02:41:56 +00:00
moodler
554cec9f27 Removed a lot of THEMES and some other clean up
A LOT of clean up and speed-up is still possible in these
important files by converting all "strings" to 'strings'
2005-01-25 14:18:51 +00:00
urs_hunkler
dc140b6cc0 _ added ids for the layout table 2005-01-18 11:11:26 +00:00
defacer
f032aa7a5f MAJOR CHANGES:
--------------

Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
It still doesn't understand women... Read the comments in pagelib.php for a first
impression. Feedback highly encouraged!

Blocks code has undergone significant changes to work with Pages. Flexibility is its
middle name, since I think (without having tried it) that adding e.g. a third
placeholder for "center" blocks in courses, with full support for moving around etc,
will now take about 15 lines of new or edited code. If you are not impressed yet, I
suggest watching a documentary on solar physics. :P

MINOR CHANGES:
--------------

Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
configuration options. You can override it to return true and thus get configuration
amenities without allowing multiple instances.

Minor polishing to comments and documentation (whatever caught my eye was game).

Tightened up some code here and there by utilizing all the new features.

BUGFIXES:
---------

A bug in restore_execute.html caused hidden blocks to not be restored at all.
2004-11-08 19:36:07 +00:00