[[欲しいプラグイン]] <?php // PukiWiki - Yet another WikiWikiWeb clone. // $Id: pukiwiki.skin.php,v 1.48 2006/03/07 14:03:02 henoheno Exp $ // Copyright (C) // 2002-2006 PukiWiki Developers Team // 2001-2002 Originally written by yu-ji // License: GPL v2 or (at your option) any later version // // PukiWiki default skin <?php // PukiWiki - Yet another WikiWikiWeb clone. // $Id: pukiwiki.css.php,v 1.10 2005/01/25 15:07:26 henoheno Exp $ // // Defaul CSS // ------------------------------------------------------------ // Settings (define before here, if you want) // Send header header('Content-Type: text/css'); $matches = array(); if(ini_get('zlib.output_compression') && preg_match('/\b(gzip|deflate)\b/i', $_SERVER['HTTP_ACCEPT_ENCODING'], $matches)) { header('Content-Encoding: ' . $matches[1]); header('Vary: Accept-Encoding'); } // Set site identities $_IMAGE['skin']['logo'] = 'pukiwiki.png'; $_IMAGE['skin']['favicon'] = ''; // Sample: 'image/favicon.ico'; // Default charset $charset = isset($_GET['charset']) ? $_GET['charset'] : ''; switch ($charset) { case 'Shift_JIS': break; /* this @charset is for Mozilla's bug */ default: $charset ='iso-8859-1'; } // SKIN_DEFAULT_DISABLE_TOPICPATH // 1 = Show reload URL // 0 = Show topicpath if (! defined('SKIN_DEFAULT_DISABLE_TOPICPATH')) define('SKIN_DEFAULT_DISABLE_TOPICPATH', 0); // 1, 0 // Media $media = isset($_GET['media']) ? $_GET['media'] : ''; if ($media != 'print') $media = 'screen'; // Show / Hide navigation bar UI at your choice // NOTE: This is not stop their functionalities! if (! defined('PKWK_SKIN_SHOW_NAVBAR')) define('PKWK_SKIN_SHOW_NAVBAR', 1); // 1, 0 // Output CSS ---- ?> @charset "<?php echo $charset ?>"; // Show / Hide toolbar UI at your choice // NOTE: This is not stop their functionalities! if (! defined('PKWK_SKIN_SHOW_TOOLBAR')) define('PKWK_SKIN_SHOW_TOOLBAR', 1); // 1, 0 /* 2005-1-26 作成ファイル */ // ------------------------------------------------------------ // Code start /* this @charset is for mozilla's bug */ /* ///////////////////////////////////////////////// // PukiWiki - Yet another WikiWikiWeb clone. // // $Id: default.ja.css,v 1.32 2004/07/31 03:09:20 henoheno Exp $ // */ [#d04b683c] body { color: #FFFFFF; padding-top:0px; padding-bottom:0px; margin:50px 10% 50px 250px; font-family: verdana, arial, helvetica, Sans-Serif; background-image:url(../image/backline.jpg); font-size:80%; } // Prohibit direct access if (! defined('UI_LANG')) die('UI_LANG is not set'); if (! isset($_LANG)) die('$_LANG is not set'); if (! defined('PKWK_READONLY')) die('PKWK_READONLY is not set'); div.main{ text-align:center; } div.main_in{ margin-left:auto;margin-right:auto;text-align:justify; width:100%; margin-top:0px; border-top:solid #AAAAAA 4px; border-left:solid #999999 1px; border-bottom:solid #999999 1px; border-right:solid #999999 1px; background-color:white; } $lang = & $_LANG['skin']; $link = & $_LINK; $image = & $_IMAGE['skin']; $rw = ! PKWK_READONLY; // Decide charset for CSS $css_charset = 'iso-8859-1'; switch(UI_LANG){ case 'ja': $css_charset = 'Shift_JIS'; break; } pre, dl, ol, p, blockquote { line-height:130%; } // ------------------------------------------------------------ // Output blockquote { margin-left:32px; } // HTTP headers pkwk_common_headers(); header('Cache-control: no-cache'); header('Pragma: no-cache'); header('Content-Type: text/html; charset=' . CONTENT_CHARSET); td { padding-top:0px; padding-bottom:0px; margin-left: 10%; margin-right: 10%; font-size: 14px; font-family: verdana, arial, helvetica, Sans-Serif; } // HTML DTD, <html>, and receive content-type if (isset($pkwk_dtd)) { $meta_content_type = pkwk_output_dtd($pkwk_dtd); } else { $meta_content_type = pkwk_output_dtd(); } a:link{ color:#3399FF; font-weight: bold; text-decoration: none;} a:active{ color: #3399FF; text-decoration: none; }a:visited{ color: #3399FF; font-weight: bold; text-decoration: none; }a:hover{ color:red; font-weight: bold; text-decoration: underline; } h1{ } h1.title { font-size: 12px; font-weight:900; letter-spacing:0.1em; background-color:#000000; padding: 18px 2px 0px 20px; margin: 0px 0px 0px 0px; font-family:verdana,helvetica, arial, Sans-Serif; background-image : url("../image/h1title.gif"); background-position:left bottom; background-repeat:no-repeat; } #header h1.title a:hover{color:white;} #header h1.title a:link{color:white;} #header h1.title a:active{color:white;} #header h1.title a:visited{color:white;} ?> <head> <?php echo $meta_content_type ?> <meta http-equiv="content-style-type" content="text/css" /> <?php if ($nofollow || ! $is_read) { ?> <meta name="robots" content="NOINDEX,NOFOLLOW" /><?php } ?> <?php if (PKWK_ALLOW_JAVASCRIPT && isset($javascript)) { ?> <meta http-equiv="Content-Script-Type" content="text/javascript" /><?php } ?> //h2{dy // color:#666666; // padding:30px 5px 35px 29px; // margin:5px 0px 5px -20px; // width:100%; // font-size:100%; // background-image : url("../image/h2back_f.jpg"); // background-position:left center; // background-repeat:no-repeat; // background-color:#ffffff; //} <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="screen" href="skin/menubar.css" charset="euc-jp" /> <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 ?> h2{ margin-left: 0pt; font-size: 10pt; font-weight: bold ; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #000000; color: #B82619; border-style: solid; border-width: 2px; padding: 12pt; color: #FFFFFF; border-top-width: 1px; border-right-width: 5px; border-bottom-width: 1px; border-left-width: 5px; border-style :double;} <?php if (PKWK_ALLOW_JAVASCRIPT && $trackback_javascript) { ?> <script type="text/javascript" src="skin/trackback.js"></script><?php } ?> <?php echo $head_tag ?> </head> <body> //h3{ // font-size:100%; // color:#666666; // padding:12px 5px 14px 27px; // margin-left:0px 0px 0px -20px; // border-bottom:solid white 1px; // background-image : url("../image/h3back.gif"); // background-position:left center; // background-repeat:no-repeat; //} <div id="header"> <a href="<?php echo $link['top'] ?>"><img id="logo" src="<?php echo IMAGE_DIR . $image['logo'] ?>" width="80" height="80" alt="[PukiWiki]" title="[PukiWiki]" /></a> h3{ margin-left: 0pt; font-size: 10pt; font-weight: bold ; font-family: Verdana, Arial, Helvetica, sans-serif; // background-color: #000000; color: #red; border-style: solid; border-width: 2px; padding: 6pt;s color: #FFFFFF; border-top-width: 1px; border-right-width: 3px; border-bottom-width: 1px; border-left-width: 3px; border-style :double;} <h1 class="title"><?php echo $page ?></h1> <?php if ($is_page) { ?> <?php if(SKIN_DEFAULT_DISABLE_TOPICPATH) { ?> <a href="<?php echo $link['reload'] ?>"><span class="small"><?php echo $link['reload'] ?></span></a> <?php } else { ?> <span class="small"> <?php require_once(PLUGIN_DIR . 'topicpath.inc.php'); echo plugin_topicpath_inline(); ?> </span> <?php } ?> <?php } ?> //h4{ // font-size:100%; // color:#666666; // padding:9px 5px 14px 35px; // margin-left:0px 0px 0px -15px; // background-image : url("../image/h4back.jpg"); // background-position:left center; // background-repeat:no-repeat; //} </div> h4{ margin-left: 0pt; font-size: 10pt; font-weight: bold ; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #000000; color: #B82619; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; padding: 2pt; color: #FFFFFF; } <div id="navigator"> <?php if(PKWK_SKIN_SHOW_NAVBAR) { ?> <?php function _navigator($key, $value = '', $javascript = ''){ $lang = & $GLOBALS['_LANG']['skin']; $link = & $GLOBALS['_LINK']; if (! isset($lang[$key])) { echo 'LANG NOT FOUND'; return FALSE; } if (! isset($link[$key])) { echo 'LINK NOT FOUND'; return FALSE; } if (! PKWK_ALLOW_JAVASCRIPT) $javascript = ''; echo '<a href="' . $link[$key] . '" ' . $javascript . '>' . (($value === '') ? $lang[$key] : $value) . '</a>'; h5, h6{ font-family: verdana, arial, helvetica, Sans-Serif; color :#999999; padding: .3em; border-bottom:solid 1px #999999; background-color:#cccccc; margin:0px 0px 20px 0px; text-align:center; } return TRUE; } ?> [ <?php _navigator('top') ?> ] <?php if ($is_page) { ?> [ <?php if ($rw) { ?> <?php _navigator('edit') ?> | <?php if ($is_read && $function_freeze) { ?> <?php (! $is_freeze) ? _navigator('freeze') : _navigator('unfreeze') ?> | <?php } ?> <?php } ?> <?php _navigator('diff') ?> <?php if ($do_backup) { ?> | <?php _navigator('backup') ?> <?php } ?> <?php if ($rw && (bool)ini_get('file_uploads')) { ?> | <?php _navigator('upload') ?> <?php } ?> | <?php _navigator('reload') ?> ] <?php } ?> dt { font-weight:bold; margin-top:1em; margin-left:1em; } [ <?php if ($rw) { ?> <?php _navigator('new') ?> | <?php } ?> <?php _navigator('list') ?> <?php if (arg_check('list')) { ?> | <?php _navigator('filelist') ?> <?php } ?> | <?php _navigator('search') ?> | <?php _navigator('recent') ?> | <?php _navigator('help') ?> ] pre { border-top:#DDDDEE 1px solid; border-bottom:#888899 1px solid; border-left:#DDDDEE 1px solid; border-right:#888899 1px solid; padding:.5em; margin-left:1em; margin-right:2em; white-space:pre; color:black; background-color:#F0F8FF; } <?php if ($trackback) { ?> [ <?php _navigator('trackback', $lang['trackback'] . '(' . tb_count($_page) . ')', ($trackback_javascript == 1) ? 'onclick="OpenTrackback(this.href); return false"' : '') ?> ] <?php } ?> <?php if ($referer) { ?> [ <?php _navigator('refer') ?> ] <?php } ?> <?php } // PKWK_SKIN_SHOW_NAVBAR ?> </div> img { border:none; vertical-align:middle; } <?php echo $hr ?> ul { margin-top:.5em; margin-bottom:.5em; line-height:130%; } <?php if (arg_check('read') && exist_plugin_convert('menu')) { ?> <table border="0" style="width:100%"> <tr> <td class="menubar"> <div id="menubar"><?php echo do_plugin_convert('menu') ?></div> </td> <td valign="top"> <div id="body"><?php echo $body ?></div> </td> </tr> </table> <?php } else { ?> <div id="body"><?php echo $body ?></div> <?php } ?> em { font-style:italic; } <?php if ($notes != '') { ?> <div id="note"><?php echo $notes ?></div> <?php } ?> strong { font-weight:bold; } <?php if ($attaches != '') { ?> <div id="attach"> <?php echo $hr ?> <?php echo $attaches ?> </div> <?php } ?> thead td.style_td, tfoot td.style_td { color:inherit; background-color:#D0D8E0; } thead th.style_th, tfoot th.style_th { color:inherit; background-color:#E0E8F0; } .style_table { padding:0px; border:0px; margin:auto; text-align:left; color:inherit; background-color:#FFFFFF; } .style_th { padding:5px; margin:1px; text-align:center; color:inherit; background-color:#EEEEEE; } .style_td { padding:5px; margin:1px; color:inherit; background-color:#000000; } <?php echo $hr ?> ul.list1 { list-style-type:disc; } ul.list2 { list-style-type:circle; } ul.list3 { list-style-type:square; } ol.list1 { list-style-type:decimal; } ol.list2 { list-style-type:lower-roman; } ol.list3 { list-style-type:lower-alpha; } <?php if (PKWK_SKIN_SHOW_TOOLBAR) { ?> <!-- Toolbar --> <div id="toolbar"> <?php div.ie5 { text-align:center; } // Set toolbar-specific images $_IMAGE['skin']['reload'] = 'reload.png'; $_IMAGE['skin']['new'] = 'new.png'; $_IMAGE['skin']['edit'] = 'edit.png'; $_IMAGE['skin']['freeze'] = 'freeze.png'; $_IMAGE['skin']['unfreeze'] = 'unfreeze.png'; $_IMAGE['skin']['diff'] = 'diff.png'; $_IMAGE['skin']['upload'] = 'file.png'; $_IMAGE['skin']['copy'] = 'copy.png'; $_IMAGE['skin']['rename'] = 'rename.png'; $_IMAGE['skin']['top'] = 'top.png'; $_IMAGE['skin']['list'] = 'list.png'; $_IMAGE['skin']['search'] = 'search.png'; $_IMAGE['skin']['recent'] = 'recentchanges.png'; $_IMAGE['skin']['backup'] = 'backup.png'; $_IMAGE['skin']['help'] = 'help.png'; $_IMAGE['skin']['rss'] = 'rss.png'; $_IMAGE['skin']['rss10'] = & $_IMAGE['skin']['rss']; $_IMAGE['skin']['rss20'] = 'rss20.png'; $_IMAGE['skin']['rdf'] = 'rdf.png'; span.noexists { color:inherit; background-color:#FFFACC; } .small { font-size:70%; padding-bottom:10px; } .super_index { color:#DD3333; background-color:inherit; font-weight:bold; font-size:60%; vertical-align:super; } function _toolbar($key, $x = 20, $y = 20){ $lang = & $GLOBALS['_LANG']['skin']; $link = & $GLOBALS['_LINK']; $image = & $GLOBALS['_IMAGE']['skin']; if (! isset($lang[$key]) ) { echo 'LANG NOT FOUND'; return FALSE; } if (! isset($link[$key]) ) { echo 'LINK NOT FOUND'; return FALSE; } if (! isset($image[$key])) { echo 'IMAGE NOT FOUND'; return FALSE; } a.note_super { color:#DD3333; background-color:inherit; font-weight:bold; font-size:60%; vertical-align:super; } echo '<a href="' . $link[$key] . '">' . '<img src="' . IMAGE_DIR . $image[$key] . '" width="' . $x . '" height="' . $y . '" ' . 'alt="' . $lang[$key] . '" title="' . $lang[$key] . '" />' . '</a>'; return TRUE; } ?> <?php _toolbar('top') ?> div.jumpmenu { font-size:60%; text-align:right; } <?php if ($is_page) { ?> <?php if ($rw) { ?> <?php _toolbar('edit') ?> <?php if ($is_read && $function_freeze) { ?> <?php if (! $is_freeze) { _toolbar('freeze'); } else { _toolbar('unfreeze'); } ?> <?php } ?> <?php } ?> <?php _toolbar('diff') ?> <?php if ($do_backup) { ?> <?php _toolbar('backup') ?> <?php } ?> <?php if ($rw) { ?> <?php if ((bool)ini_get('file_uploads')) { ?> <?php _toolbar('upload') ?> <?php } ?> <?php _toolbar('copy') ?> <?php _toolbar('rename') ?> <?php } ?> <?php _toolbar('reload') ?> <?php } ?> <?php if ($rw) { ?> <?php _toolbar('new') ?> <?php } ?> <?php _toolbar('list') ?> <?php _toolbar('search') ?> <?php _toolbar('recent') ?> <?php _toolbar('help') ?> <?php _toolbar('rss10', 36, 14) ?> </div> <?php } // PKWK_SKIN_SHOW_TOOLBAR ?> hr.full_hr { border-style:solid; border-color:#DF1F2B; border-width:0px 0px; } hr.note_hr { display:none; } <?php if ($lastmodified != '') { ?> <div id="lastmodified">Last-modified: <?php echo $lastmodified ?></div> <?php } ?> span.size1 { font-size:xx-small; line-height:130%; text-indent:0px; display:inline; } span.size2 { font-size:x-small; line-height:130%; text-indent:0px; display:inline; } span.size3 { font-size:small; line-height:130%; text-indent:0px; display:inline; } span.size4 { font-size:medium; line-height:130%; text-indent:0px; display:inline; } span.size5 { font-size:large; line-height:130%; text-indent:0px; display:inline; } span.size6 { font-size:x-large; line-height:130%; text-indent:0px; display:inline; } span.size7 { font-size:xx-large; line-height:130%; text-indent:0px; display:inline; } <?php if ($related != '') { ?> <div id="related">Link: <?php echo $related ?></div> <?php } ?> /* html.php/catbody() */ strong.word0 { background-color:#FFFF66; color:black; } strong.word1 { background-color:#A0FFFF; color:black; } strong.word2 { background-color:#99FF99; color:black; } strong.word3 { background-color:#FF9999; color:black; } strong.word4 { background-color:#FF66FF; color:black; } strong.word5 { background-color:#880000; color:white; } strong.word6 { background-color:#00AA00; color:white; } strong.word7 { background-color:#886800; color:white; } strong.word8 { background-color:#004699; color:white; } strong.word9 { background-color:#CCCC33; color:white; } <div id="footer"> Site admin: <a href="<?php echo $modifierlink ?>"><?php echo $modifier ?></a><p /> <?php echo S_COPYRIGHT ?>. Powered by PHP <?php echo PHP_VERSION ?>. HTML convert time: <?php echo $taketime ?> sec. </div> /* html.php/edit_form() */ .edit_form { clear:both; } </body> </html> /* pukiwiki.skin.*.php */ div#header { padding:0px 0px 10px 20px; margin:0px; background-color:#000000; } div#header a{ color:#cc9999; margin:0px; } #urltext{ font-size:60%; padding-bottom:10px; } div#navigator { clear:both; padding:4px 0px 0px 0px; margin:0px; font-size:12px; padding:5px 5px 5px 10px; background-color:#DF1F2B; } td.menubar { width:130px; vertical-align:top; } div#pukiwiki{ position:absolute;top:50px; left:30px; width:200px; line-height:98px; padding:0px; margin:0px; word-break:break-all; font-size:90%; overflow:hidden; background-image : url("../image/pukiwiki.gif"); background-position:left; background-repeat:no-repeat; } div#menubar { position:absolute;top:155px; left:30px; width:200px; padding:1px; margin:0px 0px 50px 0px; word-break:break-all; overflow:hidden; background-image:url(../image/bg.gif); border:solid 1px #999999; } div#menubar ul { margin:0px 0px 0px .5em; padding:1em; font-size:80%; } div#menubar ul li { line-height:110%; } div#menubar h4 { font-size:100%; } div#body { padding:0px; margin:0px 0px 0px .5em; } div#note { clear:both; padding:3px 10px 3px 25px; margin:25px 0px 9px 0px; border-top:1px dotted #999999; background-color:#ffffff; text-align:left; } div#attach { clear:both; padding:2px 0px 8px 0px; margin:0px; border-bottom:5px solid #C4D5BA; } div#toolbar { clear:both; border-top:solid 1px #999999; padding:4px 25px 10px 25px; margin:0px; text-align:right; background-color:#000000; } div#lastmodified { font-size:70%; padding:8px 25px 8px 25px; margin:0px; background-color:#000000; border-top:solid 1px #999999; } div#related { font-size:70%; padding:8px 25px 8px 25px; margin:0px 0px 0px 0px; background-color:#000000; border-top:dotted 1px #999999; } div#footer { font-size:70%; padding:8px 25px 8px 25px; margin:0px 0px 0px 0px; background-color:#000000; border-top:dotted 1px #999999; } div#preview { color:inherit; background-color:#F5F8FF; } img#logo { position:absolute;top:40px; left:510px; margin-right:20px; } /* aname.inc.php */ .anchor { } .anchor_super { font-size:xx-small; vertical-align:super; } /* br.inc.php */ br.spacer { } /* calendar*.inc.php */ .style_calendar { padding:0px; border:0px; margin:3px; color:inherit; background-color:#CCD5DD; text-align:center; } .style_td_caltop { padding:5px; margin:1px; color:inherit; background-color:#EEF5FF; font-size:80%; text-align:center; } .style_td_today { padding:5px; margin:1px; color:inherit; background-color:#FFFFDD; text-align:center; } .style_td_sat { padding:5px; margin:1px; color:inherit; background-color:#DDE5FF; text-align:center; } .style_td_sun { padding:5px; margin:1px; color:inherit; background-color:#FFEEEE; text-align:center; } .style_td_blank { padding:5px; margin:1px; color:inherit; background-color:#EEF5FF; text-align:center; } .style_td_day { padding:5px; margin:1px; color:inherit; background-color:#EEF5FF; text-align:center; } .style_td_week { padding:5px; margin:1px; color:inherit; background-color:#DDE5EE; font-size:80%; font-weight:bold; text-align:center; } /* clear.inc.php */ .clear{ margin:0px; clear:both; } /* counter.inc.php */ div.counter { font-size:70%; } /* diff.inc.php */ span.diff_added { color:blue; background-color:inherit; } span.diff_removed { color:red; background-color:inherit; } /* hr.inc.php */ hr.short_line { text-align:center; width:80%; border-style:solid; border-color:#333333; border-width:1px 0px; } /* include.inc.php */ h5.side_label { text-align:center; } /* navi.inc.php */ ul.navi { margin:0px; padding:0px; text-align:center; } li.navi_none { display:inline; float:none; } li.navi_left { display:inline; float:left; text-align:left; } li.navi_right { display:inline; float:right; text-align:right; } /* new.inc.php */ span.comment_date { font-size:x-small; } span.new1 { color:red; background-color:transparent; font-size:x-small; } span.new5 { color:green; background-color:transparent; font-size:xx-small; } /* popular.inc.php */ span.counter { font-size:70%; } ul.popular_list { /* padding:0px; border:0px; margin:0px 0px 0px 1em; word-wrap:break-word; word-break:break-all; */ [#j8cae8d2] } /* recent.inc.php,showrss.inc.php */ ul.recent_list { /* padding:0px; border:0px; margin:0px 0px 0px 1em; word-wrap:break-word; word-break:break-all; */ [#j3d05a78] } /* ref.inc.php */ div.img_margin { margin-left:32px; margin-right:32px; } /* vote.inc.php */ td.vote_label { color:inherit; background-color:#FFCCCC; } td.vote_td1 { color:inherit; background-color:#DDE5FF; } td.vote_td2 { color:inherit; background-color:#EEF5FF; } /* 主な新規指定 */ .body{ background-image:url(../image/bg.gif); color:#FFFFFF; padding:30px; margin:0px; font-size:100%; line-height:130%; } .body a:link{color:#1E90FF;text-decoration:none;} .body a:hover{color:red;text-decoration:underline;} .body a:active{color:black;text-decoration:underline;} .body a:visited{color:#1E90FF;text-decoration:none;} ul li{ list-style-image:url("../image/list_a.jpg"); }ul ul li{ list-style-image:url("../image/list_b.gif"); }ul ul ul li{ list-style-image:url("../image/list_f.gif"); } #menubar ul li{ list-style-image:url("../image/list_d.gif"); margin-left:10px; font-size:13px; } #menubar div strong{ font-size:80%; padding:0px 0px 0px 10px; color:#99999; } #menubar table td{ padding:0px; font-size:70%; }