Commit Graph

646 Commits

Author SHA1 Message Date
Petr Skoda e1a5a9cccb fixed spacer regression 2010-09-17 08:01:16 +00:00
Petr Skoda 8f0fe0b8b1 fixed missing global causing regression 2010-09-17 08:00:29 +00:00
Andrew Davis 07f05a04b1 rating MDL-23933 Removed a bunch of no longer used strings and moved rating strings into the rating lang file.
AMOS BEGIN
 MOV [couldnotdeleteratings,mod_forum],[couldnotdeleteratings,core_rating]
 MOV [aggregatenone,mod_forum],[aggregatenone,core_rating]
 MOV [aggregateavg,mod_forum],[aggregateavg,core_rating]
 MOV [aggregatecount,mod_forum],[aggregatecount,core_rating]
 MOV [aggregatemax,mod_forum],[aggregatemax,core_rating]
 MOV [aggregatemin,mod_forum],[aggregatemin,core_rating]
 MOV [aggregatesum,mod_forum],[aggregatesum,core_rating]
AMOS END
2010-09-17 06:32:46 +00:00
Dongsheng Cai fa7f2a4579 MDL-24108, display max file size in filepicker and filemanager 2010-09-07 10:06:57 +00:00
Sam Hemelryk 9f5c39b527 blocks MDL-24002 Split block renderering into several smaller methods, one for each area of a block. 2010-08-30 06:57:05 +00:00
Sam Hemelryk f5c1e62149 navigation MDL-23852 Added is_role_switched method to accesslib and implemented use of it 2010-08-27 01:44:25 +00:00
Petr Skoda b3df176457 MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:56:07 +00:00
Petr Skoda e884f63a0c MDL-23911 login as session can be only terminated by logout, this should improve security on pages where user may enter JS that only he/she can see - such as the /my/index.php 2010-08-24 08:50:53 +00:00
Sam Hemelryk d4c3f025b1 NOBUG: Added a couple of descriptive classes to reused perfinfo class 2010-08-20 07:37:59 +00:00
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