]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: misc fixes
authorAndrew Dolgov <fox@bah.org.ru>
Fri, 18 Dec 2009 10:15:31 +0000 (13:15 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Fri, 18 Dec 2009 10:15:31 +0000 (13:15 +0300)
mobile/functions.php
mobile/prefs.php

index ff0510dcd4904aa40d2b047af40b1f2f8b166188..20accdc5e7905a7cf59f0613478c5d3de21bfff2 100644 (file)
@@ -44,8 +44,8 @@
                                parent_feed IS NULL
                        ORDER BY $order_by"); 
        
-               print '<ul id="home" title="Feeds" selected="true"
-                       myBackLabel="Logout" myBackHref="logout.php" myBackTarget="_self">';
+               print '<ul id="home" title="'.__('Home').'" selected="true"
+                       myBackLabel="'.__('Logout').'" myBackHref="logout.php" myBackTarget="_self">';
 
        //              print "<li><a href='#cat-actions'>".__('Actions...')."</a></li>";
        
                        
                        $title = getCategoryTitle($link, $cat_id);
        
-                       print "<ul id='cat-$cat_id' title='$title' myBackLabel='Feeds'
+                       print "<ul id='cat-$cat_id' title='$title' myBackLabel='".__("Home")."'
                                myBackHref='home.php'>";
        
        //              print "<li><a href='#cat-actions'>".__('Actions...')."</a></li>";
 
                        $title = __('Special');
 
-                       print "<ul id='cat--1' title='$title' myBackLabel='Feeds'
-                               myBackHref='index.php' myBackTarget='_self'>";
+                       print "<ul id='cat--1' title='$title' myBackLabel='".__("Home")."'
+                               myBackHref='home.php'>";
 
                        foreach (array(-4, -1,-2,-3) as $id) {
                                $title = getFeedTitle($link, $id);
 
                        $title = __('Labels');
 
-                       print "<ul id='cat--2' title='$title' myBackLabel='Feeds'
-                               myBackHref='index.php' myBackTarget='_self'>";
+                       print "<ul id='cat--2' title='$title' myBackLabel='".__("Home")."'
+                               myBackHref='home.php'>";
 
                        $result = db_query($link, "SELECT id, caption FROM ttrss_labels2
                                WHERE owner_uid = '$owner_uid'");
                $owner_uid = $_SESSION["uid"];
 
 
-               print '<ul id="home" title="'.__('Categories').'" selected="true"
-                       myBackLabel="Logout" myBackHref="logout.php" myBackTarget="_self">';
+               print '<ul id="home" title="'.__('Home').'" selected="true"
+                       myBackLabel="'.__('Logout').'" myBackHref="logout.php" myBackTarget="_self">';
 
                foreach (array(-1, -2) as $id) {
                        $title = getCategoryTitle($link, $id);
                                myBackLabel='$cat_title' myBackHref='cat.php?id=$cat_id'>";
                } else {
                        print "<ul id=\"feed-$feed_id\" title=\"$feed_title\" selected=\"true\"
-                               myBackLabel='Feeds' myBackHref='home.php'>";
+                               myBackLabel='".__("Home")."' myBackHref='home.php'>";
                }
 
                while ($line = db_fetch_assoc($result)) {
index b004b15ac9f2c9e12abb5f1c14411792432945e5..a42e31ce74743fe1472eb9f890b3add1f4c983f6 100644 (file)
@@ -22,7 +22,7 @@
 ?>
 
 <div class="panel" id="prefs" selected="yes" title="Preferences"
-       myBackLabel="Feeds" myBackHref="home.php">
+       myBackLabel="<?php echo __('Home') ?>" myBackHref="home.php">
 
 <fieldset>
 <div class="row">