From d1b95496ad3db37fb08f77c5fa7f1ddb36a89ed6 Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Thu, 13 Aug 2009 12:32:10 +0000 Subject: [PATCH] normalize titles git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@634 c66351dc-e62f-0410-b875-e3a5c0b9693f --- site/contact.php | 1 + site/credits.php | 1 + site/demo.php | 1 + site/download.php | 1 + site/features.php | 1 + site/inc/header.i | 2 +- site/index.php | 2 +- site/license.php | 1 + site/locales/en/properties | 3 ++- site/support.php | 27 --------------------------- 10 files changed, 10 insertions(+), 30 deletions(-) delete mode 100644 site/support.php diff --git a/site/contact.php b/site/contact.php index 1676f4c3..a4924003 100644 --- a/site/contact.php +++ b/site/contact.php @@ -3,6 +3,7 @@ $page = 'home'; $subpage = 'contacts'; require_once('libs/common.php'); start_html_output(); +$title = getlocal("contacts.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/credits.php b/site/credits.php index 6f9eef03..b14ca2e8 100644 --- a/site/credits.php +++ b/site/credits.php @@ -3,6 +3,7 @@ $page = 'home'; $subpage = 'credits'; require_once('libs/common.php'); start_html_output(); +$title = getlocal("credits.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/demo.php b/site/demo.php index 9c1f74dc..f557e299 100644 --- a/site/demo.php +++ b/site/demo.php @@ -3,6 +3,7 @@ $page = 'demo'; $subpage = "demo"; require_once('libs/common.php'); start_html_output(); +$title = getlocal("demo.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/download.php b/site/download.php index d2a7be1a..6b921466 100644 --- a/site/download.php +++ b/site/download.php @@ -2,6 +2,7 @@ $page = 'downl'; require_once('libs/common.php'); start_html_output(); +$title = getlocal("downl.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/features.php b/site/features.php index 5db2bcda..1beceb97 100644 --- a/site/features.php +++ b/site/features.php @@ -3,6 +3,7 @@ $page = 'demo'; $subpage = "features"; require_once('libs/common.php'); start_html_output(); +$title = getlocal("features.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/inc/header.i b/site/inc/header.i index 09378188..1baa3e9e 100644 --- a/site/inc/header.i +++ b/site/inc/header.i @@ -2,7 +2,7 @@ -<?php echo getlocal("title") ?> +<?php echo $title ?> - <?php echo getlocal("title") ?> diff --git a/site/index.php b/site/index.php index ec3eec73..43489c76 100644 --- a/site/index.php +++ b/site/index.php @@ -3,6 +3,7 @@ $page = 'home'; $subpage = 'news'; require_once('libs/common.php'); start_html_output(); +$title = getlocal("home.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> @@ -17,7 +18,6 @@ require_once('inc/menu.i');

-

diff --git a/site/license.php b/site/license.php index d8cb93d4..e348bf8d 100644 --- a/site/license.php +++ b/site/license.php @@ -3,6 +3,7 @@ $page = 'home'; $subpage = 'terms'; require_once('libs/common.php'); start_html_output(); +$title = getlocal("license.title"); require_once('inc/header.i'); require_once('inc/menu.i'); ?> diff --git a/site/locales/en/properties b/site/locales/en/properties index 6523555d..722d0375 100644 --- a/site/locales/en/properties +++ b/site/locales/en/properties @@ -17,6 +17,7 @@ menu.download=Download menu.support=Forum menu.ticket=Support +home.title=Home submenu.title=More partners.title=partners languages.title=languages @@ -78,7 +79,7 @@ features.browsers=