diff options
author | Andrew Dolgov <[email protected]> | 2009-12-18 13:15:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-12-18 13:15:31 +0300 |
commit | 9ab798a58f5abb5d30173aeb716d9684fbe9cbec (patch) | |
tree | da7f8720bee530ff02f986b7bf50e12b62970c63 /mobile/functions.php | |
parent | f0a0c1ff3d81f8a58459ea500968748d268a6e91 (diff) |
mobile: misc fixes
Diffstat (limited to 'mobile/functions.php')
-rw-r--r-- | mobile/functions.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mobile/functions.php b/mobile/functions.php index ff0510dcd..20accdc5e 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -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>"; @@ -114,7 +114,7 @@ $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>"; @@ -150,8 +150,8 @@ $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); @@ -175,8 +175,8 @@ $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'"); @@ -210,8 +210,8 @@ $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); @@ -311,7 +311,7 @@ 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)) { |