Commit Graph

4223 Commits

Author SHA1 Message Date
moodler 0b4f88a6d6 Improved documentation for print_tabs 2007-01-26 06:28:43 +00:00
moodler 65c8c79335 Some slight modifications to the css classes for one-tab lines MDL-7782 2007-01-26 06:23:53 +00:00
skodak 29c7e08328 MDL-8096 - fixed set_user_preference() weirdness, you could not pass $USER->id as $otheruser parameter 2007-01-25 18:17:57 +00:00
skodak 4af06ddad0 MDL-8281 hardFreeze now removes previously defined required status and all rules 2007-01-25 17:59:46 +00:00
skodak e8e0bb2d7b MDL-8096 - advanced edit now mostly works, though still some parts missing; RIP changeme user :-) 2007-01-25 11:03:33 +00:00
moodler 36e8c122d5 Improved classes for new tabs MDL-7782
Improved inclusion of meta.php avoids notices for non-existent files
2007-01-25 04:43:26 +00:00
vyshane e50b0ad904 Merged from 1.7. 2007-01-25 04:37:39 +00:00
skodak ad6226fba2 MDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progress ;-)
* new editadvanced form for creating of users and editing without restrictions
* elliminated fantom changeme user
* updated links and installation process
* see TODO comments in code
2007-01-25 00:04:02 +00:00
donal72 6e783f21ec Mnet: Minor: Fix a comment 2007-01-24 23:15:24 +00:00
stronk7 83c9a8a29a Modified a bit the child iterator that wasn't working under Safari.
Tested with FF and Safari. Needs test with IE.
2007-01-24 19:39:59 +00:00
stronk7 bb3172c038 Prevent rename_field() to be executed if no full specs of
the original field are provided. MDL-8296
2007-01-24 17:54:53 +00:00
moodler fdaacd8b70 A small bug in rename_field means that you need to specify the field in detail for it to work.
This will be fixed by Eloy later.

MDL-8237
2007-01-24 13:17:03 +00:00
moodler 79f533c388 Added some new settings to theme config.php so that a file meta.php can be
automatically included into the HEAD section of the current theme.

Supports parent and standard files too.

I added this to support the inclusion of some IE specific CSS  :-( which needs
to be done from HTML and not CSS, (MDL-7782) but it could be used to include other things
as well, or even to run some PHP code, set various vriables etc without messing
up the theme header.html (and regardless of the theme being used).
2007-01-24 09:20:32 +00:00
moodler eb8cc38e65 Added some docs from MDL-6798 2007-01-24 07:08:50 +00:00
vyshane 4c72307e24 Merged from 1.7 2007-01-24 05:58:59 +00:00
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