Commit graph

1273 commits

Author SHA1 Message Date
stronk7
caec4b6f4e MDL-17331 choose_from_menu(): 'select' selector added always. 2008-11-20 19:04:23 +00:00
stronk7
6fba0b5cc7 MDL-17331 choose_from_menu(): Add 'select' selector too. 2008-11-20 13:28:25 +00:00
stronk7
d7074a5d0e MDL-17331 choose_from_menu(): Add "class" optional parameter. 2008-11-20 13:25:04 +00:00
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
fa583f5f6e quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.

The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.

Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.

There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.
2008-11-20 06:59:11 +00:00
tjhunt
692103a2a5 Let any table have rotated text in its headers. Stolen from sam's activity completion report. 2008-11-18 10:17:27 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
faf75fe715 role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.
Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets

MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.
2008-11-05 08:17:30 +00:00
skodak
c23b0ea11b MDL-17129 dml: implemented exceptions in new drivers, yay! 2008-11-04 23:07:14 +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
67c8a3e870 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
tjhunt
512c5901fe weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before. 2008-11-03 05:27:10 +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
8bb8a8b43c print_table: allow headings to span multiple columns. 2008-10-30 04:20:03 +00:00
tjhunt
e4749fcc08 Make developer debug mode available to JavaScript. 2008-10-29 08:17:18 +00:00
arborrow
45c31ab3dd MDL-16939 - adding check type exists to avoid PHP notice in build_navigation function; merged from MOODLE_19_STABLE 2008-10-20 17:56:11 +00:00
jerome
f86eb734ee MDL-15800: clean filelib.php, fix https image link into the edit profil page (weblib.php), merged from 19 2008-10-07 02:26:47 +00:00
skodak
d6094653ef MDL-14696 Option to unenrol user from course when assigned to a role at a higher context; merged from MOODLE_19_STABLE 2008-10-06 09:29:26 +00:00
tjhunt
949cf26cc2 Fix comment. 2008-09-28 08:21:58 +00:00
tjhunt
2930500104 MDL-16706 - eliminate miscellaneous inine JavaScript
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.
2008-09-26 10:49:31 +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
4225e68f88 MDL-16676 Developer debug warning if you refer to the old text.html help file. 2008-09-25 07:13:46 +00:00
tjhunt
e874af28ce MDL-16583 Make require_js accept library names like lib/javascript-static.js without the caller having to fiddle around with $CFG->wwwroot themselves. 2008-09-25 06:29:28 +00:00
tjhunt
830c58b7e3 MDL-16672 Output a standard set of config variables into JavaScript on every page. 2008-09-25 03:11:33 +00:00
skodak
3c24a39108 MDL-15810 whitelist _blank target in htmlpurifier cleaning; merged from MOODLE_19_STABLE 2008-09-24 21:39:47 +00:00
skodak
2fd0e9fe58 MDL-16644 removing striplsahses() and friends 2008-09-23 21:09:46 +00:00
skodak
53b20fe35a MDL-16637 removing obsoleted spellchecker support 2008-09-23 15:12:07 +00:00
skodak
293c2041ee MDL-16628 editortogglebutton removed 2008-09-23 14:53:21 +00:00
skodak
7da51bfdc3 MDL-16627 removing obsoleted HTMLArea 2008-09-23 14:51:55 +00:00
tjhunt
bef45cd3fd MDL-16630 - Change admintree JavaScript to move the code out of the page, and into a separate .js file 2008-09-23 09:59:18 +00:00
tjhunt
aa41944f23 Commit the print_js_config, so people can see it as the read http://moodle.org/mod/forum/discuss.php?d=106312 2008-09-19 13:37:33 +00:00
tjhunt
78b5eb25c8 New function to make it easy when you just want to call one JavaScript function, so you don't have to worry about constructing the script tag yourself. I did this in the context of MDL-12391, but I think it is generally userful. 2008-09-19 04:51:47 +00:00
tjhunt
829eabfec2 New option on close_window_button to reload the page that opened this pop-up, as the pop-up is closed. Needed in preparation for MDL-16334. 2008-09-18 07:34:45 +00:00
dongsheng
fda7529b7f "MDL-14706, comment value check code to make progress bar work" 2008-09-17 07:02:08 +00:00
moodler
56dae0a227 MDL-16473 Merged style fix for user pics from 1.9 2008-09-12 06:56:11 +00:00
tjhunt
4b600aa005 MDL-16410 Implement the delete question type functionality on the question type administration screen. 2008-09-11 11:01:20 +00:00
tjhunt
1ea118e4bd MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden. 2008-09-08 07:01:41 +00:00
skodak
5ca18631bc MDL-16029 removing recently added support for $extralocation from print_error(), thanks TIm for pointing out this is not the recommended way anymore 2008-09-02 06:03:37 +00:00
skodak
c018fde2df MDL-16029 Added $extralocations in the function print_error; merged from MOODLE_19_STABLE 2008-09-01 15:31:09 +00:00
skodak
7089931743 MDL-16292 print_error not backwards compatible with error(get_string('xx', 'moodle')); merged from MOODLE_19_STABLE 2008-09-01 14:54:57 +00:00
tjhunt
57f43d239a Make comment clearer. 2008-08-29 10:04:15 +00:00
scyrma
88c8d16194 MDL-14741: clean up some old code. This needs to be confirmed backward-compatible. 2008-08-29 09:54:44 +00:00
jerome
49a1ce1957 MDL-13766: refactor all libary functions, they now all start with repository_ 2008-08-28 05:13:13 +00:00
thepurpleblob
8de7c5e4bc Curse you CVS!!! Didn't notice strange merge error. 2008-08-27 10:27:39 +00:00
thepurpleblob
549c2dd2f6 MDL-16221
The height and width are now included in the user's image.
2008-08-27 10:24:48 +00:00
skodak
90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +00:00
dongsheng
d373f63f9b MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service
2008-08-20 02:52:29 +00:00
scyrma
ffadf71ba8 MDL-16036: make the default value in popup_form "selected" 2008-08-18 06:40:41 +00:00