martinlanghoff
86dd62a724
mnet: introducing print_remote_course() and use it in print_my_moodle()
...
mbwa-ha-ha-ha! All your remote courses belong to us.
2007-01-19 09:23:47 +00:00
martinlanghoff
db4b12eb70
mnet: introducing get_my_remotecourses() and get_my_remotehosts() -- use them too
2007-01-19 08:57:13 +00:00
jamiesensei
7043d0a756
set default for this element to return a '0' if unchecked and '1' if checked.
2007-01-19 08:08:50 +00:00
tjhunt
bb006c95cc
Fix broken JS.
2007-01-18 12:55:46 +00:00
jamiesensei
7b41a4a989
some more small changes to datasetdependent and calculated question type forms
2007-01-18 11:21:10 +00:00
martinlanghoff
8d13ed1414
mnet: clean_param() fixed a leftover debugging statement - x2
2007-01-18 02:31:42 +00:00
martinlanghoff
f543c0c392
mnet: clean_param() fixed a leftover debugging statement
2007-01-18 02:22:35 +00:00
dwoolhead
f27b2c4e6d
Prevent unnecessary scroll to warning message during local version installation/upgrade due to missing notification type on success
2007-01-17 14:38:56 +00:00
martinlanghoff
9220fba598
get_config(): return a single value instead of a record when called with 2 params
...
get_config() was meant to return a single value when called with 2 params,
however, it never did. Change it to Do The Right Thing, and audit all callers.
2007-01-16 23:25:19 +00:00
skodak
5577ceb354
xhtml fixing in logs and reports, code cleanup MDL-8187
2007-01-15 21:28:25 +00:00
skodak
acdd790f74
print_footer('none') during install and upgrade to hide home link and xhtml strict fixes
2007-01-15 19:16:29 +00:00
sam_marshall
ca360e834b
MDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing (doesn't do any harm elsewhere)
2007-01-15 17:45:47 +00:00
vyshane
e524c0ed56
Fixes for MDL-7861.
2007-01-15 07:29:25 +00:00
moodler
3d621607f1
Fixed up alignment of buttons on course page
2007-01-15 03:39:48 +00:00
martinlanghoff
bb931a61c6
rcache: cleanup, upgrade path, config options (MDL-8163)
...
record cache and caching schemes get a little cleanup, faster
if()s and a nice set of config options. Users who've been using
the internal cache get a nice upgrade too.
2007-01-14 23:02:13 +00:00
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