@@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS `aps_packages` (
5454-- --------------------------------------------------------
5555
5656--
57- -- Tabellenstruktur für Tabelle `aps_settings`
57+ -- Table structure for table `aps_settings`
5858--
5959
6060CREATE TABLE IF NOT EXISTS ` aps_settings` (
@@ -68,28 +68,16 @@ CREATE TABLE IF NOT EXISTS `aps_settings` (
6868-- --------------------------------------------------------
6969
7070--
71- -- Tabellenstruktur für Tabelle `tpl_default `
71+ -- Table structure for table `sys_theme `
7272--
7373
74- -- CREATE TABLE IF NOT EXISTS `tpl_default` (
75- -- `var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
76- -- `username` varchar(64) NOT NULL,
77- -- `logo_url` varchar(255) NOT NULL,
78- -- PRIMARY KEY (`var_id`)
79- -- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
80-
81- -- --------------------------------------------------------
82-
83- --
84- -- Tabellenstruktur für Tabelle `tpl_default-v2`
85- --
86-
87- -- CREATE TABLE IF NOT EXISTS `tpl_default-v2` (
88- -- `var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
89- -- `username` varchar(64) NOT NULL,
90- -- `logo_url` varchar(255) NOT NULL,
91- -- PRIMARY KEY (`var_id`)
92- -- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
74+ CREATE TABLE IF NOT EXISTS ` sys_theme` (
75+ ` var_id` int (11 ) unsigned NOT NULL AUTO_INCREMENT,
76+ ` tpl_name` varchar (32 ) NOT NULL ,
77+ ` username` varchar (64 ) NOT NULL ,
78+ ` logo_url` varchar (255 ) NOT NULL ,
79+ PRIMARY KEY (` var_id` )
80+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8 ;
9381
9482-- --------------------------------------------------------
9583
@@ -104,5 +92,5 @@ INSERT INTO `aps_settings` (`id`, `name`, `value`) VALUES(3, 'ignore-webserver-m
10492ALTER TABLE ` client` ADD ` limit_aps` int (11 ) NOT NULL DEFAULT ' 0' AFTER ` limit_webdav_user` ;
10593ALTER TABLE ` client_template` ADD ` limit_aps` int (11 ) NOT NULL DEFAULT ' 0' AFTER ` limit_webdav_user` ;
10694
107- -- INSERT INTO `tpl_default` (`var_id`, `username`, `logo_url`) VALUES(' ', 'global', 'themes/default/images/header_logo.png');
108- -- INSERT INTO `tpl_default-2` (`var_id`, `username`, `logo_url`) VALUES(' ', 'global', 'themes/default-v2/images/header_logo.png');
95+ INSERT INTO ` dbispconfig ` . ` sys_theme ` (` var_id` , ` tpl_name ` , ` username` , ` logo_url` ) VALUES ( NULL , ' default ' , ' global' , ' themes/default/images/header_logo.png' );
96+ INSERT INTO ` dbispconfig ` . ` sys_theme ` (` var_id` , ` tpl_name ` , ` username` , ` logo_url` ) VALUES ( NULL , ' default-v2 ' , ' global' , ' themes/default-v2/images/header_logo.png' );
0 commit comments