Commit graph

22395 commits

Author SHA1 Message Date
jamiesensei
80f962df90 * added error message for setHelpButton method not existing
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
mits
51d59bbb08 Brushed up theme oceanblue. 2006-09-26 09:39:10 +00:00
skodak
62f62bf984 admin bookmark cleanup 2006-09-26 09:25:37 +00:00
moodler
a3d23679e6 We have permission for HTML_Quickform and HTML_Common
...


Bertrand Mansion
http://www.mamasam.com      - creative internet solutions
http://golgote.freeflux.net - blog
2006-09-26 09:12:21 +00:00
toyomoyo
1ad590e153 more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work 2006-09-26 09:05:44 +00:00
skodak
6de2a7b6c8 fixed another missing global $CFG 2006-09-26 08:49:47 +00:00
vyshane
83da3d286c Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums. 2006-09-26 08:37:56 +00:00
bobopinna
d292466ca6 Moved in datamodels directory 2006-09-26 08:21:46 +00:00
bobopinna
9096a47876 Not used for now 2006-09-26 08:20:23 +00:00
skodak
9e24fbd14d basic validation fix for text admin settings 2006-09-26 08:16:17 +00:00
bobopinna
dc383b6f23 Splitted all the scorm/aicc library in type separeted files 2006-09-26 08:00:16 +00:00
bobopinna
d380567f82 Fixed a problem with reporting and multiattempts 2006-09-26 07:57:33 +00:00
bobopinna
a30b6819fc Fixed some problems with reporting and multiattempts 2006-09-26 07:56:07 +00:00
skodak
8e00b731e1 fixed defaults 2006-09-26 07:39:04 +00:00
moodler
f67f8e8cb5 Updated README for MDL-6693 2006-09-26 07:17:54 +00:00
skodak
9a76d7b9ea fixed autologinguests warning 2006-09-26 06:34:29 +00:00
skodak
05f8f7e76b fixed missing global $CFG 2006-09-26 06:31:18 +00:00
skodak
2c1f712c16 file delete and rename warnings polished 2006-09-26 06:29:04 +00:00
toyomoyo
912c1fd5a2 correct xml parsing for mod level assignment and override 2006-09-26 06:02:10 +00:00
martinlanghoff
c4121640be user: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:50 +00:00
martinlanghoff
ea9a729f80 mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:29 +00:00
martinlanghoff
1ad5c6380f mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:05 +00:00
martinlanghoff
1e7368e782 dmlib: set_field() now has the Oracle DIRTY HACK too! 2006-09-26 05:10:39 +00:00
martinlanghoff
5a55af6097 dmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_fieldset_sql()
This covers most (all?) the gaps in data retrieval except get_recordset_sql().

To tackle get_recordset_sql,  where the actual data retrieval is done within
AdoDB, we would have to to wrap around AdoDB with a subclass, but that would
be dirty, dirty, dirtier.
2006-09-26 05:10:18 +00:00
martinlanghoff
44f9885044 sql_concat(): fixed param order thinko -- and now it works too! 2006-09-26 05:09:48 +00:00
martinlanghoff
b4dd303a97 search: removed dbtype-specific select - MySQL can now handle grownup syntax 2006-09-26 05:09:26 +00:00
martinlanghoff
47dc28e53c search: fixed mysql-isms - tablenames without prefix and with backticks 2006-09-26 05:09:01 +00:00
martinlanghoff
7e034f29a0 searchlib can use sql_ilike too! 2006-09-26 05:08:39 +00:00
martinlanghoff
a8f4522dfa data, forum, glossary: use sql_ilike() for a portable LIKE operator 2006-09-26 05:08:18 +00:00
martinlanghoff
95008f81c6 sql_ilike() -- added notes on Oracle support or lack thereof 2006-09-26 05:07:28 +00:00
martinlanghoff
6eb7722f93 message/lib.php: use sql_ilike() 2006-09-26 05:07:05 +00:00
martinlanghoff
d2715c70b6 mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
martinlanghoff
38e02f4c32 Introducing sql_concat_join($sep, $array) helper
returns the SQL to do the equivalente of a join() or implode()
on the DB server. Watch the RDBMS work! ;-)
2006-09-26 05:05:54 +00:00
martinlanghoff
92a2d92a82 message_history_link() - replace use sql_concat() and sql_like() 2006-09-26 05:05:32 +00:00
martinlanghoff
27176468fe mod/quiz: replace $db->Concat() with sql_concat() 2006-09-26 05:05:10 +00:00
martinlanghoff
ea59864f45 course/lib.php: remove unused global 2006-09-26 05:04:40 +00:00
martinlanghoff
4068bedb83 Use sql_concat() in course/lib.php 2006-09-26 05:03:46 +00:00
martinlanghoff
0ce96669c9 Introducing sql_concat() - and use it in sql_fullname()
sql_concat() is just a passthrough to $db->Concat() -- it doesn't
add any value, and I think the dispatching is somewhat expensive.

Just using $db->Concat() should be good enough, were it not for
consistency in our DM API.
2006-09-26 05:02:59 +00:00
mjollnir_
6e58026b29 recredited the sql_primary_role_subselect function to correct author (much as I would like to claim it) 2006-09-26 04:41:45 +00:00
moodler
74b345880d Changing error to notify so that it's not fatal (and doesn't leak server data) 2006-09-26 04:38:00 +00:00
moodler
867f5adb73 Moved Penny's funky sql function into dmllib.php 2006-09-26 04:33:59 +00:00
toyomoyo
637644fbd1 fixing a get_record bug (multiple instances) 2006-09-26 04:10:33 +00:00
moodler
329f40b003 Changed CONTEXT_SITE to CONTEXT_SYSTEM MDL-6506 2006-09-26 03:57:05 +00:00
mits
9c7f2782c6 Brushed up theme oceanblue. 2006-09-26 03:20:40 +00:00
moodler
3c9188cad2 Automatic installer.php lang files by installer_builder (20060926) 2006-09-26 02:47:16 +00:00
vyshane
ee8e000823 Fixed bug in forum_make_mail_post() 2006-09-26 02:02:27 +00:00
toyomoyo
71dd89ff09 fixing missing $ 2006-09-26 01:50:17 +00:00
toyomoyo
4c81f5511e adding roles support for restore 2006-09-26 01:43:07 +00:00
mits
720353b2c9 Fixed visibility. 2006-09-26 01:38:17 +00:00
mjollnir_
87c75906ed update enrol/ldap to work with roles.
Credit: Alastair Pharo <alastair@catalyst.net.nz>

1) Some config settings have changed (ones that related specifically to
teachers and students).  There is a check in place however to migrate
old configurations to new ones.

2) Perviously two syncs happened - one for students, one for teachers.
Now sync gets called the same number of times as there are roles.
Those roles that have config settings associated with them then run
through all the records.  This means syncing takes longer the more
roles you configure (which is expected anyway I suppose).
2006-09-26 01:31:33 +00:00