diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2014-06-08 15:10:50 +0000 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2014-06-08 15:10:50 +0000 |
commit | 1916d88a8eef30349d4c6da3c001d13aa72e7b52 (patch) | |
tree | dfecfc090303369152cd6c036aeb6dc6e7db06c8 /_nav/lib.php | |
parent | b413a35e764fec5a0019e8ea71ca42d5a3976809 (diff) | |
download | www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.gz www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.bz2 www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.tar.xz www-1916d88a8eef30349d4c6da3c001d13aa72e7b52.zip |
sync nav
Diffstat (limited to '_nav/lib.php')
-rw-r--r-- | _nav/lib.php | 6 |
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); |