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:
tjhunt 2008-11-03 06:06:08 +00:00
parent 5f1ae48d2c
commit c9f8e118c9
7 changed files with 75 additions and 32 deletions

View file

@ -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);});
}

View file

@ -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');