diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2014-02-02 23:19:20 +0000 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2014-02-02 23:19:20 +0000 |
commit | bef81149e1bf796424d89edbb853fcda5d14052d (patch) | |
tree | bd6843907f824429967df4fe5f7925cb578d295a | |
parent | b681515186a3babebc4aed70588cda14646aa2dc (diff) | |
download | nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.gz nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.bz2 nav-bef81149e1bf796424d89edbb853fcda5d14052d.tar.xz nav-bef81149e1bf796424d89edbb853fcda5d14052d.zip |
add favicon on nav.mageia.org
-rw-r--r-- | g/favicon.png | bin | 0 -> 1184 bytes | |||
-rw-r--r-- | lib.php | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/g/favicon.png b/g/favicon.png Binary files differnew file mode 100644 index 0000000..5868d96 --- /dev/null +++ b/g/favicon.png @@ -265,7 +265,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); |