]> git.wh0rd.org - tt-rss.git/commitdiff
remove page title stuff for the time being
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Mar 2013 05:51:30 +0000 (09:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Mar 2013 05:51:30 +0000 (09:51 +0400)
config.php-dist
index.php
js/tt-rss.js
prefs.php
register.php

index 299f753ca9963df2d5db62477e0f879cab87e6ac..192cb15f923139ab6722f3d8f33bac2382670ee8 100644 (file)
        // 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).
index 5a37c0e988a719282e4cda9363cdeb936162ddf8..bf8eafe768c628f5d5cd2fd31c17e3ffb7e01003 100644 (file)
--- a/index.php
+++ b/index.php
@@ -53,7 +53,7 @@
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
-    <title><?php echo PAGE_TITLE ?></title>
+       <title>Tiny Tiny RSS</title>
 
        <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
        <?php echo stylesheet_tag("tt-rss.css"); ?>
index 1d6540dbb47e90c8b6a94551cda23d9e49bbf7e2..eaa1f3daf30852b3f913afb12e7eb6b1dbbb8363 100644 (file)
@@ -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;
index 9c59d6c4d6f651cc2fe1a54116b712a111e1bc33..0715f26e48aa73a82411649932df4054b3ac8ed9 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -23,7 +23,7 @@
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
-       <title><?php echo PAGE_TITLE ?> : <?php echo __("Preferences") ?></title>
+       <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
 
        <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
        <?php echo stylesheet_tag("tt-rss.css"); ?>
index 7339303273bda1e1e5058c34a2981a2b952db2fe..035a2cd8e06bc8ea3b3b9c16e4aff6a797296f17 100644 (file)
@@ -27,7 +27,7 @@
                print '<?xml version="1.0" encoding="utf-8"?>';
                print "<feed xmlns=\"http://www.w3.org/2005/Atom\">
                        <id>".htmlspecialchars(SELF_URL_PATH . "/register.php")."</id>
-                       <title><?php echo PAGE_TITLE ?> registration slots</title>
+                       <title>Tiny Tiny RSS registration slots</title>
                        <link rel=\"self\" href=\"".htmlspecialchars(SELF_URL_PATH . "/register.php?format=feed")."\"/>
                        <link rel=\"alternate\" href=\"".htmlspecialchars(SELF_URL_PATH)."\"/>";