Shamim Rezaie
536d4d5729
MDL-61557 Lib: Add get_top_level_parent_id function
2018-03-05 13:34:08 +11:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Nadav Kavalerchik
1b04d0f918
MDL-35246 - Invert all action arrows in Question Bank categories management, when in RTL mode
2012-09-22 21:42:12 +03:00
Tim Hunt
20d891228f
MDL-24256 question category editing was messed up.
...
The unerlying problem seemed to be too many uses of pass-by-reference in listlib, where it was not necessary.
In investigating this code, I ended up doing a fair bit of cleaning up. Apologies that it leads to an unclear changeset.
2010-11-02 18:38:50 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +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
Petr Skoda
e4361ed601
MDL-19698 deprecated assign new by ref in our libs
2010-07-19 08:31:00 +00:00
Petr Skoda
8afba50b84
MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings
2010-01-17 10:54:13 +00:00
Petr Skoda
b9bc201962
MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!)
2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f
MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead
2010-01-17 09:37:30 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
nicolasconnault
e42f153c33
MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p
2009-07-31 09:30:11 +00:00
tjhunt
a28c92539e
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:38:41 +00:00
samhemelryk
ce02a9bf94
lib MDL-19236 Added boilerplates and copyrights
2009-05-26 02:46:09 +00:00
tjhunt
c65921d422
Question categories. Move code to a more appropriate place.
2009-03-05 04:19:33 +00:00
tjhunt
004ff192d4
listlib: MDL-17422 Paging in listlib was badly screwed
2008-11-27 10:53:46 +00:00
tjhunt
4f8190a59f
listlib: off-by-one error. I found this while preparing my Brisbane MoodleMoot demo. It was causing notices on the question bank page, or something like that.
2008-10-23 09:04:52 +00:00
skodak
d9cde0edeb
MDL-15094 towards full dml conversion
2008-06-09 12:02:20 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
jamiesensei
f6ea3132c1
small commenting change
2007-08-15 11:08:37 +00:00
jamiesensei
20c55233c3
small change to make icons easier to override in child classes.
2007-06-29 14:19:22 +00:00
jamiesensei
d65cb30f63
reverting last commit "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&'. & breaks redirect on IE." It turned out to be unnecessary.
2007-05-29 06:14:09 +00:00
jamiesensei
099f7fb6ca
added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&'. & breaks redirect on IE.
2007-05-28 14:25:40 +00:00
jamiesensei
bdc66c2a5d
fix for category.php lists. Slight change in listlib api caused breakage.
2007-05-25 04:59:17 +00:00
jamiesensei
b0bc5219d8
some changes to listlib to make it possible to chain the paging of several lists together that are displayed on the same page, so that paging can work across several lists
2007-05-20 13:59:58 +00:00
jamiesensei
850e85b7b2
some changes to make it easier to override editing icons in child classes and to make several lists work well with each other on the same page.
2007-05-11 22:22:14 +00:00
jamiesensei
986effb653
pass the category list page param from page to page in question bank editing pages.
2007-05-07 05:53:20 +00:00
jamiesensei
400edee1ec
always make sure that page param is in the pageurl
2007-05-07 05:30:06 +00:00
jamiesensei
81be5cdec3
added argument to constructor to specify the name of the page parameter used to pass the page no of the list. Default to 'page'
2007-05-07 05:25:44 +00:00
jamiesensei
0d32a25dd5
oops. small mistake with copyright notice.
2007-04-27 05:36:03 +00:00
jamiesensei
dac786f300
MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists.
2007-04-19 08:57:54 +00:00