Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
c1a7b2cd
Commit
c1a7b2cd
authored
Aug 08, 2012
by
cfoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed sql table for standard conform themes
parent
0cc22c0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
27 deletions
+15
-27
install/sql/incremental/upd_0034.sql
install/sql/incremental/upd_0034.sql
+11
-23
interface/web/admin/form/tpl_default-v2.tform.php
interface/web/admin/form/tpl_default-v2.tform.php
+2
-2
interface/web/admin/form/tpl_default.tform.php
interface/web/admin/form/tpl_default.tform.php
+2
-2
No files found.
install/sql/incremental/upd_0034.sql
View file @
c1a7b2cd
...
...
@@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS `aps_packages` (
-- --------------------------------------------------------
--
-- Tab
ellenstruktur für Tabel
le `aps_settings`
-- Tab
le structure for tab
le `aps_settings`
--
CREATE
TABLE
IF
NOT
EXISTS
`aps_settings`
(
...
...
@@ -68,28 +68,16 @@ CREATE TABLE IF NOT EXISTS `aps_settings` (
-- --------------------------------------------------------
--
-- Tab
ellenstruktur für Tabelle `tpl_default
`
-- Tab
le structure for table `sys_theme
`
--
-- CREATE TABLE IF NOT EXISTS `tpl_default` (
-- `var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
-- `username` varchar(64) NOT NULL,
-- `logo_url` varchar(255) NOT NULL,
-- PRIMARY KEY (`var_id`)
--) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `tpl_default-v2`
--
--CREATE TABLE IF NOT EXISTS `tpl_default-v2` (
-- `var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
-- `username` varchar(64) NOT NULL,
-- `logo_url` varchar(255) NOT NULL,
-- PRIMARY KEY (`var_id`)
--) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
CREATE
TABLE
IF
NOT
EXISTS
`sys_theme`
(
`var_id`
int
(
11
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`tpl_name`
varchar
(
32
)
NOT
NULL
,
`username`
varchar
(
64
)
NOT
NULL
,
`logo_url`
varchar
(
255
)
NOT
NULL
,
PRIMARY
KEY
(
`var_id`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
...
...
@@ -104,5 +92,5 @@ INSERT INTO `aps_settings` (`id`, `name`, `value`) VALUES(3, 'ignore-webserver-m
ALTER
TABLE
`client`
ADD
`limit_aps`
int
(
11
)
NOT
NULL
DEFAULT
'0'
AFTER
`limit_webdav_user`
;
ALTER
TABLE
`client_template`
ADD
`limit_aps`
int
(
11
)
NOT
NULL
DEFAULT
'0'
AFTER
`limit_webdav_user`
;
-- INSERT INTO `tpl_default` (`var_id`, `username`, `logo_url`) VALUES('', 'global', 'themes/default/images/header_logo.png');
-- INSERT INTO `tpl_default-2` (`var_id`, `username`, `logo_url`) VALUES('', 'global', 'themes/default-v2/images/header_logo.png');
\ No newline at end of file
INSERT
INTO
`dbispconfig`
.
`sys_theme`
(
`var_id`
,
`tpl_name`
,
`username`
,
`logo_url`
)
VALUES
(
NULL
,
'default'
,
'global'
,
'themes/default/images/header_logo.png'
);
INSERT
INTO
`dbispconfig`
.
`sys_theme`
(
`var_id`
,
`tpl_name`
,
`username`
,
`logo_url`
)
VALUES
(
NULL
,
'default-v2'
,
'global'
,
'themes/default-v2/images/header_logo.png'
);
\ No newline at end of file
interface/web/admin/form/tpl_default-v2.tform.php
View file @
c1a7b2cd
...
...
@@ -63,8 +63,8 @@ $form["title"] = "tpl_default-v2_head_txt";
$form
[
"description"
]
=
"tpl_default-v2_desc_txt"
;
$form
[
"name"
]
=
"tpl_default-v2"
;
$form
[
"action"
]
=
"tpl_default-v2.php"
;
$form
[
"db_table"
]
=
"
default-v2
"
;
$form
[
"db_table_idx"
]
=
"
var_
id"
;
$form
[
"db_table"
]
=
"
sys_theme
"
;
$form
[
"db_table_idx"
]
=
"id"
;
$form
[
"db_history"
]
=
"yes"
;
$form
[
"tab_default"
]
=
"basic"
;
$form
[
"list_default"
]
=
"system_config_edit.php"
;
...
...
interface/web/admin/form/tpl_default.tform.php
View file @
c1a7b2cd
...
...
@@ -63,8 +63,8 @@ $form["title"] = "tpl_default_head_txt";
$form
[
"description"
]
=
"tpl_default_desc_txt"
;
$form
[
"name"
]
=
"tpl_default"
;
$form
[
"action"
]
=
"tpl_default.php"
;
$form
[
"db_table"
]
=
"
default
"
;
$form
[
"db_table_idx"
]
=
"
var_
id"
;
$form
[
"db_table"
]
=
"
sys_theme
"
;
$form
[
"db_table_idx"
]
=
"id"
;
$form
[
"db_history"
]
=
"yes"
;
$form
[
"tab_default"
]
=
"basic"
;
$form
[
"list_default"
]
=
"system_config_edit.php"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment