Commit graph

570 commits

Author SHA1 Message Date
Sam Hemelryk
83da094204 NOBUG: Removed unused variable 2010-12-06 03:21:01 +00:00
Sam Hemelryk
2138d893f8 output MDL-25445 Corrected standard_end_of_body_html, returns rather than echoes now as suggested by docs and use. Kudos Urs for spotting. 2010-12-01 06:04:05 +00:00
Sam Marshall
15e48a1a49 Forum MDL-25170 Discussion move feature should have button so you don't do it by accident (again) 2010-11-15 10:41:26 +00:00
Petr Skoda
6bd8d7e737 NOBUG fixed infinite loop when zlib compression enabled revisited 2010-11-05 08:44:51 +00:00
Petr Skoda
2cadd443df NOBUG fixed infinite loop when zlib compression enabled 2010-11-05 08:32:36 +00:00
Petr Skoda
2b27ae7274 MDL-24878 fixed missing returns in cli fatal_error rendering 2010-10-27 07:48:19 +00:00
Sam Hemelryk
f2a04fc197 list-blocks MDL-24517 Altered class on list block contents so that bullet points aren't added (1.9 functionality) 2010-10-25 07:32:51 +00:00
jerome mouneyrac
ba5c144c0b image gallery MDL-24773 remove YUI 3 external lightbox module 2010-10-25 06:00:14 +00:00
David Mudrak
d63c507370 MDL-24777 new renderable component pix_emoticon 2010-10-23 18:39:23 +00:00
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