David Mudrak
2064cbaa0f
MDL-21694 Moving quiz language files into plugin scope
2010-03-29 15:22:08 +00:00
Sam Hemelryk
90723839ca
themes MDL-21862 Implements base theme and standard theme.
...
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
* Plugin CSS has been pushed back into the plugin directories as styles.css files.
* Install_print_header has been corrected.
* Redundant or deprecated rules have been removed.
* Several minor class changes throughout Moodle.
* CSS is now single line rules not multiline indented.
* Installs with theme=standardold automatically switch to standard.
* body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
* There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
* I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Sam Hemelryk
0b29477be9
navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
...
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Tim Hunt
990650f94c
quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.
...
This was implemented by Matt Petro of the University of Wisconsin - Madison Engineering
School and Math Department. Many thanks. Reviewed by and committed by Tim Hunt.
This adds a new Overrides tab to the UI, with sub-tabs Group overrides and User overrides.
Each of those lists all the overrides that currently exist, and lets you manage them and
create more.
When a quiz is being attempted, the override that applies to the current user is combined
with the current quiz settings loaded from the quiz table (normally called $quiz).
If there are both user and group overrides, then just the specific user override is used (more specific).
If the user is in several groups, then the overrides are combined to give the most permissive set of options.
There is one new database table quiz_overrides, to store the overrides.
2010-03-08 16:01:38 +00:00
Tim Hunt
cdede6fbfe
quiz: MDL-21404 Fix Petr's screw-up when converting to js_writer.
2010-03-08 15:32:45 +00:00
Petr Skoda
45c6bf6c89
MDL-21723 fixed rression, thanks Ben Dailey
2010-02-25 07:48:57 +00:00
Tim Hunt
43012b8f86
Quiz statistics report - MDL-20550 - SQL error when trying to insert NaN in the DB on Postgres.
...
Thanks to Derek Woolhead for the fix.
2010-02-22 17:04:30 +00:00
Petr Skoda
f9fc1461ba
MDL-21590 fixed recent regression in nav icons - now using new pix_icon instead of urls, have to rework extra icon handling in resources though
2010-02-14 09:29:44 +00:00
Petr Skoda
9bf163146b
MDL-20204 more html_link converstions
2010-02-11 18:50:55 +00:00
Petr Skoda
000c278cff
MDL-20204 new pix_icon renderable widget
2010-02-11 14:59:00 +00:00
Petr Skoda
4aea3cc7cd
MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout
2010-02-11 13:27:02 +00:00
Petr Skoda
d9df2a8993
MDL-20204 fixed regression
2010-02-11 10:24:59 +00:00
Petr Skoda
3224f709d7
MDL-20204 selects conversion
2010-02-11 10:03:28 +00:00
Petr Skoda
54aa3239c7
MDL-20204 fixed regression from button conversion
2010-02-10 11:35:54 +00:00
Petr Skoda
f8dab96615
MDL-20204 a lot more steps away from html_select
2010-02-10 09:37:50 +00:00
Petr Skoda
60409fe103
MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them)
2010-02-06 14:09:33 +00:00
Sam Hemelryk
1a14a14bc6
mod-quiz MDL-15050 Fixed regression missing global OUTPUT
2010-01-28 07:57:48 +00:00
Petr Skoda
6c772bcbf2
MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead
2010-01-26 09:36:00 +00:00
Petr Skoda
227255b802
MDL-21402 new js_writer abstraction + otehr minor improvements
2010-01-20 20:01:24 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
8afba50b84
MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings
2010-01-17 10:54:13 +00:00
Petr Skoda
b9bc201962
MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!)
2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f
MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead
2010-01-17 09:37:30 +00:00
Petr Skoda
6ea66ff36c
MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api
2010-01-17 09:06:55 +00:00
Petr Skoda
d776d59ee2
MDL-21235 fixed select method name
2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b
MDL-21235 more conversion to new select
2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
3ba60ee16a
MDL-21235 new single button rendering
2010-01-14 19:18:04 +00:00
Petr Skoda
d894edd44d
MDL-21198 new simple_button output component, this could finally solve potential "form x button" confusion
2010-01-03 17:08:21 +00:00
Petr Skoda
5c2ed7e215
MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements
2010-01-03 15:46:14 +00:00
Petr Skoda
4bcc51185c
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
2009-12-30 15:19:55 +00:00
Petr Skoda
812dbaf7d5
MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars
2009-12-27 19:47:21 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
985d1d1d22
MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading
2009-12-25 15:27:47 +00:00
Sam Hemelryk
56115eea49
navigation MDL-21177 Removed erroneous DB queries from module extension calls
2009-12-24 02:06:05 +00:00
Petr Skoda
92e01ab771
MDL-21125 obsoleting global $THEME
2009-12-23 17:44:17 +00:00
Sam Hemelryk
f81a82477d
mod-quiz MDL-19813 converted deprecated calendar event methods
2009-12-23 03:01:36 +00:00
Sam Hemelryk
92059c7ee5
mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it.
2009-12-23 01:57:55 +00:00
Tim Hunt
8ce3e17f80
Correct PHPdoc comment.
2009-12-21 16:39:06 +00:00
Petr Skoda
4454447d56
MDL-20700 whitespace terror returns
2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
47ce714bc0
MDL-21142 minor cleanup in out() default params
2009-12-16 21:33:01 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Andrew Davis
a6ffb8eeb8
quiz MDL-18896 small efficiency improvement
2009-12-16 00:52:57 +00:00
Andrew Davis
496e3ccdd2
quiz MDL-10128 popup checker no longer requests a non-existent file which was causing messages in server logs
2009-12-10 02:29:53 +00:00
Tim Hunt
5ffd1421a5
manual grading: MDL-20581 Fix potential XSS problem.
...
Thanks to Penny for spotting this.
Merged from MOODLE_19_STABLE.
2009-11-19 17:31:41 +00:00
Petr Skoda
7c7d3afab5
MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems"
2009-11-07 10:27:57 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00