mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
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'.
This commit is contained in:
parent
5f1ae48d2c
commit
c9f8e118c9
7 changed files with 75 additions and 32 deletions
|
@ -638,11 +638,10 @@ function collapsible_region(id, userpref, strtooltip) {
|
|||
} else {
|
||||
this.icon.src = moodle_cfg.pixpath + '/t/expanded.png';
|
||||
}
|
||||
this.caption.appendChild(this.icon);
|
||||
a.appendChild(this.icon);
|
||||
|
||||
// Hook up the event handler.
|
||||
self = this;
|
||||
YAHOO.util.Event.addListener(this.caption, 'click', function(e) {self.handle_click(e);});
|
||||
YAHOO.util.Event.addListener(a, 'click', function(e) {self.handle_click(e);});
|
||||
}
|
||||
|
||||
|
|
|
@ -5282,8 +5282,8 @@ function get_string($identifier, $module='', $a=NULL, $extralocations=NULL) {
|
|||
|
||||
/// originally these special strings were stored in moodle.php now we are only in langconfig.php
|
||||
$langconfigstrs = array('alphabet', 'backupnameformat', 'decsep', 'firstdayofweek', 'listsep', 'locale',
|
||||
'localewin', 'localewincharset', 'oldcharset',
|
||||
'parentlanguage', 'strftimedate', 'strftimedateshort', 'strftimedatetime',
|
||||
'localewin', 'localewincharset', 'oldcharset', 'parentlanguage',
|
||||
'strftimedate', 'strftimedateshort', 'strftimedatefullshort', 'strftimedatetime',
|
||||
'strftimedaydate', 'strftimedaydatetime', 'strftimedayshort', 'strftimedaytime',
|
||||
'strftimemonthyear', 'strftimerecent', 'strftimerecentfull', 'strftimetime',
|
||||
'thischarset', 'thisdirection', 'thislanguage', 'strftimedatetimeshort');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue