<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: pukiwiki.skin.php,v 1.46 2005/05/23 14:22:30 henoheno Exp $
+// $Id: pukiwiki.skin.php,v 1.47 2006/03/07 14:00:40 henoheno Exp $
// Copyright (C)
// 2002-2005 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
// ------------------------------------------------------------
// Settings (define before here, if you want)
-// Set site logo
+// Set site identities
$_IMAGE['skin']['logo'] = 'pukiwiki.png';
+$_IMAGE['skin']['favicon'] = ''; // Sample: 'image/favicon.ico';
// SKIN_DEFAULT_DISABLE_TOPICPATH
// 1 = Show reload URL
<?php if (PKWK_ALLOW_JAVASCRIPT && isset($javascript)) { ?> <meta http-equiv="Content-Script-Type" content="text/javascript" /><?php } ?>
<title><?php echo $title ?> - <?php echo $page_title ?></title>
+
+ <link rel="SHORTCUT ICON" href="<?php echo $image['favicon'] ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="skin/pukiwiki.css.php?charset=<?php echo $css_charset ?>" charset="<?php echo $css_charset ?>" />
<link rel="stylesheet" type="text/css" media="print" href="skin/pukiwiki.css.php?charset=<?php echo $css_charset ?>&media=print" charset="<?php echo $css_charset ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $link['rss'] ?>" /><?php // RSS auto-discovery ?>
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: tdiary.skin.php,v 1.28 2005/08/01 15:19:02 henoheno Exp $
+// $Id: tdiary.skin.php,v 1.29 2006/03/07 14:00:40 henoheno Exp $
// Copyright (C)
// 2002-2005 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
// ------------------------------------------------------------
// Settings (define before here, if you want)
+// Set site identities
+$_IMAGE['skin']['favicon'] = ''; // Sample: 'image/favicon.ico';
+
// Select theme
if (! defined('TDIARY_THEME'))
define('TDIARY_THEME', 'loose-leaf'); // Default
$lang = & $_LANG['skin'];
$link = & $_LINK;
+$image = & $_IMAGE['skin'];
$rw = ! PKWK_READONLY;
// Decide charset for CSS
<title><?php echo $title ?> - <?php echo $page_title ?></title>
+ <link rel="SHORTCUT ICON" href="<?php echo $image['favicon'] ?>" />
<link rel="stylesheet" type="text/css" media="all" href="skin/theme/base.css" />
<link rel="stylesheet" type="text/css" media="all" href="skin/theme/<?php echo $theme ?>/<?php echo $theme ?>.css" />
<link rel="stylesheet" type="text/css" media="screen" href="skin/tdiary.css.php?charset=<?php echo $css_charset ?>&color=<?php echo $css_theme ?>" charset="<?php echo $css_charset ?>" />