From 89571332b42c2a56e03e45832cf5b0f868696862 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Apr 2010 08:18:42 +0000 Subject: [PATCH] Set default title to GOsa git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17729 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/index.php | 2 ++ gosa-core/html/logout.php | 1 + gosa-core/html/main.php | 1 + gosa-core/html/password.php | 1 + gosa-core/html/setup.php | 1 + 5 files changed, 6 insertions(+) diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index f52673244..2f0eeba2d 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -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); diff --git a/gosa-core/html/logout.php b/gosa-core/html/logout.php index acfdaa19f..787a021ba 100644 --- a/gosa-core/html/logout.php +++ b/gosa-core/html/logout.php @@ -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'])){ diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index b777ebc88..c330f32f7 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -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")); diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index 3eecd2e10..79e5b8d02 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -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']); diff --git a/gosa-core/html/setup.php b/gosa-core/html/setup.php index 8f733d339..51c602143 100644 --- a/gosa-core/html/setup.php +++ b/gosa-core/html/setup.php @@ -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= "".$smarty->fetch(get_template_path('setup_headers.tpl')); -- 2.30.2