From 99534a3dde1bd488c193d84c11a0a886bee0fda4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 23 Mar 2013 09:51:30 +0400 Subject: [PATCH] remove page title stuff for the time being --- config.php-dist | 3 --- index.php | 2 +- js/tt-rss.js | 6 +----- prefs.php | 2 +- register.php | 2 +- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/config.php-dist b/config.php-dist index 299f753ca..192cb15f9 100644 --- a/config.php-dist +++ b/config.php-dist @@ -186,9 +186,6 @@ // Users may enable other user plugins from Preferences/Plugins but may not // disable plugins specified in this list. - define('PAGE_TITLE','Tiny Tiny RSS'); - // Change this value to customize the HTML page title - define('CONFIG_VERSION', 26); // Expected config version. Please update this option in config.php // if necessary (after migrating all new options from this file). diff --git a/index.php b/index.php index 5a37c0e98..bf8eafe76 100644 --- a/index.php +++ b/index.php @@ -53,7 +53,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <?php echo PAGE_TITLE ?> + Tiny Tiny RSS diff --git a/js/tt-rss.js b/js/tt-rss.js index 1d6540dbb..eaa1f3daf 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -178,11 +178,7 @@ function search() { } function updateTitle() { - var tmp = document.title; - if (tmp.indexOf('(')>0) - { - tmp = tmp.substr(0,tmp.lastIndexOf('(')); - } + var tmp = "Tiny Tiny RSS"; if (global_unread > 0) { tmp = "(" + global_unread + ") " + tmp; diff --git a/prefs.php b/prefs.php index 9c59d6c4d..0715f26e4 100644 --- a/prefs.php +++ b/prefs.php @@ -23,7 +23,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <?php echo PAGE_TITLE ?> : <?php echo __("Preferences") ?> + Tiny Tiny RSS : <?php echo __("Preferences") ?> diff --git a/register.php b/register.php index 733930327..035a2cd8e 100644 --- a/register.php +++ b/register.php @@ -27,7 +27,7 @@ print ''; print " ".htmlspecialchars(SELF_URL_PATH . "/register.php")." - <?php echo PAGE_TITLE ?> registration slots + Tiny Tiny RSS registration slots ";