Skip to content

Commit

Permalink
Implemented Feature #901926: Website / Shortcut Icon
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mr-russ committed Apr 18, 2007
1 parent f8a7eb1 commit 97af089
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion classes/Misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -374,6 +374,8 @@ function printHeader($title = '', $script = null, $frameset = false) {
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";
Expand Down
Binary file added images/themes/default/Favicon.ico
Binary file not shown.

0 comments on commit 97af089

Please sign in to comment.