Commit graph

281 commits

Author SHA1 Message Date
Eloy Lafuente
3362dfdca5 NOMDL - edit_button() change internals to be 100% in pair with settings block urls 2010-08-03 10:56:35 +00:00
Petr Skoda
1b396b1811 MDL-23167 added missing cap test - print the footer link to purge caches only when allowed to 2010-07-25 13:49:25 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Martin Dougiamas
ba6c97eeae MDL-23167 Upgraded "Purge caches" to a full admin page with a confirm button, and added a link to it in the footer for developers. 2010-07-18 07:17:01 +00:00
Sam Hemelryk
6db3eee02b enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Andrew Davis
55d95d90f9 rating MDL-23328 made date restriction of ratings work correctly 2010-07-16 06:30:30 +00:00
jerome mouneyrac
f21b363042 course publication MDL-19315 fix for gallery JS call (Sam's fix) 2010-07-14 09:44:11 +00:00
Petr Skoda
edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
David Mudrak
469bf7a4c2 MDL-21235 Fixed returning of HTML generated by the underlying renderer
Apparently not many developers (but me ;-) use this technique - it could
never work to ask plugin renderer to get HTML from the underlying (core) one.
2010-07-08 16:32:19 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
995f2d51d7 MDL-12192 Language specific label separator instead of hardcoded ': '
New string is available. Use get_string('labelsep', 'langconfig') to be used
as a separator between a label and the labelled text. If you want to
produce <label> HTML element, you may be interested in the new
html_writer::label() method. Simple selects and URL selects now use it.

There are bambillion places where ': ' is hardcoded as a separator. I do
not think we have to fix them manually now (and mass search and replace
would be tricky) but everybody should stop adding new.

Do not abuse 'labelsep' for any other purposes. Note that it may not be
colon in some languages or sites.
2010-07-02 12:15:36 +00:00
Rossiani Wijaya
8093188f51 MDL-20447 - bulk upload: add page heading 2010-06-23 09:16:53 +00:00
Rossiani Wijaya
dcfb9b780e MDL-20446 - Add a heading 'Page path:' to navigation bar, hidden from sighted users. 2010-06-23 09:13:23 +00:00
Rossiani Wijaya
29ba64e5f9 MDL-21624 - add 'maincontent' handler 2010-06-23 09:10:53 +00:00
Dongsheng Cai
6eabadd90d MDL-22805, display section_backup course_backup course_content only, hide empty directory, lock user in course level 2010-06-22 09:04:46 +00:00
Dongsheng Cai
fb2fb46e5b MDL-22805, new renderer component moodle_file_tree_viewer, remove file_tree_viewer to area_file_tree_viewer, the legecy files/index.php has be replaced with the moodle_file_tree_viewer, it is readonly 2010-06-16 08:07:42 +00:00
Martin Dougiamas
3ab2e357ab MDL-22748 Made the standard redirect text and continue link look nicer. 2010-06-14 05:16:56 +00:00
Sam Hemelryk
af7c1e29ab block-community MDL-19314 Tweaked image gallery CSS and added a firstimageonly property 2010-06-04 02:46:25 +00:00
Sam Hemelryk
2a102b901e block-community MDL-19314 Fixed gallery lightbox implementation and added proper support for yui3 gallery modules 2010-06-04 01:49:53 +00:00
Sam Hemelryk
48fa948491 navigation MDL-22438 Fixed alignment issues with navigation items that were wrapping lines 2010-06-03 08:27:03 +00:00
David Mudrak
d4dcfc6b8f MDL-20204 Fixed regression in the recent url_select improvements
Now, url_select checks for valid URLs in optgrouped lists and paramater
'selected' is converted to the local URL form, too. The patch also
fixes a legacy handling of thr Gradebook plugins selector.
2010-05-31 15:30:45 +00:00
Petr Skoda
5ba8c3f939 MDL-20204 fixed regression in last commit 2010-05-28 18:06:39 +00:00
Petr Skoda
c422efcf9f MDL-20204 significantly improved url_select renderer - it tests validity of urls and fixes absolute urls too 2010-05-28 15:47:26 +00:00
Dongsheng Cai
b80ef420d0 MDL-22582, file_tree_viewer implementaion in core renderer 2010-05-26 08:32:31 +00:00
Dongsheng Cai
ac9c14dd29 MDL-22548, hide main file element completely 2010-05-26 07:09:02 +00:00
Dongsheng Cai
309da23fa6 "MDL-16597, changed orders of filename and file menu" 2010-05-25 06:41:00 +00:00
Dongsheng Cai
bb496de7c2 MDL-13766, move file picker element to core renderer 2010-05-24 07:55:57 +00:00
Andrew Davis
50e7d9da14 rating MDL-22541 fixed display of rating aggregates with count and sum aggregation methods 2010-05-24 03:41:00 +00:00
Petr Skoda
71c03ac138 comment typos 2010-05-22 20:16:12 +00:00
Petr Skoda
996b1e0ce3 fixed typos 2010-05-22 14:43:46 +00:00
Petr Skoda
caf2bec906 MDL-16089 major mod/resource lang pack cleanup 2010-05-22 14:37:54 +00:00
Andrew Davis
3180bc2cc1 rating MDL-22526 adding sesskey to improve security 2010-05-21 03:43:45 +00:00
Dongsheng Cai
d8f3170367 MDL-16597, added some style to make filemanger prettier 2010-05-20 06:15:44 +00:00
Dongsheng Cai
56d2b933ab MDL-16597, disable the non js link temporarily, it is confusing, need a better workaround 2010-05-19 08:25:01 +00:00
Dongsheng Cai
4d2ee4c2c0 MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager. 2010-05-19 08:05:36 +00:00
Andrew Davis
771b3fbe12 rating MDL-21836 altered render_rating() to make better use of html_writer 2010-05-17 07:31:22 +00:00
David Mudrak
b4c458a347 Fixing an incorrect usage of 'continue' statement outside the loop
This was a blocker for CLI installer. After a site is installed via CLI,
the admin has to log in and edit his/her profile. The profile editing
page did not work as it run into this if {} statement, producing fatal
error.
2010-05-11 15:47:12 +00:00
Sam Hemelryk
12cc75aed5 custommenu MDL-22398 Fixed notice during install/upgrade with $CFG->custommenuitems 2010-05-11 07:30:04 +00:00
Sam Hemelryk
d7bd9acd9c navigation MDL-22398 Fixed module declaration for custom menu that was reincluding javascript-static 2010-05-10 09:41:32 +00:00
Sam Hemelryk
d2dbd0c0d0 navigation MDL-22398 Added custom menu to Moodle core. Will document in theme's forum 2010-05-10 05:24:00 +00:00
David Mudrak
8af8be4aa9 MDL-22067 Fixing regression - legacy help icons made by old_icon_help() use overlay as well 2010-05-04 14:22:19 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Sam Hemelryk
2cf81209ff javascript MDL-22067 Fixed errors with JavaScript openpopup and help icon popups 2010-05-04 08:29:05 +00:00
Rossiani Wijaya
36282d8545 MDL-22067 - modify help popup functionality to use overlay. 2010-05-03 08:44:34 +00:00
Sam Hemelryk
ffca6f4be7 navigation MDL-22173 Separators are now written inside the LI elements of the node they relate to. 2010-04-27 05:19:32 +00:00
Sam Hemelryk
6c721bbfed navigation MDL-22173 Fixed XHTML issue with navbar, and removed redundant ul's from nodes without children 2010-04-27 02:01:38 +00:00
Andrew Davis
d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Sam Hemelryk
493a48f3d6 navigation MDL-22072 Icons are no longer shown on the navigation bar by default. 2010-04-23 04:21:33 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Sam Hemelryk
ee8df661dc themes MDL-21489 Added support for a legacy theme used with old browsers. Thanks Brendan for the patch
Admin can now select a theme for modern browsers and old browsers, the user then sees the modern theme with modern browsers and legacy theme with old browsers. Currenlty IE6 (or less) are considered old browsers.
2010-04-21 04:21:53 +00:00