aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-21 07:09:51 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-21 07:09:51 +0100
commitbd512ab60c5128cec449a48e7d0736303f961e89 (patch)
treee7675972310a06b55a5987dddb44beae63220a76 /include
parented37b1d166b22499c8f46e7f71e698a2985c9233 (diff)
parentc574e4c5879312f57db43436044285de56026f0b (diff)
downloadvolse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.gz
volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.bz2
volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'include')
-rw-r--r--include/items.php4
-rw-r--r--include/nav.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 1fdbc6fc2..f1169aeb4 100644
--- a/include/items.php
+++ b/include/items.php
@@ -636,8 +636,8 @@ function item_store($arr) {
// they came through.
$arr['body'] = str_replace(
- array('&amp;amp;','&amp;gt;','&amp;lt;'),
- array('&amp;' ,'&gt;' ,'&lt;'),
+ array('&amp;amp;', '&amp;gt;', '&amp;lt;', '&amp;quot;'),
+ array('&amp;' , '&gt;' , '&lt;', '&quot'),
$arr['body']
);
diff --git a/include/nav.php b/include/nav.php
index 96acf826d..94a71d227 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -34,7 +34,10 @@
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
}
else {
- $a->page['nav'] .= '<a id="nav-login-link" class="nav-login-link" href="login">' . t('Login') . "</a>\r\n";
+ $a->page['nav'] .= '<a id="nav-login-link" class="nav-login-link';
+ if ($a->module == 'login') { $a->page['nav'] .= ' nav-selected'; }
+
+ $a->page['nav'] .= '" href="login">' . t('Login') . "</a>\r\n";
}
$a->page['nav'] .= "<span id=\"nav-link-wrapper\" >\r\n";