|
From: OryNider <ory...@us...> - 2007-12-28 02:50:48
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28824/includes Modified Files: Tag: core28x 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.45.2.2 retrieving revision 1.45.2.3 diff -C2 -d -r1.45.2.2 -r1.45.2.3 *** page_header.php 27 Dec 2007 19:41:52 -0000 1.45.2.2 --- page_header.php 28 Dec 2007 02:50:41 -0000 1.45.2.3 *************** *** 522,525 **** --- 522,527 ---- header ('Pragma: no-cache'); + $icongif = 'favicon.gif'; + include($mx_root_path . 'mx_meta.inc'); $meta_str = '<meta name="title" content="' . $title .'" />' . "\n"; *************** *** 528,532 **** $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"; --- 530,539 ---- $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"; |