From c24714965fdd5af6368bf0ea44c25fbbe93d3733 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Fri, 16 Dec 2005 15:03:21 +0000
Subject: [PATCH]

---
 interface/lib/app.inc.php                           | 1 +
 interface/lib/config.inc.php                        | 3 +++
 interface/sql/ispconfig3db.sql                      | 4 ++--
 interface/web/themes/default/templates/main.tpl.htm | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 2c304a5451..c2cffa4a21 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -167,6 +167,7 @@ class app {
                 } else {
                   $this->tpl->setVar('logo', '&nbsp;');
                 }
+                $this->tpl->setVar('app_title',$conf["app_title"]);
 
           }
 
diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 2be920c681..4558a59251 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -29,6 +29,9 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 ini_set('register_globals',0);
 
+$conf['app_title'] = "MyDNSConfig";
+$conf["app_version"] = "1.0.0";
+
 $conf["rootpath"]                 = "F:\\server\\www\\ispconfig3\\interface";
 //$conf["rootpath"]                 = "D:\\www\\ispconfig3\\interface";
 //$conf["rootpath"]                 = "/home/www/ispconfig3/web/cms";
diff --git a/interface/sql/ispconfig3db.sql b/interface/sql/ispconfig3db.sql
index 526b3758a5..0ae84bab80 100644
--- a/interface/sql/ispconfig3db.sql
+++ b/interface/sql/ispconfig3db.sql
@@ -533,7 +533,7 @@ CREATE TABLE `sys_user` (
 -- Daten für Tabelle `sys_user`
 --
 
-INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `name`, `vorname`, `unternehmen`, `strasse`, `ort`, `plz`, `land`, `email`, `url`, `telefon`, `fax`, `language`, `groups`, `default_group`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin,designer,sites', 'admin', 'default', 'admin', 1, '', 'Administrator', '', '', '', '', '', '', '', '', '', 'en', '1,2', 0);
+INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `name`, `vorname`, `unternehmen`, `strasse`, `ort`, `plz`, `land`, `email`, `url`, `telefon`, `fax`, `language`, `groups`, `default_group`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin,designer,sites,dns', 'admin', 'default', 'admin', 1, '', 'Administrator', '', '', '', '', '', '', '', '', '', 'en', '1,2', 0);
 
 --
 -- Table structure for table `rr`
@@ -596,4 +596,4 @@ CREATE TABLE `soa` (
 -- Dumping data for table `soa`
 --
 
--- --------------------------------------------------------
+-- --------------------------------------------------------
\ No newline at end of file
diff --git a/interface/web/themes/default/templates/main.tpl.htm b/interface/web/themes/default/templates/main.tpl.htm
index 3cb8da4c9d..d3dcfcc06d 100644
--- a/interface/web/themes/default/templates/main.tpl.htm
+++ b/interface/web/themes/default/templates/main.tpl.htm
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
-<title>ISPConfig</title>
+<title><tmpl_var name="app_title"></title>
 <meta http-equiv="Content-Type" content="{tmpl_var name='html_content_encoding'}">
 <link href="themes/{tmpl_var name="theme"}/style.css" rel="stylesheet" type="text/css">
 <script language= "JavaScript">
-- 
GitLab