4164 Commits

Author SHA1 Message Date
stronk7
1d5c40048a Moving set_dbfamily() from dmllib.php to setuplib.php as it's
needed in early stages and we don't want the installer to
depend of dmllib.
2007-01-13 10:44:58 +00:00
moodler
6ba2c73d04 More fixes for the help on required fields 2007-01-13 04:54:44 +00:00
moodler
ee80b6ec43 Clean up notice boxes 2007-01-13 04:25:02 +00:00
moodler
49c7f3a850 Tidying up form appearance
1) Changed required/advanced images to something language neutral (asterisks)
2) Moved them to pixpath so people can override them easily
3) Hide the images completely using CSS (keep them only for accessibility)
   so that all the labels have a consistent alignment.
4) Use CSS to color the labels instead.
2007-01-13 04:24:15 +00:00
stronk7
ed7656bf01 Now environment stuff uses $CFG->dbfamily 2007-01-13 01:20:10 +00:00
stronk7
bb48a53735 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:09:02 +00:00
stronk7
da340978d5 Need to return the value too, to use it sometimes. 2007-01-13 00:07:40 +00:00
stronk7
d847d4027b Now set_dbfamily() will work properly when invoked from install. 2007-01-12 23:52:23 +00:00
stronk7
c672870f8e Introducing CFG->dbfamily and create a setter function for it
(to be able to use families at install). MDL-7061
2007-01-12 23:44:00 +00:00
stronk7
485056620e Introducing CFG->dbfamily and deleting check_db_compat(). MDL-7061 2007-01-12 19:42:42 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
stronk7
0b0f7c00be Looking for empty default values in output_html() for multiselect settings.
Must be empty arrays.
2007-01-12 18:51:36 +00:00
tjhunt
d7933a55c8 Fix notices from admin_setting_configmultiselect when no options are selected. 2007-01-12 18:30:27 +00:00
tjhunt
b317007212 MDL-8165 - Admin setting to control which roles are synced to metacourses 2007-01-12 18:03:36 +00:00
sam_marshall
f8e1c7af38 MDL-8149 Added code to narrow down possibilities for get_my_courses, which reduces number of db queries required for profile page when site has many courses. 2007-01-12 17:05:32 +00:00
stronk7
55526eee2d Some changes to GROUP BY clause to be cross-db (all non aggregate fields
in SELECT must be in GROUP BY). Review the logic! MDL-8160
2007-01-12 12:57:50 +00:00
skodak
74d15d359d fixed function of advanced button in formslib - you had to click it twice initially 2007-01-12 10:48:11 +00:00
skodak
dd07bbac59 MDL-8157 improved hadling of conditions in disabledIf formslib method 2007-01-12 09:38:02 +00:00
jamiesensei
98af2d1dc3 small fix in hardFreeze 2007-01-12 08:36:24 +00:00
toyomoyo
0db6adc9b0 MDL-8120, changes to roles to facilitate faster log in time 2007-01-12 07:41:33 +00:00
jamiesensei
acc9c3e037 added hardFreeze method and used it in edit_form.php it ensures frozen elements have persistantFreeze property set to false. 2007-01-12 06:19:39 +00:00
jamiesensei
0ffb4cc703 special handling of frozen fields - frozen elements pass the default value (set by set_defaults or setDefault) and ignore submitted data in data_submitted() 2007-01-12 04:36:02 +00:00
toyomoyo
4cd126780c old method is faster 2007-01-12 00:47:12 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
urs_hunkler
758027d0e7 'more flexible round corner version, added pageclass nocoursepage to style course pages being no course view, admin view or site index' 2007-01-11 17:01:32 +00:00
tjhunt
47cdbd1f64 Question session state logic improvement - if students have not yet entered an answer, don't do an EVENT_SAVE. 2007-01-11 12:18:10 +00:00
skodak
7dc22930f7 choosecoursefile file selection fixed 2007-01-11 11:33:44 +00:00
skodak
9eb9e038f9 MDL-8144 Fixed can not force free format selection 2007-01-11 09:41:13 +00:00
moodler
902a721282 Improvements to the CSS MDL-7782 2007-01-11 07:11:22 +00:00
moodler
3e2b348226 SOmething of a cleanup MDL-7782 2007-01-11 07:04:49 +00:00
moodler
6b25a26ed9 First pass at some tableless tabs - I need CSS help! :-) MDL-7782 2007-01-11 06:54:23 +00:00
toyomoyo
0de75c4cfc MDL-8138, adding another flag to hopefully speed up the loop 2007-01-11 06:41:38 +00:00
toyomoyo
1cd03601a3 adding caching to get_parent_contexts 2007-01-11 06:06:11 +00:00
toyomoyo
b7e4027142 fix for MDL-8120, fix for slow override SQL. Please test 2007-01-11 05:52:26 +00:00
jamiesensei
0709d4d5f5 some xhtml validity fixes for the case that select and text elements are 'frozen' 2007-01-11 04:57:57 +00:00
stronk7
82372b2c64 Introducing iPhone support for Moodle. B-)
Nah, just introducing $CFG->dbfamily. MDL-7061 :-D
2007-01-10 16:31:40 +00:00
urs_hunkler
367e23c213 'added the body class notloggedin to be able to style pages different before loggin' 2007-01-10 14:10:45 +00:00
moodler
375539197e Whoops fixed some typos :-) 2007-01-10 08:36:54 +00:00
moodler
44b843b6d6 More XHTML strict stuff 2007-01-10 08:35:45 +00:00
toyomoyo
fc9cb24a18 MDL-7861, fixes for workshop 2007-01-10 08:29:41 +00:00
jamiesensei
78354cec8c fixed xhtml problem in repeared header elements which had [] in id. 2007-01-10 06:17:45 +00:00
jamiesensei
10a3103164 fix for MDL-8117 - div nested in span for grouped elements in formslib - changed spans to div 2007-01-10 05:26:22 +00:00
jamiesensei
9aa022feef xhtml validity fix for static element type
qtype calculated form - started
2007-01-10 05:05:26 +00:00
donal72
b7b50143f3 Auth: Bugfix: MDL-8131 2007-01-10 00:50:59 +00:00
moodler
4609c6f0b5 JUst a minor tidy - I yank this line all the time :-) 2007-01-09 12:30:26 +00:00
skodak
f82c88abd4 MDL-5120 list blocks now use <div for columns instead of span and floats; blocks related CSS cleanup, some xhtml strict fixes 2007-01-09 11:04:13 +00:00
toyomoyo
beae179786 MDL-7861 related problems for wiki. use_html_editor() call in ewiki.php is probably causing additional problems. 2007-01-09 08:21:29 +00:00
moodler
38fca5d7c7 Don't let downloaded environment files cause problems forever by overriding the
more up-to-date internal files
2007-01-09 05:52:11 +00:00
toyomoyo
d3981e3804 MDL-7861, chat realated xhtml strict fixes, changed stlye in notice_yesno 2007-01-09 04:50:07 +00:00
skodak
82b9f43e76 MDL-7861xhtml strict fixes 2007-01-08 21:22:57 +00:00