stronk7
d335bebc06
Added support for add_index() and drop_index()
2006-09-26 23:17:24 +00:00
stronk7
42d1fc2f3f
XMLDBTable wrappers to create and drop indexes
2006-09-26 23:16:09 +00:00
stronk7
618a982eed
Now all the generators support creating and dropping indexes
2006-09-26 23:15:20 +00:00
stronk7
b0d8444349
Fix one place where index->type was being used instead of index->unique
2006-09-26 22:46:05 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
stronk7
48eac31328
Replaced XMLDB own implementation of the concat function to use
...
the new, ultra-cool, ADOdb based, concat_sql(). Thanks, Martin Langhoff!
2006-09-26 18:34:48 +00:00
stronk7
66841aed29
One wrong use of onespace2empty() - an strange function - :-/
...
in the DIRTY HACK was causing not info to be returned under Oracle
by the get_field_sql() function, so sequence numbers were broken.
2006-09-26 18:27:44 +00:00
stronk7
1d5071a57e
Don't CREATE OR REPLACE TRIGGER but just CREATE it
...
(so we'll be able to detect duplicate name with an
error instead of getting false success)
2006-09-26 18:10:27 +00:00
stronk7
2efd67bf5f
Increasing log_display->field because sql_concat() (one
...
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
jamiesensei
5ae7038594
modified api to create an htmleditor element
2006-09-26 16:40:35 +00:00
jamiesensei
f8857b4925
adding static element class to registry of Moodleform elements
2006-09-26 13:55:51 +00:00
jamiesensei
eb476e4adb
file describing a static form element for moodle with setHelpButton method
2006-09-26 13:32:15 +00:00
moodler
f1dcf0000a
Checked in Nick's patch from MDL-6699 to aid installation when there
...
are a LOT of students (it was running out of memory)
2006-09-26 13:31:57 +00:00
moodler
d22130f36d
Added a PEAR extension that was missing, and permission from
...
Mark Wiesemann for his renderers. Yay!
2006-09-26 12:07:48 +00:00
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
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
skodak
6de2a7b6c8
fixed another missing global $CFG
2006-09-26 08:49:47 +00:00
skodak
9e24fbd14d
basic validation fix for text admin settings
2006-09-26 08:16:17 +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
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
7e034f29a0
searchlib can use sql_ilike too!
2006-09-26 05:08:39 +00:00
martinlanghoff
95008f81c6
sql_ilike() -- added notes on Oracle support or lack thereof
2006-09-26 05:07:28 +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
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
867f5adb73
Moved Penny's funky sql function into dmllib.php
2006-09-26 04:33:59 +00:00
mjollnir_
75673b93f8
fixing the participants report to work with roles
2006-09-26 01:23:57 +00:00
stronk7
0db2d6bb98
Prevent NOT NULL fields to have one DEFAULT NULL clause
2006-09-25 21:44:21 +00:00
stronk7
812e363a39
Now generators support to add/drop column defaults
2006-09-25 18:22:06 +00:00
sam_marshall
4488daf7ad
File had a UTF-8 BOM at the start, was causing problems, now removed
2006-09-25 14:59:21 +00:00
jamiesensei
1629424dbb
added styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every theme loads styles_form
2006-09-25 14:56:45 +00:00
moodler
a06c8c2cd1
Fixed some width="*" in layout tables
2006-09-25 14:40:26 +00:00
sam_marshall
479eea4149
Removed trailing blank line at end of file (was breaking things)
2006-09-25 14:35:41 +00:00
moodler
1beed35f71
Added some form-groups on the htmleditor page
2006-09-25 14:34:33 +00:00
moodler
fc52aa6e14
Cleaning up the id and class for each setting
2006-09-25 14:18:16 +00:00
moodler
2e0c11dda3
Fixed display of times in admin settings using form-group
2006-09-25 12:48:07 +00:00
sam_marshall
20e1b1e5c0
Quick fix to the me() fix to the redirect function (for relative redirects).
2006-09-25 11:23:15 +00:00
jamiesensei
864cc1de64
moved code turning on pear error printing if in debug mode to the top of formslib.php
2006-09-25 11:08:44 +00:00
moodler
a1d526438c
FIxed some XHTML notices
2006-09-25 09:32:25 +00:00
moodler
0a7e84c341
Added form-group
2006-09-25 09:06:51 +00:00
moodler
3c6f7a7828
Remove size=X from admin settings (do it in CSS)
2006-09-25 08:33:10 +00:00
moodler
87a801e2ec
Removed a typo
2006-09-25 08:22:05 +00:00
moodler
afee986420
Updates for better CSS hooks
2006-09-25 08:20:14 +00:00
moodler
fa040029f0
Fix the editor and the surrounding table for settings
2006-09-25 07:55:10 +00:00
toyomoyo
c76e095f70
some fixes for the main load_user_capablitiies() function, need pair c1, c2 to impose uniqueness. should use c2.id instead for override. no restriction on c2 for assignments
2006-09-25 07:50:03 +00:00
moodler
edb6cba4b2
Fixed missing div properly this time :-)
2006-09-25 07:45:02 +00:00