summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-12-18 13:15:31 +0300
committerAndrew Dolgov <[email protected]>2009-12-18 13:15:31 +0300
commit9ab798a58f5abb5d30173aeb716d9684fbe9cbec (patch)
treeda7f8720bee530ff02f986b7bf50e12b62970c63 /mobile
parentf0a0c1ff3d81f8a58459ea500968748d268a6e91 (diff)
mobile: misc fixes
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php20
-rw-r--r--mobile/prefs.php2
2 files changed, 11 insertions, 11 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)) {
diff --git a/mobile/prefs.php b/mobile/prefs.php
index b004b15ac..a42e31ce7 100644
--- a/mobile/prefs.php
+++ b/mobile/prefs.php
@@ -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">