Commit Graph

714 Commits

Author SHA1 Message Date
tjhunt e6fb2c603e quiz: MDL-19786 - Un-break the quiz edit page following the OUTPUT changes. 2009-09-21 16:53:45 +00:00
samhemelryk 849185cee9 groups MDL-19559 Just a little pre-tidy up before I clean up the group selection interface 2009-09-21 08:22:52 +00:00
dongsheng 56a7bf6837 " MDL-16597, ajax file manager element" 2009-09-17 08:47:23 +00:00
nicolasconnault 2367726155 MDL-20219 Deleted external blog block, and preferences link from blog_menu block. Placed these as links in settings block instead 2009-09-15 07:57:54 +00:00
nicolasconnault b6bafda83a Fixed table width for "Edit categories and items" table 2009-09-08 03:20:21 +00:00
nicolasconnault cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
samhemelryk 9da1ec271f navigation MDL-14632 Minor tweaking as suggested on this issue.
* Fixed focus on search closing tab
 * Added spacing to refresh/moveto icons
 * Made all text in navigation tree's expandable
 * Final element on navbar no longer a link
2009-08-31 03:58:17 +00:00
samhemelryk 7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
skodak aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
tjhunt 00a24d44f7 blocks: MDL-19893 move blocks on page UI - part 1
This does all the UI. It does not yet update the DB when you click to complete the action.
2009-07-30 08:22:12 +00:00
moodler 4cd85cb1d3 standard/styles MDL-19839 Fixed indenting, tidied up comments CSS and made it a bit more plain for standard 2009-07-28 09:15:23 +00:00
dongsheng 526cf2e7d9 "MDL-19839, resize user picture in comments api" 2009-07-28 08:54:26 +00:00
dongsheng 2bc84518d4 "MDL-19839, limit maxium width of comments block" 2009-07-28 08:19:26 +00:00
dongsheng b26bc253a1 "MDL-19839, use samller user picture, shorter date format, remove cancle button in block, change the position of deteling button" 2009-07-28 07:09:11 +00:00
nicolasconnault f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
dongsheng 1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt d18675a8d7 quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.
Sadly it now requries JavaScript again, at least for best operation.
2009-07-23 09:20:33 +00:00
tjhunt 0f2d2de675 quiz: minor layout improvement. 2009-07-22 09:13:38 +00:00
tjhunt bc422e6955 blocks editing ui: MDL-19398 Make invisible blocks at least partly invisible. 2009-07-15 07:45:48 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
sam_marshall e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
samhemelryk ddbeb7a7ec chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:00:59 +00:00
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
samhemelryk ba458143e3 mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args 2009-06-25 06:29:41 +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
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
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
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
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
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