4208 Commits

Author SHA1 Message Date
donal72
cdf2232920 Mnet: Rename field: access to accessctrl for Oracle interop: MDL-8237 2007-01-23 21:27:50 +00:00
moodler
8f36e33ec3 Fixed up styles for simple boxes see MDL-8101 2007-01-23 05:37:26 +00:00
vyshane
4a384c5bbe PEAR Services_JSON. 2007-01-23 05:19:28 +00:00
skodak
371a32e308 (MDL-8250) install/upgrade autopilot 2007-01-22 20:15:12 +00:00
skodak
2463ef818f MDL-7861 fixed regression caused by one of previous commit related to print_single_button() and friends - old & handling restored, thanks Eloy for spotting the problem :-) 2007-01-22 18:23:14 +00:00
skodak
c35e8b1c15 removed xhtml strict todo comment - already fixed 2007-01-22 16:03:34 +00:00
moodler
8f8de2cc87 Made is_mnet_remote_user() a bit more robust MDL-8253 2007-01-22 08:25:20 +00:00
moodler
1cbf4fccc4 Whoops, forgot to set the cache :-) MDL-8149 2007-01-22 03:28:06 +00:00
moodler
8e82745aed A little bit of caching for get_my_courses, related to MDL-8149
Resetting it in load_all_capabilities() means it gets flushed everytime
role_assign() or role_unassign() is called on the current user, which should
be enough.

The cache is not reset when others assign/unassign roles, but Moodle has
always had this problem.
2007-01-22 03:24:27 +00:00
martinlanghoff
1a5d0b7f54 debugging() - tell us who/where/when called us, like trigger_error() does 2007-01-22 01:55:09 +00:00
stronk7
deb12ef4cd Convert DB lang fields to 30cc. Part of MDL-7157 2007-01-21 23:37:54 +00:00
skodak
afd2b29984 fixed perfdebug warning during install 2007-01-21 21:46:55 +00:00
stronk7
9fc57f4c22 Some old PG sites have user->firstname and user->lastname
defined to be 30cc. Repair them. MDL-7110
2007-01-21 19:56:05 +00:00
jamiesensei
3a298174e8 important security fix previous use of ['type'] in repeatedeloptions array would not have worked. 2007-01-21 10:32:42 +00:00
skodak
83b902fee1 minimal footer in redirect() 2007-01-21 10:30:08 +00:00
jamiesensei
988d1202e3 fixed focus method which was tring to focus on hidden fields. 2007-01-21 09:23:19 +00:00
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