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

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

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 2c304a5..c2cffa4 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -167,6 +167,7 @@
                 } 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 2be920c..4558a59 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -29,6 +29,9 @@
 
 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 526b375..0ae84ba 100644
--- a/interface/sql/ispconfig3db.sql
+++ b/interface/sql/ispconfig3db.sql
@@ -533,7 +533,7 @@
 -- 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 @@
 -- 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 3cb8da4..d3dcfcc 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">

--
Gitblit v1.9.1