261 Commits

Author SHA1 Message Date
Petr Skoda
2778744bf9 MDL-20051 removing login links from login page 2010-10-16 17:43:04 +00:00
Petr Skoda
fb0f16a7c8 MDL-24650 xhtml strict fix of hidden "Go" buttons 2010-10-13 17:32:33 +00:00
Andrew Davis
42c32efdf2 rating MDLSITE-1028 when no ratings have been submitted the aggregate is now output as an empty string rather than a hyphen 2010-10-13 06:05:13 +00:00
Andrew Davis
68bf577bdf rating MDL-24513 made help_icon_scale() flip the scale id so that a database look up will work 2010-10-11 06:23:03 +00:00
Rossiani Wijaya
29cf6631d8 MDL-20034: add title attribute to user profile (image tag). 2010-10-11 05:46:58 +00:00
jerome mouneyrac
010e02b46d outpurenderer MDL-24560 $OUTPUT->doc_link() support icon only (no link text) but trigger warning and wrong xhtml_strict code => fixed 2010-10-07 04:04:38 +00:00
Sam Hemelryk
c6de9cefc5 ratings MDLSITE-1028 Added additional structure to the ratings renderer output 2010-10-06 05:50:45 +00:00
Dongsheng Cai
831399c404 MDL-24497, hide message when maxbytes option is not explicit defined in moodle form 2010-10-04 10:03:52 +00:00
Dongsheng Cai
513aed3cf9 MDL-24497, fixed maxbytes in user editing form 2010-10-04 03:09:58 +00:00
Dongsheng Cai
26c137b19c MDL-23693, filepicker form element change <button> to <input type="button" /> 2010-10-01 11:09:21 +00:00
Dongsheng Cai
b817205bec MDL-24382, fixed display of file size limit in filepicker 2010-09-30 03:36:38 +00:00
Anthony Borrow
eb5570025f MDL-24224 fixing one more typo 2010-09-19 19:09:48 +00:00
Petr Skoda
5eef02f8f1 MDL-24224 fixed more 'mod_form' typos, thanks Anthony! 2010-09-19 16:06:39 +00:00
Petr Skoda
2343f963da removed undefined function call 2010-09-18 11:18:06 +00:00
Petr Skoda
79beb849bd fixed json error reporting problem 2010-09-17 08:02:32 +00:00
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