22632 Commits

Author SHA1 Message Date
moodler
8303eb8447 Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
moodler
44abaca047 Added another s() to the query strings. Thanks Petr! 2006-10-02 17:09:18 +00:00
stronk7
c562997ff8 rename_field() under oracle completed 2006-10-02 17:06:37 +00:00
tjhunt
ec6adca0f4 MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability. 2006-10-02 17:04:12 +00:00
stronk7
86bb076fc4 rename_field() under postgresql completed. 2006-10-02 17:02:35 +00:00
stronk7
dc7c388280 MySQL doesn't have check constraints. We use enums instead. 2006-10-02 17:02:07 +00:00
mits
2afc256919 Changed the currently selected admin menu bgcolor. 2006-10-02 16:51:48 +00:00
stronk7
f14080b0ad Prevent "id" fields to be renamed in generators 2006-10-02 16:47:02 +00:00
stronk7
6fdea1a0bd In my previous commit, "I" was "It" :-D
Plus one typo fixed.
2006-10-02 16:46:12 +00:00
stronk7
af72e37237 Prevent "id" fields to be renamed. I can cause lots of problems. 2006-10-02 16:37:41 +00:00
mits
d917ecd46b Highlight the currently selected admin menu.
Changed admin search result color.
2006-10-02 16:35:34 +00:00
stronk7
0e204a1012 Some adjustments to be able to get names without prefix 2006-10-02 16:28:51 +00:00
stronk7
6c02f04b5a rename_table() under postgresql completed 2006-10-02 16:27:18 +00:00
stronk7
3033991184 Set debug off on tests 2006-10-02 16:26:34 +00:00
stronk7
bb7e5c472c rename_table() under oracle completed 2006-10-02 16:19:48 +00:00
moodler
40cbc8bb70 String should be printed using s() MDL-6779 2006-10-02 16:08:16 +00:00
stronk7
2f21754261 With the emotion, I forgot to delete some debug lines... :-P 2006-10-02 15:57:59 +00:00
stronk7
8aaf86642c rename_table() under mssql completed! B-) 2006-10-02 15:56:34 +00:00
moodler
f22e389a41 Added language files to default preset as an example 2006-10-02 15:27:24 +00:00
moodler
53d052d029 Be a bit more flexible with the extra paths (can be a string or an array) 2006-10-02 15:15:23 +00:00
moodler
b53b73bdb8 Additional paramter for get_string() that allows the calling code to
specify extra locations for strings
2006-10-02 15:08:25 +00:00
moodler
85489a5b42 Various little cleanups 2006-10-02 14:57:00 +00:00
moodler
94de4ab7f5 Fixed some missing strings 2006-10-02 14:30:28 +00:00
moodler
8eed3b30cf Strip slashes from admin search string (it's ok, it never gets near a database) 2006-10-02 13:35:28 +00:00
moodler
86a1dca773 Fixed overzealous cleaning MDL-6779 2006-10-02 13:26:02 +00:00
moodler
173006a313 Change default (old change not checked in) 2006-10-02 13:10:58 +00:00
moodler
e9c82dca8f Fixed capability soring on course and coursecat override MDL-6780 2006-10-02 08:57:00 +00:00
toyomoyo
8020a0162f roles and capability support for backups. role mapping is in, please help test, thanks 2006-10-02 08:49:07 +00:00
skodak
8d9425149f fixed directory creation issues in advanced upload assignment 2006-10-02 08:44:58 +00:00
moodler
c84ea828c3 Aligning capability override columns 2006-10-02 08:43:40 +00:00
moodler
2fdc2b9e49 FIxed missing string 2006-10-02 08:40:39 +00:00
moodler
bf1e4b9cdc Only show search box when there is content in the block 2006-10-02 08:36:25 +00:00
skodak
8704af63b7 Student cannot see handed-in upload single assignment MDL-6770 2006-10-02 08:36:07 +00:00
skodak
8c408f8e46 assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed 2006-10-02 08:21:35 +00:00
moodler
27160c814b Cleaned up style for background of admin settings 2006-10-02 07:06:47 +00:00
moodler
b4bfcc9c50 Added a missing string 2006-10-02 07:03:41 +00:00
moodler
455065f9ed Bring Sticky Blocks into the admin fold 2006-10-02 06:58:46 +00:00
moodler
203abb60b4 FIxed use of reserved SQL words for MDL-6778 2006-10-02 06:52:21 +00:00
moodler
80ee828de3 Fixed typo in capability name 2006-10-02 06:39:55 +00:00
moodler
c5d08a1526 Highlight the currently selected admin menu 8-) 2006-10-02 06:37:58 +00:00
moodler
6fadb97b89 Tidy up admin search box, and fixed 4-spaces everywhere 2006-10-02 06:20:14 +00:00
moodler
36e5266fc1 Added search box for searching admin settings 2006-10-02 06:16:50 +00:00
vinkmar
6140dd8403 added strings for admin search 2006-10-02 06:03:51 +00:00
vinkmar
e32df7aab1 links added to section titles 2006-10-02 06:02:52 +00:00
vinkmar
e898f2b731 changes made for admin search page 2006-10-02 05:53:39 +00:00
vinkmar
1857cd7ff5 Admin search function.
Takes a "query" parameter... will be written into admintree block
2006-10-02 05:52:39 +00:00
moodler
3172faf70e Automatic installer.php lang files by installer_builder (20061002) 2006-10-02 02:56:19 +00:00
stronk7
cba6b7049a Enabling rename_field() test 2006-10-01 23:06:35 +00:00
stronk7
a2851e5f55 Basic rename_field() function added.
TODO: Automatic sequence/trigger/check constraint recreation
      under PG, MSSQL & Oracle
2006-10-01 23:02:39 +00:00
stronk7
7c07a93223 Added rename_field() support.
TODO: Sync sequences, triggers and check constraints
2006-10-01 22:54:51 +00:00