1005 Commits

Author SHA1 Message Date
samhemelryk
a1b53dcf3f messages MDL-19664 Clean up the messages javascript code
I have cleaned up the message Javascript code, implementing the new PAGE methods
and at the same time implemented the new OUTPUT methods
2009-06-30 08:33:29 +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
ptrkmkl
583011c1f2 MDL-19547: Added CSS selector for .tag_cloud .s0 to styles_fonts.css 2009-06-26 18:14:43 +00:00
tjhunt
34a2777ccb themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
samhemelryk
ba458143e3 mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args 2009-06-25 06:29:41 +00:00
tjhunt
5af6ec1b2e MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
dongsheng
994d4a3be1 "MDL-18971, fix forum unread post highlighting issue, thanks Eric straw's patch, merged from 1.9" 2009-05-25 09:19:27 +00:00
moodler
cf37931b7f theme/standard MDL-19082 Added a margin to standard theme on redirects page (merged from 1.9) 2009-05-08 08:20:44 +00:00
tjhunt
1d00ec6a6a blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course. 2009-05-08 03:11:24 +00:00
dongsheng
ccf84b11bc "MDL-18971, fixed .unread class definition, merged from 1.9" 2009-05-07 05:40:22 +00:00
tjhunt
08eab89703 blocklib: MDL-19010 add block and get_blocks methods 2009-05-06 09:14:42 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
skodak
38a9fc5566 MDL-18930 fixed behaviour of dropdown menu selector in gradebook - the headings are not selectable again like the rest of moodle dropdowns; merged from MOODLE_19_STABLE 2009-04-22 20:54:06 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
nicolasconnault
0000badd05 MDL-17273 Added a back button to the error message and fixed missing handling of "custom" scope. Merged from MOODLE_19_STABLE 2009-04-09 12:29:54 +00:00
rezaie9
88e99d8df9 Improvment in displaying tabs in Safari
Changes applyed by Shamim Rezaie (http://rezaie.info)
2009-04-07 07:25:05 +00:00
rezaie9
9847966074 Fixing:
- alignment of review options headers in quiz module
- inappropriate margin for navbar
- tabs problem (MDL-10719)
Changes applyed by Shamim Rezaie (http://rezaie.info)
2009-04-06 22:50:21 +00:00
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
tjhunt
91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
tjhunt
3e10e4292d quiz editing: MDL-17454 first attemtp, and MDL-18554
This is a minimal fix for MDL-18554, I have just added a cancel button and made it work.

The more substantial part of this is MDL-17454, trying to make the quiz editing screen behave appropriately when shuffle questions is on. I am sure Olli will have opinions about this and want to change it further. Rought summary:
* When shufflequestions is off, never restrict manual paging, even if questionsperpage is set.
* When shuffle questions is on:
** Always display the quiz with the defined number of questions per page.
** Remove controls to add things except at the end of the quiz.
** Disable most of the order and paging tab, but still allow the question list to be reordered, in case that helps teachers track which questions they have added.
** Still allow questions to be reordered on the edit tab, but when moving the top question on a page up, reorder with the previous question, rather than moving to the previous page.
* Change the status bar, so that the yellow highlight is reserved for alert information. The more informative stuff is now plain, and moved to under the title. To my mind that associates it more closely with the quiz name. Also it moves Total of grades and Maximum grade closer together.
* JavaScript cleaned up. I learn more about YUI every day.
* Some PHP code clean ups that I forgot to commit separately before making substantive changes.
2009-03-17 09:51:34 +00:00
tjhunt
b4a33c4ba6 formslib dates: MDL-16592 Forgot to commit these stylesheet changes. 2009-03-17 07:15:51 +00:00
tjhunt
c34760f93c Whitespace fix. 2009-03-17 07:14:14 +00:00
pilpi
3419d39f8b quiz editing: MDL-18556 In quiz reordering tab, eye fails to group questions/pages correctly
Changed the coloring, margins and paddings slightly to enhance grouping.
2009-03-13 15:47:08 +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
692e0c3395 MDL-18521 Countdown timer should be visible on the summary page 2009-03-11 07:10:57 +00:00
dongsheng
1b25f19692 "FILE_MANAGER, REPOSITORY/MDL-16597, remove padding in file listing" 2009-03-10 07:31:14 +00:00
mjollnir_
6fe538efdb MDL-18462 theme: consistency in css for incorrect questions (merged from MOODLE_19_STABLE)
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: MOODLE_19_STABLE
CVS: 	theme/standard/styles_color.css
CVS: ----------------------------------------------------------------------
2009-03-09 09:25:09 +00:00
rezaie9
874807f098 Improvements in:
- alignment of survey questions
- removing horizontal scrollbar from lessons
- online users block
- navigation menu direction
- displaying names in grading report
Changes applyed by Shamim Rezaie (http://rezaie.info)
2009-03-05 21:04:06 +00:00
tjhunt
af52eceef4 qtype admin: MDL-18425 also related to MDL-18355.
Allow question types  to be displayed in order that is better than random or alphabetical. Since we don't know all the qtypes there may be:
1. Store the order in the DB (config plugins).
2. Set up a good default order for the standard types. (Unknown types go at the end by default.)
3. Allow admins to edit the order on the qtype admin screen.
2009-03-03 07:47:32 +00:00
tjhunt
7f92f0ad39 quiz editing: MDL-18355 further refinements to the UI. 2009-03-03 05:13:53 +00:00
nicolasconnault
34f0062766 MDL-18004 Fixed problem of duplicate entries in the drop-down 2009-02-27 15:38:34 +00:00
nicolasconnault
7981d537da MDL-18004 Fixed problem of duplicate entries in the drop-down 2009-02-27 15:25:05 +00:00
tjhunt
944efb3e8b quiz editing: MDL-18376 Since there is no grading for description, we can show more question text. Thanks Olli. 2009-02-26 06:51:35 +00:00
tjhunt
b974f94757 quiz editing: MDL-18355 Try to improve the discoverability of Description again. 2009-02-26 06:33:18 +00:00
tjhunt
7cf3af550c quiz editing: MDL-18355 further refinements to the UI. Thanks Olli. 2009-02-26 05:53:31 +00:00
tjhunt
a781921fd0 question bank: MDL-16412 Allow admins to enable/disable of each question type 2009-02-25 09:31:49 +00:00
tjhunt
8e84d9788c quiz editing: MDL-18173 tidy up wording and add cursor: help. 2009-02-25 07:27:02 +00:00
tjhunt
cd120b2344 quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.
That allows us to have a few sentences explanation of each question type, and is also easier to fit into a tight layout.

This commit should also fix MDL-18214 Layout screwed in Safari with long category names.
2009-02-25 07:14:03 +00:00
tjhunt
b5f2275111 upgrade: Make the environment page a bit less rediculously long. I still can't make it fit on one screen. 2009-02-23 02:59:34 +00:00
dongsheng
e47d5adef3 "FILTER/MDL-18230, remove hardcoded style for TeX formulas image, merged from 1.9" 2009-02-16 03:10:01 +00:00
skodak
828b6d1067 MDL-18040 adding warning that the security report processing may take a long time 2009-01-27 16:21:56 +00:00
tjhunt
692d0480e0 question bank: MDL-16345 minor pritification. 2009-01-23 07:29:12 +00:00
tjhunt
b7a9dc5193 question bank: MDL-17992 and MDL-17397. Put back questiontext as a separate row option, and increase consistenscy between stand-alone qbank and the display in the quiz editing page. 2009-01-23 05:01:37 +00:00
tjhunt
e4d1d5e010 question bank: MDL-17871 finish refactor of code into one class per column.
Needs tidying up, but basically there, so checking it in.
2009-01-22 09:19:37 +00:00
pilpi
c79d9bc662 quiz editing: MDL-17977 show content of the random question -link always visible 2009-01-20 20:44:33 +00:00
pilpi
fefb7c9a33 quiz editing: MDL-17334 further space for grading box 2009-01-20 20:41:41 +00:00
moodler
f3a36b620d maintenance mode MDL-15700 Just some little tidyups of the maintenance mode page 2009-01-20 06:01:05 +00:00
dongsheng
9133d4ad58 "FILTER/MDL-17703, use classname instead of inline style, merged from 1.9" 2009-01-19 01:57:02 +00:00
sam_marshall
aab68b7931 MDL-17818: Completion icons are in wrong place with RTL languages 2009-01-15 17:48:45 +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