|
From: OryNider <ory...@us...> - 2007-12-28 02:51:32
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29240/includes Modified Files: page_header.php Log Message: animated favicon added, by removing the gif file the code will act like beafore. Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** page_header.php 17 Dec 2007 07:02:08 -0000 1.48 --- page_header.php 28 Dec 2007 02:51:28 -0000 1.49 *************** *** 652,655 **** --- 652,657 ---- header ('Pragma: no-cache'); + $icongif = 'favicon.gif'; + include($mx_root_path . 'mx_meta.inc'); $meta_str = '<meta name="title" content="' . $title .'" />' . "\n"; *************** *** 658,662 **** $meta_str .= '<meta name="keywords" content="' . $keywords .'" />' . "\n"; $meta_str .= '<meta name="description" lang="' . $langcode .'" content="'. $description .'" />' . "\n"; ! $meta_str .= '<link rel="icon" href="' . $icon .'" />' . "\n"; $meta_str .= '<meta name="category" content="' . $rating .'" />' . "\n"; --- 660,669 ---- $meta_str .= '<meta name="keywords" content="' . $keywords .'" />' . "\n"; $meta_str .= '<meta name="description" lang="' . $langcode .'" content="'. $description .'" />' . "\n"; ! $meta_str .= '<link rel="shortcut icon" href="' . $icon .'" />' . "\n"; ! ! if (file_exists($mx_root_path . $icongif)) ! { ! $meta_str .= '<link rel="icon" href="' . $icongif .'" type="image/gif" />' . "\n"; ! } $meta_str .= '<meta name="category" content="' . $rating .'" />' . "\n"; |