24603 Commits

Author SHA1 Message Date
bobopinna
667a21664a fixed some typos. removed all tabs 2007-01-16 14:01:41 +00:00
nfreear
0e2d02b506 Fixes bug MDL-8045, "Some strings are missing on the grouping interface". 2007-01-16 13:29:44 +00:00
bobopinna
76659ac98f moved in locallib.php as a function 2007-01-16 13:23:07 +00:00
bobopinna
76ea4fb419 Moved validation.php in locallib.php as a function. Now is called by lib.php add/updateinstance() 2007-01-16 13:21:19 +00:00
bobopinna
a4813c36c8 The new edit page using QuickForm lib 2007-01-16 13:18:41 +00:00
bobopinna
a6f505ff4a substitute by the new mod_form.php 2007-01-16 13:16:34 +00:00
thepurpleblob
5bed54e1fc MDL-8100, defaultgrade not imported. Question obect initialisation and value import wrong way round - whoops! 2007-01-16 12:12:26 +00:00
thepurpleblob
2e15284e31 MDL-8130 Number of improvements to check name length and improve HTML Entity handling. Thanks to Paul Ortman. 2007-01-16 11:23:32 +00:00
skodak
91866a2631 some minor user edit fixes MDL-8096 2007-01-16 09:56:15 +00:00
skodak
6647e04ac9 MDL-8110 use standard _FILE_ for includes instead of path starting with dot 2007-01-16 08:56:36 +00:00
martinlanghoff
0f02788f70 auth/db/auth.php - fewer queries against the ext db
Previously sync script would query the ext db once for each field that
might be wanted (repeated for each user).  Changed to query once for each
user.

Originally by Peter Bulmer <peter.bulmer@catalyst.net.net>
Somewhat adapted by Martin Langhoff ;-)
2007-01-16 05:24:20 +00:00
donal72
4d8c087e02 MNET: MyCourses block enriched with links to remote Moodles when roaming 2007-01-16 05:00:18 +00:00
martinlanghoff
43f853c908 mnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check.html warns
This may need to be reworked to move the warning to an earlier stage. In the
meantime, we have

 - at INFO parsing time we read MNET_EXTERNALUSERS into the backup info obj
 - at restore_check time, we warn the user that external users are in the
   package. If the situation looks dodgy, we say so. But don't block the
   user, as it may be a valid situation.
2007-01-16 03:28:57 +00:00
moodler
5d9bc144f3 Automatic installer.php lang files by installer_builder (20070116) 2007-01-16 03:13:08 +00:00
martinlanghoff
c0543ba1f7 mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS 2007-01-16 02:52:51 +00:00
vyshane
818c1b0592 Merged from 1.7. 2007-01-16 02:44:13 +00:00
martinlanghoff
54359be4c9 mnet: backup_user_info() is faster, and it store mnethosturl for foreign users
Several changes to backup_user_info() rolled up here

 - The main JOIN happens in SQL instead of PHP
 - We now also join with mnet_host to get the wwwroot
 - As part of the join, all the variables appear in $user -- $user_data is gone
 - If the mnethostid is non-local we include MNETHOSTURL for that user

With this, backup_user_info() should be significantly faster for large
sets of users, though I haven't benchmarked it.
2007-01-16 02:27:36 +00:00
martinlanghoff
dd3638e47e XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores. 2007-01-16 01:06:11 +00:00
martinlanghoff
da586c3778 mnet: restore_create_users() is now mnet-aware
It will now default to $CFG->mnet_localhost_id and can
handle backup files containing an mnethosturl user property
which will be mapped to mnethostid.

Additional checks are needed to avoid restoring files
with mnethosturls we cannot handle.
2007-01-16 00:56:15 +00:00
donal72
492d44e4f7 Mnet: Show that a key has expired. 2007-01-15 22:00:28 +00:00
skodak
5577ceb354 xhtml fixing in logs and reports, code cleanup MDL-8187 2007-01-15 21:28:25 +00:00
martinlanghoff
d256515fba enrol/database: fix fields not read from external database MDL-7712 2007-01-15 19:57:12 +00:00
martinlanghoff
de6e7ee2a9 auth/db: fix fields not read from external database MDL-7712 2007-01-15 19:53:26 +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
sam_marshall
2cf02a3935 MDL-8185: Changed wiki html tag balancer to leave CDATA sections alone 2007-01-15 17:42:06 +00:00
mudrd8mz
de4214a592 The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.
2007-01-15 11:40:26 +00:00
mudrd8mz
f024bea279 The maximum length of the missing strings to display can be set now. Fixes MDL-8184.
Because the tags <pre>...</pre> are used when displaying original English
version of missing texts, the screen may get very wide. This patch displays
only first 60 characters followed by '...'. This produces better output.
2007-01-15 11:18:26 +00:00
jamiesensei
fa3bf11d02 removed print_object that got left in here 2007-01-15 10:39:43 +00:00
donal72
fc7900e75e MNet: Display expiry date of local certificate 2007-01-15 09:14:41 +00:00
donal72
9dd0e6115d Mnet: Key rotation: A more robust changeover for fresh keys 2007-01-15 09:03:39 +00:00
donal72
82b29ea15a Mnet: Stylefix: Array was returned with unusual numeric index 2007-01-15 09:00:39 +00:00
donal72
151a987289 Mnet: Refactor: Split up mnet_server_fault function so we have option to send non-lang-file errors 2007-01-15 08:40:24 +00:00
donal72
85d2d959d5 Mnet: Bugfix: Prevent infinite loop when 2 community hubs peer for the first time 2007-01-15 08:31:58 +00:00
donal72
e931feddaf Mnet: Bugfix: Prevent a second record to be created for an existing host if the user entered http://example.com/ as the wwwroot 2007-01-15 08:26:56 +00:00
donal72
ca1131e2ea Mnet: Drop deprecated interface to mnet_get_public_key function 2007-01-15 08:20:10 +00:00
vyshane
68febe8361 Fixes for MDL-7861. 2007-01-15 08:15:04 +00:00
vyshane
bae3a75ce8 Fixed text box display width. 2007-01-15 08:02:10 +00:00
vyshane
dd2a21da76 Fixes for MDL-7861. 2007-01-15 07:59:28 +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
a5855a89bf Avoiding some itarations. MDL-7902. Thanks Samuli!
Merged from MOODLE_17_STABLE
2007-01-14 12:11:33 +00:00
stronk7
5c8b250f37 Now the list of downloadable langs (when no fopen is available) doesn't break XML. Related to MDL-7861 2007-01-13 20:17:20 +00:00
stronk7
dbaa905e10 Now all the filters global config pages are valid XML. Related to MDL-7861 2007-01-13 20:15:09 +00:00
stronk7
bf63e03ebe Now all the blocks global config pages are valid XML. Related to MDL-7861 2007-01-13 20:14:40 +00:00
stronk7
73be66c7a8 Now all the modules global config pages are valid XML. Related to MDL-7861 2007-01-13 20:13:58 +00:00
stronk7
84e2c6c724 Added some styles to display phpinfo properly. 2007-01-13 20:12:32 +00:00
stronk7
629b635dc4 Now frame-less phpinfo page is valid XML. Part of MDL-7861 2007-01-13 20:11:31 +00:00
stronk7
3facbe6632 Now help information is back again (typo in js) and, under MySQL, the script is
able to change DB encoding if empty.
2007-01-13 20:06:17 +00:00