208 Commits

Author SHA1 Message Date
Rossiani Wijaya
87955a2d38 removing commented line. 2010-05-03 10:05:59 +00:00
Rossiani Wijaya
36282d8545 MDL-22067 - modify help popup functionality to use overlay. 2010-05-03 08:44:34 +00:00
David Mudrak
ff95caa8e9 MDL-21695 Display the help title in the popup, more docs on new addHelpButton() 2010-04-30 09:57:32 +00:00
Martin Dougiamas
5435c9dcc4 help strings MDL-21695 changed _hlp to _help and fixed help.php to format those strings properly 2010-04-23 07:46:35 +00:00
Petr Skoda
259c165d7a MDL-21695 new help api 2010-04-13 21:51:49 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda
b65d2720b2 MDL-21695 disabling useless debugging 2010-04-11 14:57:59 +00:00
Petr Skoda
0a933ae65d MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
2010-04-10 17:44:05 +00:00
Petr Skoda
53a78cef28 MDL-21695 help files replaced by standard strings - basic infrastructure in place, no strings converted yet 2010-04-10 09:10:08 +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
6ea66ff36c MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api 2010-01-17 09:06:55 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Dongsheng Cai
c07b5ad416 "MDL-21154, fixed undefined index error in bulk_user operation page" 2009-12-18 07:42:54 +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
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
jerome mouneyrac
09179b789b webservice MDL-17135 create searchable select form element + use it in service form for selecting a capability 2009-11-05 07:06:09 +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
David Mudrak
0524b1d98e MDL-20623 formslib: fixed multiple forms freezing
The singleton MoodleQuickForm_Renderer's property $this->_formTemplate
was set during the first frozen form display at a page and
such a frozen template remained for all other forms, too. This fix
returns the default form template for non-frozen forms.
2009-10-26 21:16:55 +00:00
dongsheng
1a03384f5e "MDL-20470, rename formslib element name and add an option to turn the picker button on/off" 2009-10-13 08:31:50 +00:00
dongsheng
724e7ee6ac "MDL-20470, add a texturl element, which can use filepicker to choose a url" 2009-10-07 05:23:36 +00:00
skodak
d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +00:00
nicolasconnault
642816a60c MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:50 +00:00
tjhunt
afd63fe509 formslib: use abstract, rather than a print_error, now we have PHP5. 2009-07-16 10:38:15 +00:00
skodak
66491cf130 MDL-19415 fixing deprecated use of contructors 2009-07-02 14:58:41 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
c8873c496b MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
dongsheng
96705c332a "MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix" 2009-07-01 04:11:52 +00:00
samhemelryk
fc4f5796cc formslib MDL-19626 Changed JS string handling to new $PAGE methods, Thanks Dan 2009-06-29 02:10:49 +00:00
samhemelryk
9262d2d30f formslib MDL-19626 Fixed broken show/hide advanced button
Updated formslib showadvanced inline JS to use new $PAGE methods
and replaced inline noscript with css handled display
2009-06-29 01:58:11 +00:00
tjhunt
c28bf5c9f8 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup.

More to follow.
2009-06-15 05:37:57 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
mjollnir_
6bba6dbbee MDL-18405 formslib: split is_validated into two separate functions for more flexibility for callers to override the default behaviour. Merged from MOODLE_19_STABLE 2009-06-02 10:39:21 +00:00
samhemelryk
ba21c9d440 lib MDL-19236 added phpdocs and copyrights 2009-05-25 08:27:25 +00:00
skodak
b1ba4d22bf MDL-16592 fixed link to nonexistent css, probably caused by recent YUI update 2009-05-17 19:12:46 +00:00
tjhunt
832e13f144 editor formslib element: symbolic constant EDITOR_UNLIMITED_FILES instead of hard-coded -1. 2009-03-30 10:01:39 +00:00
tjhunt
414f7bee6b formslib: MDL-15827 disabledif option to repeat_elements did not work if you depend on another repeated element.
Patch thanks to Matthieu Nué.
2009-03-18 07:08:18 +00:00
tjhunt
8e7cebb0d8 formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
2009-03-13 09:56:53 +00:00
tjhunt
32fa227255 duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes
This will be a formslib element for entering a time duration, like a quiz time limit. A better version to follow.
2009-03-10 06:46:34 +00:00
tjhunt
9f1c9dfce5 formslib / tags: MDL-17889 a new formslib field type for editing a list of tags.
Not yet used anywhere. That can wait until tomorrow.
2009-01-15 09:24:45 +00:00
tjhunt
c583482c35 formslib: Sort list of field types, to make it easier to manage. 2009-01-14 09:58:12 +00:00
tjhunt
5138f9623d Remove unnecessary extra $Id$ tag. It messes up the unmerged files list, and makes merging extra difficult. 2008-12-01 07:09:37 +00:00
tjhunt
1327f08eed formslib file upload: MDL-17403 try adding accept-charset="utf-8" to forms to fix occasional upload problems. 2008-11-27 02:49:02 +00:00
skodak
241431cdcc MDL-16596 areafiles element renamed to "filemanager" 2008-11-19 20:27:18 +00:00
skodak
cefe1408a2 MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet 2008-11-19 20:02:02 +00:00
nicolasconnault
ba1891d290 MDL-16962 New formslib element for dropdowns with a link to another page. Applied to outcome item and outcome edit pages. Merged from MOODLE_19_STABLE 2008-10-22 09:31:49 +00:00
skodak
cc44433620 MDL-16839 forms: workaround for problematic hard frozen values; merged from MOODLE_19_STABLE 2008-10-13 19:39:27 +00:00
jamiesensei
985f0ddd20 MDL-16842 "Adding group of elements in function lib/formslib.php/repeat_elements() not working correctly" Fixed using fullclone instead of clone now. Merged from 1.9 stable. 2008-10-13 11:52:35 +00:00
tjhunt
3493eb1591 Fix whitespace. 2008-09-26 07:24:31 +00:00
skodak
f6ac3e0a3d readding uploadlib for now 2008-09-23 14:45:58 +00:00
skodak
a83ad94625 MDL-16596 support for total maxbytes per draft area - proper server-side validation still missing; some minor refactoring 2008-09-21 21:29:41 +00:00