mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
Added field for CSS for database templates
This commit is contained in:
parent
3387cc5c3f
commit
20e294eeda
@ -44,6 +44,10 @@ function data_upgrade($oldversion) {
|
||||
table_column('data', '', 'defaultsortdir', 'tinyint', '4', 'unsigned', '0', 'not null', 'defaultsort');
|
||||
table_column('data', '', 'editany', 'tinyint', '4', 'unsigned', '0', 'not null', 'defaultsortdir');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006032900) {
|
||||
table_column('data', '', 'csstemplate', 'text', '', '', '', 'not null', 'rsstemplate');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -28,10 +28,11 @@ CREATE TABLE prefix_data (
|
||||
rssarticles int(4) unsigned NOT NULL default '0',
|
||||
singletemplate text NOT NULL default '',
|
||||
listtemplate text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
listtemplateheader text NOT NULL default '',
|
||||
listtemplatefooter text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
csstemplate text NOT NULL default '',
|
||||
approval tinyint(4) unsigned NOT NULL default '0',
|
||||
scale int(10) NOT NULL default '0',
|
||||
assessed int(10) unsigned NOT NULL default '0',
|
||||
|
@ -45,6 +45,10 @@ function data_upgrade($oldversion) {
|
||||
table_column('data', '', 'defaultsortdir', 'tinyint', '4', 'unsigned', '0', 'not null', 'defaultsort');
|
||||
table_column('data', '', 'editany', 'tinyint', '4', 'unsigned', '0', 'not null', 'defaultsortdir');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006032900) {
|
||||
table_column('data', '', 'csstemplate', 'text', '', '', '', 'not null', 'rsstemplate');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -14,10 +14,11 @@ CREATE TABLE prefix_data (
|
||||
rssarticles integer NOT NULL default '0',
|
||||
singletemplate text NOT NULL default '',
|
||||
listtemplate text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
listtemplateheader text NOT NULL default '',
|
||||
listtemplatefooter text NOT NULL default '',
|
||||
addtemplate text NOT NULL default '',
|
||||
rsstemplate text NOT NULL default '',
|
||||
csstemplate text NOT NULL default '',
|
||||
approval int NOT NULL default '0',
|
||||
scale integer NOT NULL default '0',
|
||||
assessed integer NOT NULL default '0',
|
||||
|
@ -5,8 +5,8 @@
|
||||
// This fragment is called by /admin/index.php
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2006032700;
|
||||
$module->requires = 2005060223; // Requires this Moodle version
|
||||
$module->version = 2006032900;
|
||||
$module->requires = 2005060230; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user