過去物/PukiWiki改造メモ

Top > 過去物 > PukiWiki改造メモ
Table of Contents

<pre>...</pre>
#pre...#pre(end)
class Body extends Block
function parse(&$lines)

$this->tagblock($lines, '#pre2', '#pre2(end)', 'Pre_inline');
$this->tagblock($lines, '#pre', '#pre(end)','Pre');

<img style="float:right;" src="image/edit.png" alt="Edit" title="Edit" />
<img class="paraedit" src="image/edit.png" alt="Edit" title="Edit" />

.anchor_super{
   display:none;
}
	function getAnchor($text,$level)
	{
		global $top,$_symbol_anchor;
		
		$anchor = (($id = make_heading($text,FALSE)) == '') ?
			'' : " &aname($id,super,full)\{$_symbol_anchor};";
		$edit = ($anchor == '') ? '' : " &edit(,$id);";
		$text = ' '.$text;
		$id = "content_{$this->id}_{$this->count}";
		$this->count++;
		$this->contents_last = &$this->contents_last->add(new Contents_UList($text,$level,$id));
		
		return array($edit . $text . $anchor, $this->count > 1 ? "\n$top" : '', $id);
	}

	return preg_replace('/<ul[^>]*>/','<ul>',convert_html(get_source($page)));
	$menutext = preg_replace('/^(\*{1,3}.*)\[#[A-Za-z][\w-]+\](.*)$/m', '$1$2', get_source($page));
	return preg_replace('/<ul[^>]*>/','<ul>',convert_html($menutext));
function plugin_edit_parts($id,&$source,$postdata='')
{
	$postdata = rtrim($postdata)."\n";
	$heads = preg_grep('/^\*{1,3}.+$/',$source);
	while (list($start,$line) = each($heads))
	{
		if (preg_match("/\[#$id\]/",$line))
		{
		$span = strspn($line,"\*");
		while(list($end,$line) = each($heads))
		{
			if(preg_match("/^\*{1,{$span}}(?!\*).+$/",$line))
			{
			return join('',array_splice($source,$start,$end - $start,$postdata));
			}
		}
		return join('',array_splice($source,$start,count($source)-$start,$postdata));
		}
	}
	return FALSE;
}
<div style="margin:0px 0px 0px auto;text-align:right;" title="$areaedit_start_no">
...
</div>
<div class="areaedit" title="$areaedit_start_no">
...
</div>
<img src="image/edit.png" alt="Edit" title="Edit" />

UNIXコマンド一覧/テキスト処理/less - ページャ
#topicpath

  • //	自分のページに対するリンクを表示するかどうか
    define("PLUGIN_TOPICPATH_THIS_PAGE_DISPLAY",FALSE);

//define(_EDIT_LINK, '<div style="text-align: right; font-size: x-small; 
padding: 0px; "><a href="%s">[edit]</a></div>');
define(_EDIT_LINK, '<div class="paraedit"><a href="%s">[edit]</a></div>');
div.paraedit{
  text-align: right;
  font-size: x-small;
  padding: 0px;
}

+	global $preformat_ltrim;
	if (file_exists($filename)) {
		$diffdata = htmlspecialchars(join('',file($filename)));
-		$diffdata = preg_replace('/^(\-)(.*)$/m','<span class="diff_removed"> $2</span>',$diffdata);
+		$diffdata = preg_replace('/^(\-)(.*)$/m',' <span class="diff_removed">$2</span>',$diffdata);
-		$diffdata = preg_replace('/^(\+)(.*)$/m','<span class="diff_added"> $2</span>',$diffdata);
+		$diffdata = preg_replace('/^(\+)(.*)$/m',' <span class="diff_added">$2</span>',$diffdata);
+		if($preformat_ltrim)
+		{
+			$diffdata = preg_replace('/^ /m','',$diffdata);
+		}
	//if (md5($pass) == $adminpass)
	if (TRUE)
	{
-		$file = UPLOAD_DIR.encode($page).'_'.encode($name);
+ 		$extension = strrchr($name,".");
+		$file = UPLOAD_DIR.encode($page).'_'.encode($name).$extension;
$pattern = "/^({$page_pattern})_((?:[0-9A-F]{2})+)\.[a-zA-Z]+{$age_pattern}$/";
-		$url = $script.'?plugin=attach&amp;openfile='.rawurlencode($name). '&amp;refer='.rawurlencode($page);
+		$url = dirname($script).$file;
		$this->filename = $this->basename . ($age ? '.'.$age : '');
		$extension = strrchr($this->file,".");
		$this->filename = $this->basename . ($age ? '.'.$age : '') . $extension;
		return "<a href=\"$script?plugin=attach&amp;pcmd=open$param\" title=\"$title\">$label</a>$count$info";
		return "<a href=\"".dirname($script).$this->filename."\" title=\"$title\">$label</a>$count$info";
Index: plugin/tracker.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/plugin/tracker.inc.php,v
retrieving revision 1.20
diff -u -r1.20 tracker.inc.php
--- plugin/tracker.inc.php	3 Dec 2003 12:36:02 -0000	1.20
+++ plugin/tracker.inc.php	23 Jun 2004 12:04:01 -0000
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: tracker.inc.php,v 1.20 2003/12/03 12:36:02 arino Exp $
+// $Id: tracker.inc.php,v 1.4 2004/06/19 05:32:58 Administrator Exp $
 //
 
 // tracker_listで表示しないページ名(正規表現で)
@@ -117,7 +117,7 @@
 	}
 	else
 	{
-		$real = is_pagename($name) ? $name : ++$num;
+		$real = is_pagename($name) ? $name : ++$num." - ".$post['summary'];
 		$page = get_fullname('./'.$real,$base);
 	}
 	if (!is_pagename($page))
@@ -125,11 +125,18 @@
 		$page = $base;
 	}
 	
-	while (is_page($page))
+	//while (is_page($page))
+	//{
+	//	$real = ++$num;
+	//	$page = "$base/$real";
+	//}
+	foreach (get_existpages() as $_page)
 	{
+		if( !ereg("^$base/",$_page) ) continue;
 		$real = ++$num;
-		$page = "$base/$real";
-	}
+		$page="$base/$real - ".$post['summary'];
+	} 
+    	
 	// ページデータを生成
 	$postdata = plugin_tracker_get_source($source);
class Tracker_field_textarea extends Tracker_field
{
	var $sort_type = SORT_STRING;
	
	function get_tag()
	{
		$s_name = htmlspecialchars($this->name);
		$s_cols = htmlspecialchars($this->values[0]);
		$s_rows = htmlspecialchars($this->values[1]);
		$s_value = htmlspecialchars($this->default_value);
+		$s_value = preg_replace('/&amp;br;/',"\n",$s_value);
		return "<textarea name=\"$s_name\" cols=\"$s_cols\" rows=\"$s_rows\">$s_value</textarea>";
	}
// 除外するページ (正規表現で)
-define('NAVI_EXCLUDE_PATTERN','/\/_/');
+global $non_list;
-		if (NAVI_EXCLUDE_PATTERN != '')
-		{
-			$pages = array_diff($pages,preg_grep(NAVI_EXCLUDE_PATTERN,$pages));
-		}
+		if ( $non_list != '' )
+		{
+			$pages = array_diff($pages,preg_grep($non_list,$pages));
+		}
Index: plugin/navi.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/plugin/navi.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin/navi.inc.php	19 Jun 2004 05:32:56 -0000	1.4
+++ plugin/navi.inc.php	20 Jun 2004 12:58:43 -0000	1.5
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: navi.inc.php,v 1.4 2004/06/19 05:32:56 Administrator Exp $
+// $Id: navi.inc.php,v 1.5 2004/06/20 12:58:43 Administrator Exp $
 //
 
 /*
@@ -56,8 +56,8 @@
 	
 	// 初回FALSE,2回目以降TRUE
 	$footer = array_key_exists($home,$navi);
-	if (!$footer)
-	{
+	//if (!$footer)
+	//{
 		$navi[$home] = array(
 			'up'=>'',
 			'prev'=>'',
@@ -122,17 +122,25 @@
 				}
 			}
 		}
-	}
+	//}
 
 	$ret = '';
 	if ($footer) // フッタ
 	{
-		$ret = <<<EOD
+/*		$ret = <<<EOD
 <hr class="full_hr" />
 <ul class="navi">
  <li class="navi_left">{$navi[$home]['prev1']}<br />{$navi[$home]['prev']}</li>
  <li class="navi_right">{$navi[$home]['next1']}<br />{$navi[$home]['next']}</li>
  <li class="navi_none">{$navi[$home]['home1']}<br />{$navi[$home]['up']}</li>
+</ul>
+EOD;*/
+		$ret = <<<EOD
+<hr class="full_hr" />
+<ul class="navi">
+ <li class="navi_left">{$navi[$home]['prev1']}</li>
+ <li class="navi_right">{$navi[$home]['next1']}</li>
+ <li class="navi_none">{$navi[$home]['home']}</li>
 </ul>
 EOD;
 	}
	foreach (get_existpages() as $_page)
	{
-		if (strpos($_page,$prefix) === 0)
+		if (strpos($_page,$prefix) === 0 
+		    and !preg_match("/$non_list/",$_page) )
		{
			$pages[] = $_page;
		}
	}
#ls2_1(,1)
#ls2_1(,1-2)
#ls2_1(,-4)
#ls2_1(,2-)
#ls2_1(UNIX/,relative)
UNIX/コマンド
UNIX/コマンド/ls
UNIX/設定ファイル/test
コマンド
コマンド/ls
設定ファイル/test
#ls2_1(UNIX/コ,relative)
コマンド
コマンド/ls
#ls2_1(,hierarchy)
#ls2_1(,hierarchy,compact)
#ls2_1(,hierarchy,relative)
#ls2_1(,hierarchy,relative,compact)

Index: plugin/include.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/plugin/include.inc.php,v
retrieving revision 1.8
diff -u -r1.8 include.inc.php
--- plugin/include.inc.php	3 Jul 2003 06:12:17 -0000	1.8
+++ plugin/include.inc.php	24 Jun 2004 07:56:49 -0000
@@ -46,18 +46,20 @@
 	
 	$s_page = htmlspecialchars($page);
 	$r_page = rawurlencode($page);
-	$link = "<a href=\"$script?cmd=edit&amp;page=$r_page\">$s_page</a>";
-	if ($page == 'MenuBar')
-	{
-		$body = <<<EOD
-<span align="center"><h5 class="side_label">$link</h5></span>
-<small>$body</small>
-EOD;
-	}
-	else
-	{
-		$body = "<h1>$link</h1>\n$body\n";
-	}
+	//$link = "<a href=\"$script?cmd=edit&amp;page=$r_page\">$s_page</a>";
+	$link = "<a class=\"anchor_super\" 
href=\"$script?cmd=edit&amp;page=$r_page\"><img class=\"paraedit\" 
src=\"image/edit.png\" alt=\"Edit\" title=\"Edit\" /></a>";
+//	if ($page == 'MenuBar')
+//	{
+//		$body = <<<EOD
+//<h5 class="side_label">$s_page$link</h5>
+//$body
+//EOD;
+//	}
+//	else
+//	{
+		require_once(PLUGIN_DIR.'topicpath.inc.php');
+		$body = "<h1>".plugin_topicpath_convert($s_page,TRUE)."$link</h1>\n$body\n";
+//	}
 	
 	return $body;
 }
  <input type="hidden" name="plugin" value="comment" />
  <input type="hidden" name="plugin" value="comment2" />
  <input type="text" name="msg" size="$comment_cols" />
  <textarea name="msg" cols="$comment_cols" rows="4"></textarea>
  $nametags
  <input type="text" name="msg" size="$comment_cols" />
  <input type="submit" name="comment" value="$_btn_comment" />
  $nametags
  <input type="submit" name="comment" value="$_btn_comment" />
  <br />
  <textarea name="msg" cols="$comment_cols" rows="4"></textarea>
			$postdata = rtrim($postdata)."\n-$comment\n";
			$postdata = rtrim($postdata)."\n----\n$comment\n";
	if (preg_match('/^(-{1,2})(.*)/',$post['msg'],$match))
	if (preg_match('/^(----\n)(.*)/',$post['msg'],$match))
$post['msg'] = preg_replace("/\n/",'',$post['msg']);
define('COMMENT_FORMAT',"\x08MSG\x08 -- \x08NAME\x08 \x08NOW\x08");
define('COMMENT_FORMAT',"\x08MSG\x08\nRIGHT:\x08NAME\x08 \x08NOW\x08");

<form class="lookup_form" action="$script" method="post">
 $lwn:

if (array_key_exists('refer',$vars) and $vars['refer'] != '') {
        $refer = '[['.strip_bracket($vars['refer'])."]]\n\n";
}

<?php if (arg_check('edit')) { ?>
<?php } ?>
function toString()
{
    return '<span class="autolink">' .
    make_pagelink(
    $this->name,
    $this->alias,
    '',
    $this->page
    ) . '</span>';
}
define('LANG','en');

 /////////////////////////////////////////////////
 // スキンファイルの場所
-define('SKIN_FILE',SKIN_DIR.'pukiwiki.skin.'.LANG.'.php');
+define('SKIN_FILE',SKIN_DIR.'pukiwiki.skin.ja.php');
///////////////////////////////////////
// skin message
$_skin_top = "トップ";
$_skin_backup = "バックアップ";
$_skin_deleted = "削除一覧";
$_skin_whatsnew = "更新履歴";
$_skin_search = "検索";
$_skin_filelist = "ファイル名一覧";
$_skin_list = "一覧";
$_skin_help = "ヘルプ";
$_skin_newpage = "新規";
$_skin_edit = "編集";
$_skin_diff = "差分";
$_skin_upload = "添付";
$_skin_source = "ソース";
$_skin_template = "複製";
$_skin_rename = "改名";
$_skin_unfreeze = "凍結解除";
$_skin_freeze = "凍結";
$_skin_read = "参照";
$_skin_referer = "リンク元";
$_skin_move = "移動";
$_skin_rss = "最終更新のRSS";
///////////////////////////////////////
// skin message
$_skin_top = "Top";
$_skin_backup = "Backup";
$_skin_deleted = "Deleted pages";
$_skin_whatsnew = "Recents";
$_skin_search = "Search";
$_skin_filelist = "List of page files";
$_skin_list = "List";
$_skin_help = "Help";
$_skin_newpage = "New";
$_skin_edit = "Edit";
$_skin_diff = "Diff";
$_skin_upload = "Upload";
$_skin_source = "Source";
$_skin_template = "Copy";
$_skin_rename = "Rename";
$_skin_unfreeze = "Unfreeze";
$_skin_freeze = "Freeze";
$_skin_read = "Read";
$_skin_referer = "Referer";
$_skin_move = "Move";
$_skin_rss = "RSS of Recent changes";
<?php
global $_skin_top,$_skin_backup,$_skin_deleted,$_skin_whatsnew,$_skin_search,
$_skin_filelist,$_skin_list,$_skin_help,$_skin_newpage,$_skin_edit,$_skin_diff,
$_skin_upload,$_skin_source,$_skin_template,$_skin_rename,$_skin_unfreeze,
$_skin_freeze,$_skin_read,$_skin_referer,$_skin_move,$_skin_rss;
?>
<?php echo $_skin_top ?>
<?php echo $_skin_backup ?>
<?php echo $_skin_deleted ?>
<?php echo $_skin_whatsnew ?>
<?php echo $_skin_search ?>
<?php echo $_skin_filelist ?>
<?php echo $_skin_list ?>
<?php echo $_skin_help ?>
<?php echo $_skin_newpage ?>
<?php echo $_skin_edit ?>
<?php echo $_skin_diff ?>
<?php echo $_skin_upload ?>
<?php echo $_skin_source ?>
<?php echo $_skin_template ?>
<?php echo $_skin_rename ?>
<?php echo $_skin_unfreeze ?>
<?php echo $_skin_freeze ?>
<?php echo $_skin_read ?>
<?php echo $_skin_referer ?>
<?php echo $_skin_move ?>
<?php echo $_skin_rss ?>
/////////////////////////////////////////////////
// リスト構造の左マージン
$_ul_left_margin = 0;   // リストと画面左端との間隔(px)
$_ul_margin = 16;       // リストの階層間の間隔(px)
$_ol_left_margin = 0;   // リストと画面左端との間隔(px)
$_ol_margin = 16;       // リストの階層間の間隔(px)
$_dl_left_margin = 0;   // リストと画面左端との間隔(px)
-$_dl_margin = 16;        // リストの階層間の間隔(px)
+$_dl_margin = 0;        // リストの階層間の間隔(px)
$_list_pad_str = ' class="list%d" style="padding-left:%dpx;margin-left:%dpx"';
"__(?!')((?:(?!__).)*)__" => 
'<span style="color:white; background-color:black;">$1</span>',
__AHO__
'&amp;bar;' => '|',
&bar;
$agents = array(
	array('name'=>'jphone','pattern'=>'#^J-PHONE.+(Profile/)#'),
	array('name'=>'jphone','pattern'=>'#^J-PHONE#'),
	array('name'=>'i_mode','pattern'=>'#DoCoMo/(1\.0)/(?:[^/]+/c([0-9]+))?#'),
	array('name'=>'i_mode','pattern'=>'#DoCoMo/(2\.0) [^(]+\(c([0-9]+)#'),
	array('name'=>'i_mode','pattern'=>'#DDIPOCKET;JRC/[^/]+/(1\.0)/0100/c([0-9]+)#'),
	array('name'=>'i_mode','pattern'=>'#UP\.Browser#'),
);
$non_list = '^\:|^MenuBar$|\/template$|\:$';

/////////////////////////////////////////////////
// ページ名に従って自動で、雛形とするページの読み込み
$auto_template_func = 1;
$auto_template_rules = array(
'((.+)\/([^\/]+))' => '\2/template',
'((.+)\/([^\/]+\/[^\/]+))' => '\2/template'
);
$1 = hoge/fuga/moge
$2 = hoge/fuga
$3 = moge
$1 = hoge/fuga/moge
$2 = hoge
$3 = fuga/moge
.anchor_super{
    display:none;
}
.print_display_none{
    display:none;
}
div#footer{
    display:none;
}
table{
    border-collapse:collapse;
}
.style_table,.style_th,.style_td,.style_calendar,.style_td_caltop, 
.style_td_today,.style_td_sat,.style_td_sun,.style_td_blank, .style_td_day,
.style_td_week,.vote_label,.vote_td1,.vote_td2
{
    border-width:1px;
    border-style:solid;
}

$_msg_content_back_to_top = '<div class="jumpmenu"><a href="#navigator">&uarr;</a></div>';
1.
<div style="width:145px;float:left">
menu
</div>
<div> style="width:630px">
body
</div>
<div style="clear:both;"></div>

2.
<div style="width:145px;float:left;">
menu
</div>
<div style="margin-left:150px;">
body
</div>
<div style="clear:both;"></div>

3.
<div style="width:10%;float:left;">
menu
</div>
<div style="width:88%;>
body
</div>
<div style="clear:both;"></div>

<div style="width:145px;padding:0px;margin:10px;border:1px solid #aaa">
<div style="margin:10px;padding:0px;">
menu
</div>
</div>

test
<div style="float:left;">
menu
</div>
body
test
<div></div>
<div style="float:left;">
menu
</div>
body
<?php if (ereg("MSIE (3|4|5|6)", HTTP_USER_AGENT) == TRUE) { ?>
 <link rel="stylesheet" href="./skin/ie5.ja.css" type="text/css" media="screen" charset="Shift_JIS" />
<?php } else { ?>
 <link rel="stylesheet" href="./skin/default.ja.css" type="text/css" media="screen" charset="Shift_JIS" />
<?php } ?>
line-break:strict;
word-break:break-all;
word-wrap:break-word;
white-space:-moz-pre-wrap;
white-space:-pre-wrap;

define("RECENT_MOD",date("Y/m/d H:i:s", filemtime("./wiki/
526563656E744368616E676573.txt")));

<meta name="WWWC" content="<?php echo RECENT_MOD?>" />
 <div class="form_menu">
  <form action="<?php echo $link_search?>" method="post" class="form_menu2">
   <div>
    <input type="hidden" name="encode_hint" value="ぷ" />
    <input type="radio" name="type" value="AND" checked="checked" class="button" />AND
    <input type="radio" name="type" value="OR" class="button" />OR
    <input type="text" name="word" size="12" value="" />
    <input type="submit" value="検索" class="submit" />
   </div>
  </form>
  <form action="<?php echo $script?>" method="post" class="form_menu1">
   <div id="menu">
    <input type="hidden" name="encode_hint" value="ぷ" />
    <input type="hidden" name="plugin" value="newpage" />
    <input type="hidden" name="refer" value="<?php echo urldecode($r_page)?>" />
    <input type="text" name="page" size="12" value="" />
    <input type="submit" value="移動" class="submit" />
   </div>
  </form>
 </div>
style="display:inline;"
<?php if ($related) { ?>
<div id="related">
 Link: <?php echo $related ?>
</div>
<?php } ?>
<div id="navigator">
 [ <a href="<?php echo $link_top ?>">トップ</a>
<?php if ($do_backup) { ?>
 | <a href="<?php echo $link_backup ?>">バックアップ</a>
<?php } ?>
 | <a href="<?php echo "$script?cmd=deleted" ?>">削除一覧</a>
 | <a href="<?php echo $link_whatsnew ?>">更新履歴</a>
 | <a href="<?php echo $link_search ?>">検索</a>
<?php if (arg_check('list')) { ?>
 | <a href="<?php echo $link_filelist ?>">ファイル名一覧</a>
<?php } ?>
 | <a href="<?php echo $link_list ?>">一覧</a>
 | <a href="<?php echo $link_help ?>">ヘルプ</a>
 | <a href="<?php echo "$script?plugin=newpage&amp;refer=$r_page" ?>">新規</a>
 ]
<?php if ($is_page) { ?>
  
 [ <a href="<?php echo $link_edit ?>">編集</a>
 | <a href="<?php echo $link_diff ?>">差分</a>
<?php   if ((bool)ini_get('file_uploads')) { ?>
 | <a href="<?php echo $link_upload ?>">添付</a>
<?php   } ?>
 | <a href="<?php echo "$script?cmd=source&amp;page=$r_page" ?>">ソース</a>
 | <a href="<?php echo "$script?plugin=template&amp;refer=$r_page" ?>">複製</a>
 | <a href="<?php echo "$script?plugin=rename&amp;refer=$r_page" ?>">リネーム</a>
<?php   if ($is_read and $function_freeze) { ?>
<?php     if ($is_freeze) { ?>
 | <a href="<?php echo $link_unfreeze ?>">凍結解除</a>
<?php     } else { ?>
 | <a href="<?php echo $link_freeze ?>">凍結</a>
<?php     } ?>
<?php   } ?>
 ]
  
 [ <a href="<?php echo "$script?$r_page" ?>">参照</a> ]
<?php } ?>
<?php if ($lastmodified) { ?>
<div id="lastmodified">
 Last-modified: <?php echo $lastmodified ?>
</div>
<?php } ?>
<?php echo $body ?>

<?php if (arg_check('read') and exist_plugin_convert('menu')) { ?>
<?php if ((arg_check('read') or arg_check('edit')) and exist_plugin_convert('menu')) { ?>
 <?php if (exist_plugin_convert('menu')) { ?>
<?php if ($is_page) { ?>
 <a href="<?php echo "$script?$r_page" ?>"><span class="small"><?php echo "$script?$r_page" ?></span></a>
<?php } ?>
<?php if ($is_page) { ?>
 <a href="<?php echo "$script" ?>"><span class="small"><?php echo "$script" ?></span></a>
<?php } ?>
<div id="body">
<div id="body">
<?php if ($is_page){ ?><h1><?php echo $title ?></h1><?php } ?>

<?php if($is_page) { ?>
<h1><?php echo $title ?>
<?php if($is_read) { ?> 
<a class="anchor_super" href="<?php echo "$script?cmd=edit&amp;page=$r_page" ?>">
<img class="paraedit" src="image/edit.png" alt="Edit" title="Edit" /></a>
<?php } ?>
</h1>
<?php } ?>

<?php if($is_page) { ?>
<h1><?php require_once(PLUGIN_DIR.'topicpath.inc.php'); echo 
plugin_topicpath_convert(); ?>
<?php if($is_read) { ?>
<a class="anchor_super" href="<?php echo "$script?cmd=edit&amp;page=$r_page" ?>">
<img src="image/edit.png" alt="Edit" title="Edit" /></a>
<?php } ?>
</h1>
<?php } ?>
<?php global $whatsdeleted; if($is_page and $_page != $whatsdeleted) { ?>
<h1><?php require_once(PLUGIN_DIR.'topicpath.inc.php'); echo 
plugin_topicpath_convert(); ?>
<?php if($is_read) { ?>
<a class="anchor_super" href="<?php echo "$script?cmd=edit&amp;page=$r_page" ?>">
<img class="paraedit" src="image/edit.png" alt="Edit" title="Edit" /></a>
<?php } ?>
</h1>

 div.ie5{
-  text-align:center;
+  text-align:left;
 }
 .style_table{
-  margin:auto;
+  margin:auto auto auto 1em;
}
-[./?cmd=add&page= 新規]
-[./?cmd=add&page= New]
-[./?plugin=newpage&page= 新規]
-[./?plugin=newpage&page= New]
-[./?cmd=add&page= 追加]
-[./?cmd=add&page= Add]
#lookup(新規,移動,)

#lookup(Search,検索,)

[[edit:http://設置場所/pukiwiki.php?cmd=edit&page=MenuBar]]
$_recent_plugin_frame = '<h2>最新の%d件</h2>
td.menubar h1, td.menubar h2, td.menubar h3, td.menubar h4{
     font-size:100%;
}
[./cmd=source&page= Source]
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/pukiwiki
co -r r1_4_2 pukiwiki
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/pukiwiki
update -r HEAD pukiwiki

.#hogehoge

   <<<<<<< A
   lines from A
   =======
   lines from B
   >>>>>>> B
   <<<<<<< A
   lines from A
   ||||||| B
   lines from B
   =======
   lines from C
   >>>>>>> C
grep -r '<<<<' pukiwiki/
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/pukiwiki
update -r HEAD pukiwiki/auth.php
jcode::convert(\$filename,'euc');
$filename = unpack('H*0', $filename);
$filename =~ tr/a-z/A-Z/;
open(WIKI,">wiki/$filename.txt");
xrea