Implemented Feature #901926: Website / Shortcut Icon
authormr-russ <mr-russ>
Wed, 18 Apr 2007 15:01:15 +0000 (15:01 +0000)
committermr-russ <mr-russ>
Wed, 18 Apr 2007 15:01:15 +0000 (15:01 +0000)
Two links were added, one that works in most browsers to an existing png file
but also a new favicon.ico that is needed for IE support.

HISTORY
classes/Misc.php
images/themes/default/Favicon.ico [new file with mode: 0644]

diff --git a/HISTORY b/HISTORY
index 4c7b33cc2f7fa038669e2da3a5e0b12dc69e6e57..3bc727f33276c87ba404e6380f2f8b7bf448a472 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -5,6 +5,7 @@ Version 4.2
 -----------
 
 Features
+* Added favicon for Mozilla and a backwards compatible version for IE.
 * Login will allow browsers to save different usernames and passwords for different servers.
 * Pagination selection available fore reports
 * You can configure reports db, schema and table names
index 68b621698dc242f5b871bf136458cffb7e7f7e1e..bec28f32d0702c3a7f699fbeeb71edd57d21e804 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.142 2007/04/18 14:08:48 mr-russ Exp $
+        * $Id: Misc.php,v 1.143 2007/04/18 15:01:15 mr-russ Exp $
         */
         
        class Misc {
                                echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$lang['appcharset']}\" />\n";
                                // Theme
                                echo "<link rel=\"stylesheet\" href=\"themes/{$conf['theme']}/global.css\" type=\"text/css\" />\n";
+                               echo "<link rel=\"shortcut icon\" href=\"images/themes/{$conf['theme']}/Favicon.ico\" type=\"image/vnd.microsoft.icon\" />\n";
+                               echo "<link rel=\"icon\" type=\"image/png\" href=\"images/themes/{$conf['theme']}/Introduction.png\" />\n";
                                echo "<title>", htmlspecialchars($appName);
                                if ($title != '') echo " - {$title}";
                                echo "</title>\n";
diff --git a/images/themes/default/Favicon.ico b/images/themes/default/Favicon.ico
new file mode 100644 (file)
index 0000000..6a188d5
Binary files /dev/null and b/images/themes/default/Favicon.ico differ