Commit graph

1925 commits

Author SHA1 Message Date
Petr Skoda
998ec50ea9 MDL-20204 removing my theme experiment - not working any more and there are other better examples now 2010-04-20 12:43:19 +00:00
Patrick Malley
279fac5089 Fixed header issues 2010-04-20 03:03:08 +00:00
Andrew Davis
f9da5ee0f6 themes MDL-21862 added nonavbar to popup layout 2010-04-19 09:01:40 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Patrick Malley
1cbdc5a33a Continuing work on boxxie theme 2010-04-19 03:50:06 +00:00
Patrick Malley
2d74495c3b Putting navigation styles back in MDL-22108 2010-04-19 01:59:08 +00:00
Sam Hemelryk
f1d12a2fa7 themes MDL-22108 Removed horizontal scroll bars from navigation and settings blocks. Thanks Patrick 2010-04-19 01:39:05 +00:00
Petr Skoda
4399b9d5de MDL-22091 fix for sloppy IE CSS limits hack 2010-04-15 14:43:25 +00:00
Sam Hemelryk
84db3ea2a3 themes MDL-21984 Removed the need to specify the theme name in layouts within its config.php file 2010-04-15 06:37:55 +00:00
Sam Hemelryk
07a14a3b02 themes MDL-22014 Reversal of YUI css property for input widths so that input size attribute is respected. 2010-04-15 04:14:15 +00:00
Tim Hunt
67f1a6966e base theme/questionbank: MDL-20090 Add new question pop-up styling screwed since theme changes. 2010-04-12 13:21:53 +00:00
Patrick Malley
d730eae98b Removed #page-header from CSS selectors for .navbar 2010-04-12 12:20:13 +00:00
Patrick Malley
9159cb3773 Removed navbar from header in general layout 2010-04-12 12:17:58 +00:00
Patrick Malley
c6d7551590 Added additional variables from base to general.php layout. 2010-04-12 12:09:58 +00:00
Dongsheng Cai
7deb5107da MDL-19118, now comments overlay works without yui3 hacks 2010-04-12 06:19:47 +00:00
Patrick Malley
ab3169cfc5 Changed width on coursebox divs and changed .sideblock content margin to .sideblock .content padding 2010-04-12 01:26:00 +00:00
Patrick Malley
4f68869bf6 Building theme 2010-04-12 01:23:55 +00:00
Patrick Malley
f020dd1b6b Adding new layout for Boxxie theme 2010-04-11 18:48:33 +00:00
Patrick Malley
0abd36bf69 Adding a new test theme called Boxxie. It is the new name given to the Greenie theme I created for 1.9. This is my first add commit, so please contact me if I screw something up. 2010-04-11 18:35:26 +00:00
Petr Skoda
e87890ba30 MDL-22054 adding missing anomaly theme plugin name 2010-04-11 13:02:05 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Dongsheng Cai
34e20eb422 "MDL-19118, improve comments management" 2010-03-31 09:53:05 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
David Mudrak
f312fe1a9e MDL-21694 Moving theme strings into plugin space 2010-03-29 22:19:33 +00:00
Dongsheng Cai
d3eb3b2951 "MDL-21170, improve filemanger style" 2010-03-29 07:13:55 +00:00
Dongsheng Cai
c794595d5f "MDL-21943, fixed paging class name" 2010-03-29 05:29:53 +00:00
Dongsheng Cai
b1d124d1df "MDL-21943, remove hard-coded style" 2010-03-29 04:06:13 +00:00
Sam Hemelryk
2c778befcc themes MDL-21862 Removed unwanted border on standard theme's fstatic element from mforms 2010-03-25 08:01:18 +00:00
Sam Hemelryk
83d629cebc themes MDL-21862 Add support into standard theme to resize block regions if there are no blocks due to docking. 2010-03-25 07:46:13 +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
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
Dongsheng Cai
7695110029 "MDL-19118, improve comments block" 2010-03-18 09:42:30 +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
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Sam Hemelryk
25a102a9f2 theme-anomaly MDL-20175 Updated renderer after recent changes 2010-03-04 07:15:55 +00:00
Sam Hemelryk
46de77b6b7 navigation MDL-21543 Moved block docking icons next to the show-hide block icon 2010-02-24 08:12:17 +00:00
Sam Hemelryk
c24895978f group MDL-21533 Replaced overlib usage within Group with YUI3 equivilant JavaScript code 2010-02-24 03:57:36 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
d896fd51ba themes MDL-21589 Added a CSS rule to correct the show advanced buttons in themes the make base their parent rather than standardold 2010-02-18 09:29:39 +00:00
Sam Hemelryk
5f34a2a3d6 theme-anomaly MDL-20175 Fixed regressions after recent block changes 2010-02-18 07:48:22 +00:00
Penny Leach
b257d7c411 mnet MDL-21278 print a list of potential idps on the login page with links
this adds a new contract auth plugin method (implemented as empty in the base class)
2010-02-18 01:30:13 +00:00
Petr Skoda
c09e1a2cb7 MDL-21557 potential fix for IE CSS issues in debug mode 2010-02-08 16:50:12 +00:00
Petr Skoda
baeb20bba3 MDL-21400 thems and JS now using the same script naming convention and parameter style 2010-02-07 13:08:46 +00:00
Petr Skoda
35eafad0ec MDL-21400 fixed borked yui CSS when image contained "_" 2010-02-06 19:41:20 +00:00
Sam Hemelryk
60e1930096 theme-anomaly MDL-20175 Mega theme changes for anomaly
* Changed layout from tables to the 3 divs (2,1,3)
* Cleaned up the all of the images, remade where required with optimised palettes
* Rewrote CSS, this is ongoing process with changes required in both base and anomaly
* Customised the dock to fit with the theme
* Implemented a custom renderer to achieve rounded corners in IE + Opera (CSS otherwise)
2010-02-05 08:38:02 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
jerome mouneyrac
d40fdeba8c webservice MDL-20803 updated the css, kudo to Sam H. Javascript been fixed by other fix. 2010-01-29 05:42:18 +00:00
Petr Skoda
2d65597b6c MDL-21403 removing ->asap() used for flicker-lessremoval of go button, no use .hiddenifjs class instead 2010-01-26 09:32:21 +00:00