aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2014-06-08 15:10:50 +0000
committerManuel Hiebel <leuhmanu@mageia.org>2014-06-08 15:10:50 +0000
commit1916d88a8eef30349d4c6da3c001d13aa72e7b52 (patch)
treedfecfc090303369152cd6c036aeb6dc6e7db06c8
parentb413a35e764fec5a0019e8ea71ca42d5a3976809 (diff)
downloadwww-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar
www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.gz
www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.bz2
www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.xz
www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.zip
sync nav
-rw-r--r--_nav/lib.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/_nav/lib.php b/_nav/lib.php
index ce02257b0..a615f4336 100644
--- a/_nav/lib.php
+++ b/_nav/lib.php
@@ -190,7 +190,7 @@ class l10n
if (file_exists($po_file)) {
$dictionary = phpmo_parse_po_file($po_file);
-
+
foreach ($dictionary as $key => $value) {
if ($key != '') {
if ($value['msgstr'][0] != '') {
@@ -299,7 +299,9 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www.
$h = sprintf('<!--googleoff: all--><nav id="mgnav"><ul id="nav">%s</ul></nav><!--googleon: all-->', $s);
if ($wrap)
- $h = sprintf('<header id="hmgn">%s</header>', $h);
+ $h = sprintf('<header id="hmgn">%s
+<link rel="icon" type="image/png" href="/g/favicon.png" />
+</header>', $h);
if (!is_null($cache))
$cache->set($key, $h);