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 299f753c..192cb15f 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 5a37c0e9..bf8eafe7 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 1d6540db..eaa1f3da 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 9c59d6c4..0715f26e 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 73393032..035a2cd8 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 "; -- 2.39.2