Commit graph

237 commits

Author SHA1 Message Date
Sam Hemelryk
cbb54cce78 blocks MDL-23836 Converted the block_hider code to make use of YUI3 2010-08-17 08:31:20 +00:00
Andrew Davis
66c34e9cf4 rating MDL-23805 reworked the logic around displaying rating aggregates to make it clearer 2010-08-17 03:42:41 +00:00
Petr Skoda
eb5bdb3510 MDL-23797 improved detection of PAGE->context abuse andproblems; fixed incorrect use of this->context instead of this->_context; missing PAGE->context does not throw fatal error any more 2010-08-16 19:11:21 +00:00
David Mudrak
cb616be854 MDL-21695 Making old_help_icon() deprecated
Some of the callers have never been fully implemented (help file never existed)
so I just dropped the help icon. In other cases, new help_icon() is
used. The help icons support in the messaging must be reviewed by the
subsystem maintainer.
2010-08-16 15:29:46 +00:00
Petr Skoda
bce08d9a37 MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload 2010-08-10 08:50:08 +00:00
Andrew Davis
9f60f914d8 rating MDL-23586 added intelligent handling if the user configures ratings in a non-sensical way. 2010-08-09 08:42:19 +00:00
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