その他?
<?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 if (exist_plugin_convert('menu2')) { ?>
<td class="menubar2">
<div id="menubar2">
<?php echo do_plugin_convert('menu2') ?>
</div>
</td>
<?php } ?>
以下のようになる。
<?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>
<?php if (exist_plugin_convert('menu2')) { ?>
<td class="menubar2">
<div id="menubar2">
<?php echo do_plugin_convert('menu2') ?>
</div>
</td>
<?php } ?>
</tr>
</table><!-- hatebu --> <a href="http://b.hatena.ne.jp/entry/<?php echo $link['reload'] ?>" class="hatena-bookmark-button" data-hatena-bookmark-title="dramsuko wiki" data-hatena-bookmark-layout="standard-balloon" title="このエントリーをはてなブックマークに追加"> <img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a> <script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
<!-- facebook core -->
<span id="fb-root"></span>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- /facebook core -->
<script>
<!--
var html = '<div class="fb-like" data-href="'+ encodeURIComponent(document.location) + '" data-send="false" data- layout="button_count" data-width="450" data-show-faces="true"></div>';
document.write(html);
-->
</script>
<!-- Twitter -->
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="ja">ツイート</a>
<script>!function(d,s,id){
var js,
fjs=d.getElementsByTagName(s) [0],
p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
<!-- google --> <!-- Place this tag in your head or just before your close body tag. --> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"> </script> <!-- Place this tag where you want the +1 button to render. --> <div class="g-plusone" data-annotation="inline" data-width="300" data-href="<? php echo $link['reload'] ?>"></div>
<script src="skin/jquery.min.js" type="text/javascript"></script> <script src="skin/jquery.socialbutton.js" type="text/javascript"></script>
<!-- jquery.socialbutton -->
<style>
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
/* End hide from IE-mac */
.block div {
margin-right: 15px;
float: left;
}
</style>
<script>
$(function() {
$('#evernote').socialbutton('evernote', {
url:document.URL,
button: 'site-mem-22',
styling: 'full'
});
$('#hatena').socialbutton('hatena', {
url:document.URL
});
$('#twitter').socialbutton('twitter', {
url:document.URL,
button: 'horizontal',
text: '',
via: 'YOUR_TWITTER_ID'
});
$('#facebook_like').socialbutton('facebook_like', {
button: 'button_count'
});
$('#google_plusone').socialbutton('google_plusone', {
lang: 'ja',
size: 'medium'
});
});
</script>
<br>
<div class="block clearfix">
<div id="evernote"></div>
<div id="hatena"></div>
<div id="twitter"></div>
<div id="google_plusone"></div>
<div id="facebook_like"></div>
</div>
ls bodycache.patch pukiwiki-1.5.1_utf8.zip unzip pukiwiki-1.5.1_utf8.zip cd pukiwiki-1.5.1_utf8 patch -p1 < ../bodycache.patch
[[index.php?plugin=yetlist>http://tar3.net/pukiwiki/index.php?plugin=yetlist]]
Today : &counter(today);~ Yesterday : &counter(yesterday);~ Total : &counter(total);~
.style_table {
padding:0px;
border:0px;
//margin:auto; ←を削る
margin:1em auto 1em 0; //←を追加<?php echo $head_tag ?>
<script type=”text/javascript”>
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘******’]);
_gaq.push([‘_trackPageview’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head><?php
function plugin_shadowheader_convert(){
if(func_num_args()<2){
return 'ERROR: argument shortage...';
}
$argv=func_get_args();
$header_level=$argv[0];
$header_str=$argv[1];
$shadowheader=array();
switch($header_level){
case 1:
$shadowheader[]='*'.$header_str;
break;
case 2:
$shadowheader[]='**'.$header_str;
break;
case 3:
$shadowheader[]='***'.$header_str;
break;
default:
break;
}
return convert_html($shadowheader);
}
?>RewriteEngine on RewriteRule ^([0-9]*)\.html$ index.php?plugin=pgid&id=$1
$auth_type = AUTH_TYPE_BASIC;
{
}
|
&br;
&t;
#ref( ページ名/添付ファイル名| 添付ファイル名[,ページ名]| URL {, [left|center|right], [wrap|nowrap], [around], [noicon], [noimg], [nolink], [zoom], [999x999], [999%] } [,タイトル] )
&ref( ページ名/添付ファイル名| 添付ファイル名[,ページ名]| URL {, [noicon], [noimg], [nolink], [zoom], [999x999], [999%] } [,タイトル] );
'#attach'でページに添付されたファイルを指定位置に展開します。添付ファイルが画像の場合は画像を表示し、それ以外の場合はダウンロード用のリンクを表示します。
添付ファイル名にはページに添付したファイル名を指定します(省略時はエラーとなります)。別ページ名/添付ファイル名とする事で別ページの添付ファイルも指定できます。ページ名を相対指定する事が可能です。
ページ名にはファイルを添付したページをWikiNameかBracketNameで指定、または相対指定します。このオプションは最初(添付ファイル名の次)に記述してください。省略時は設置したページです。
パラメータにはファイルの展開方法を指定できます。
PKWK_DISABLE_INLINE_IMAGE_FROM_URI が有効の場合、「URLであるかのように見えるURIによって、外部の画像をインライン表示させようとする行為」が無効化されます。
aroundで行った回り込み指定を解除するには clear?プラグイン、あるいはimg?プラグインを使用して下さい。
"ほげ"という別ページの添付ファイル"fuga.jpg"をインラインプラグイン形式で参照する場合、下記2通りの記述方法が存在します。
(1) &ref(ほげ/fuga.jpg); (2) &ref(fuga.jpg,[[ほげ]]);
上記2通りの記述のうち、(2)の記述方式は旧バージョンと互換性を維持するために用意されたもので、推奨される記述方式は(1)です。
いずれの記述方法であっても一般的な動作は同じですが、いわゆるバナー画像のように表示した画像が別ページへのリンクとなるよう以下の指定をした場合、
(1) [[&ref(ほげ/fuga.jpg,nolink,ウェブ名);>ウェブのURL]] (2) [[&ref(fuga.jpg,[[ほげ]],nolink,ウェブ名);>ウェブのURL]](1)の記述方法は期待通りの動作をしますが、(2)の記述方法ではうまくリンクされません。
(3) &ref(./fuga.jpg,50%); (4) &ref(ほげ/fuga.jpg,50%); (5) &ref(fuga.jpg,[[ほげ]],50%); (6) &ref(fuga.jpg,50%);(3)〜(5)は期待通りに同じ結果をしますが、(6)はエラーとなります。
(7) &ref(fuga.jpg);(7)は(6)と似た記述ですが、添付ファイル名の次の引数が省略されているため、エラーにはなりません。
&imgr(./image/jouhouSyoriKiso/256-1.jpg,100%)