tjhunt
bed9cec80b
define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.
...
* Move the show/hide advanced button a bit down the page.
* Improve save button caption when creating a role.
* Don't show defaults on the basic define roles screen.
* Explain the background shading on the advanced roels screen.
* Fix the problem with the risks link to Moodle docs.
* Help icon by the permissions column heading.
* Tables with rotated <th>s, make them vertical-align: bottom.
* Rename explain.php and explainhascapability.php to check.php and explain.php
* Tool tips on the number headers in the explain table.
* Explain table - role names were missing.
* Allow link_to_popup_window to work with full URLs.
2008-11-20 09:57:20 +00:00
tjhunt
e7b7583cc3
user selection: MDL-17073 add options to control the search in a collapsible region - Fix IE layout glitch.
2008-11-04 09:14:03 +00:00
tjhunt
c679952e09
weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - minor layout improvements for IE.
2008-11-04 07:22:23 +00:00
tjhunt
904998d8f9
user selection: MDL-17073 add options to control the search in a collapsible region.
2008-11-04 05:12:12 +00:00
tjhunt
c9f8e118c9
user selection: MDL-17072 Polishing the role assign page:
...
* Make the role being assigned clear in the title
* Make the options in the middle of the page be in a collapsable options section, collapsed by default.
* Put them in a smaller font too.
* Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.
2008-11-03 06:06:08 +00:00
tjhunt
f2eb500238
weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference.
2008-11-03 05:04:23 +00:00
tjhunt
3b0bf2e4dd
ajax: MDL-17086 Add a CSS class name to <body> when JavaScript is enabled
2008-10-31 08:45:35 +00:00
tjhunt
bd1884fe6b
ajax: MDL-17084 provide a way for JavaScript to update user preferences.
2008-10-31 08:25:19 +00:00
tjhunt
740939ec61
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.
2008-09-25 10:07:11 +00:00
tjhunt
1bab4e784d
Delete code that has been commented out for over 18 months.
2008-09-25 03:43:57 +00:00
tjhunt
77241d9bd1
MDL-16671 - Move openpopup out of javascript.php and in to javascript-static.js
2008-09-25 03:14:24 +00:00
tjhunt
c849ed1e1e
MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor.
2008-09-24 09:32:46 +00:00
tjhunt
cd350b538f
MDL-16202 formslib show/hide advanced button does not work with strict XML headers
2008-08-28 07:52:09 +00:00
nfreear
c076f4beef
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.
2007-12-18 17:18:19 +00:00
whchuang
4ea054ec24
Fixed MDL-10506. Hide/Show Advanced text does not toggle in IE and Safari when edit profile.
2007-10-23 22:29:04 +00:00
urs_hunkler
d63ef3b83b
MDL-10408 - added checks for propertyIsEnumerable for MooTools compatibility
2007-08-05 12:15:27 +00:00
jamiesensei
c0056e2227
fix for MDL-10440 IE7 and IE6 on win xp error when changing "disable" state of "Start date"
2007-07-13 08:14:37 +00:00
skodak
4bc2486747
MDL-10382 adding some more checks to prevent JS errors when hardFreezing elements with disabledIf conditions
2007-07-12 09:17:55 +00:00
sam_marshall
7470d6de7a
MDL-10249 Created addonload JavaScript function that can be used to add onload handlers, instead of using <body onload> which breaks things.
2007-06-25 14:38:02 +00:00
poltawski
9f439b177d
MDL-9742 Replaced stray tabs with spaces
2007-05-08 16:25:18 +00:00
skodak
54bb33eb10
MDL-9652 rename new password reveal to unmask
2007-04-30 18:03:19 +00:00
skodak
eba8cd63b4
MDL-9588 Addd password reveal class to admin settings forms
2007-04-26 07:08:12 +00:00
skodak
239ade458c
MDL-9239 New fromslib password element with reveal option; merged from MOODLE_18_STABLE
2007-04-06 14:18:02 +00:00
jamiesensei
632b88d5a2
see MDL-8886.
...
fixes bug that meant :
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 0);
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 3);
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 4);
didn't work.
2007-04-06 06:01:11 +00:00
skodak
ef4d42fd9e
Added patch from Mark for MDL-9083; merged from MOODLE_18_STABLE
2007-03-30 21:15:39 +00:00
jamiesensei
9bf930bd07
fix related to MDL-8282 - "show advanced" button doesn't work under IE7
2007-01-30 07:45:15 +00:00
stronk7
83c9a8a29a
Modified a bit the child iterator that wasn't working under Safari.
...
Tested with FF and Safari. Needs test with IE.
2007-01-24 19:39:59 +00:00
tjhunt
bb006c95cc
Fix broken JS.
2007-01-18 12:55:46 +00:00
skodak
74d15d359d
fixed function of advanced button in formslib - you had to click it twice initially
2007-01-12 10:48:11 +00:00
skodak
dd07bbac59
MDL-8157 improved hadling of conditions in disabledIf formslib method
2007-01-12 09:38:02 +00:00
jamiesensei
271ffe3f25
various formslib work including bug fixes for MDL-8039 id attribute collision between forms and page ids. Also added editor helpbutton. This is a fix for MDL-6941 need the ability to associate several helptopics with htmleditor. Also started on converting forms for question types to formslib.
2007-01-07 12:46:47 +00:00
skodak
d2ce367fb9
MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)
2007-01-06 19:22:58 +00:00
jamiesensei
f07b9627b6
changes to how we generate the id attribute of forms and the naming convention of forms
...
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
jamiesensei
a23f0aaf95
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
...
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
2006-12-19 07:03:08 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
vyshane
122223e8ab
Fix for MDL-7493.
...
We basically replace the plus and minus hide buttons when the elementToggleHide javascript function is called.
2006-12-11 07:10:07 +00:00
jamiesensei
19110c573d
added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
...
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei
2dbd640932
some fixes for disabledIf and using disabledIf in course/edit_form.php
2006-11-28 08:04:00 +00:00
jamiesensei
e24b7f851a
some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API
2006-11-24 06:39:15 +00:00
jamiesensei
d01a38cb06
*** empty log message ***
2006-11-22 08:53:35 +00:00
jamiesensei
9c03bbaa04
more fixes for lockoptions behaviour; changes to forum/mod_form.php; removed forum/mod.html
2006-11-21 11:02:13 +00:00
jamiesensei
50ef8eb9bd
adding lockoptions functionality to formslib library and added lockoptionsall() function which allows multiple dependencies for one dependent element and handles that properly.
2006-11-21 09:17:46 +00:00
sam_marshall
027d048574
Update to static JS - 'hitem' hidden fields now optional for lockoptions.
2006-09-20 15:04:57 +00:00
toyomoyo
bee40515da
fix for 5216
2006-04-21 05:17:08 +00:00
vyshane
d13c59383a
Added javascript function insertAtCursor()
2006-03-14 05:26:40 +00:00
moodler
b48fd7b59a
added function popupchecker to help checking with popup blockers
2005-11-09 02:18:50 +00:00
patrickslee
8ceb09e0d6
Wrong parameter order in function definition (merged from MOODLE_15_STABLE)
2005-08-24 23:08:54 +00:00
defacer
e7beac8992
Removing dead code.
2005-05-12 14:46:16 +00:00
defacer
7979105c62
If Javascript is enabled, make IE fix the block sizes after the page loads
...
so that it's not a mess to look at.
2005-05-12 14:45:16 +00:00
moodler
47aa42e211
Re-arranged static Javascript a bit
2005-04-16 12:30:48 +00:00