4192 Commits

Author SHA1 Message Date
jamiesensei
5054ddbb59 comment got detached from function - fixed. 2007-01-21 09:14:35 +00:00
jamiesensei
f84d6a8d56 fixes to wiki form checkboxes value saving 2007-01-21 08:26:59 +00:00
stronk7
97ad23eb26 Bad news. "external" is one reserved word for mssql and we have
one in the the SCORM module.
2007-01-20 17:59:28 +00:00
skodak
e10bc44045 MDL-7586 added opendocument mimetype icons, created by Pete Harlow, see http://opendocumentfellowship.org/icon/examples 2007-01-20 15:00:17 +00:00
skodak
53467aa6e9 code cleanup - added proper object and array initialization 2007-01-20 14:06:07 +00:00
skodak
2d4beaff07 cosmetic fix - added missing global $SESSION in require_logout() 2007-01-20 13:39:38 +00:00
skodak
5c6347ceeb cosmetic fix in format text FORMAT_HTML now used after text is converted to html instead of the original format - the actual function is not changed, no need to backport 2007-01-20 13:36:03 +00:00
skodak
ed5dd29fc8 moved obsoleted functions from weblib.php to deprecatedlib.php 2007-01-20 13:32:15 +00:00
skodak
e1968a8e11 MDL-7861 xhtml strict fix in notice() for & in referer, proper string quoting in print_single_button(), changed cleaning of submitted link; fixed warning when referer not send in print_continue(); fixed some doc comments 2007-01-20 13:00:03 +00:00
nfreear
2dee6abd1d Fixes bug MDL-8233, "Delete course action, groups typos and groupings not deleted" 2007-01-20 10:57:47 +00:00
skodak
60f9e36ee8 MDL-8223 - last global $course hacks removed 2007-01-19 10:29:03 +00:00
skodak
39e829367a MDL-8223 - added detection of wrong course id 2007-01-19 09:54:25 +00:00
skodak
33ebaf7c6a MDL-8223
require_login issues:
* does not accept $course object as parameter - see require_course_obejct()
* always uses global $course even when courseid empty
* overrides global $course - problem it contains something else than $course object

require_course_login issues:
* does not accept courseid as parameter
* does not pass $cm to require_login when forced login to site - not a major issue because there are extra visibility checks in modules - we can remove them now ;-)
2007-01-19 09:44:26 +00:00
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