Code

Set default title to GOsa
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 08:18:42 +0000 (08:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 08:18:42 +0000 (08:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17729 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php
gosa-core/html/logout.php
gosa-core/html/main.php
gosa-core/html/password.php
gosa-core/html/setup.php

index f5267324427c54a4b1ddbb8c65294887aa17442e..2f0eeba2d6f1a33cb49cf6d92fd1e7931fff0cbe 100644 (file)
@@ -52,6 +52,8 @@ function displayLogin()
     if(isset($_POST["username"])) {
         $username= $_POST["username"];
     }
+    
+    $smarty->assign ("title","GOsa");
     $smarty->assign("logo", image(get_template_path("images/logo.png")));
     $smarty->assign('date', gmdate("D, d M Y H:i:s"));
     $smarty->assign('username', $username);
index acfdaa19f0412ef0db22fc64afb1e5ffebc25733..787a021ba0d0679dbf622fbc083a76711fbe6616 100644 (file)
@@ -69,6 +69,7 @@ if (isset($config)){
 } else {
        $smarty->compile_dir= '/var/spool/gosa/';
 }
+$smarty->assign ("title","GOsa");
     
 /* If GET request is posted, the logout was forced by pressing the link */
 if (isset($_POST['forcedlogout']) || isset($_GET['forcedlogout'])){
index b777ebc886bfb8a301dffe10f6eee61623107674..c330f32f70cae30233e437a123d9c2931913da00 100644 (file)
@@ -268,6 +268,7 @@ if (isset($_GET['reset'])){
 }
 
 /* show web frontend */
+$smarty->assign ("title","GOsa");
 $smarty->assign ("logo", image(get_template_path("images/logo.png")));
 $smarty->assign ("logoutimage", get_template_path("images/btn-logout.png"));
 $smarty->assign ("date", date("l, dS F Y H:i:s O"));
index 3eecd2e10ed886021a0547787ca85d42616e4832..79e5b8d02b43068cd5172ca35761806cad556ab6 100644 (file)
@@ -128,6 +128,7 @@ if (isset($_POST['server'])) {
         $directory = key($servers);
     }
 }
+$smarty->assign ("title","GOsa");
 if (isset($_GET['directory']) && isset($servers[$_GET['directory']])) {
     $smarty->assign("show_directory_chooser", false);
     $directory= validate($_GET['directory']);
index 8f733d33907fc9ce62fc61a215bf94c77eafc88d..51c6021433c43fe6dbcc476af3b638baadc91b6d 100644 (file)
@@ -113,6 +113,7 @@ textdomain($domain);
 $display = "";
 require_once("../setup/main.inc");
 
+$smarty->assign ("title","GOsa");
 $smarty->assign("date", date("l, dS F Y H:i:s O"));
 $header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('setup_headers.tpl'));