categorypage.tmpl

来自「PhpWiki是sourceforge的一个开源项目」· TMPL 代码 · 共 86 行

TMPL
86
字号
<?php  rcs_id('$Id: categorypage.tmpl,v 1.1 2004/06/30 20:00:20 dfrankow Exp $');?><div class="categorypage categorypage-form">This page represents the <?=$SINGULAR?> category.<br/>All pages that are in the <?=$SINGULAR?> category refer to this page.<br/><br/><?php$this->_printPlugin("<" . "?plugin UserRatings nobuds=" . ($SHOWBUDS ? 0 : 1) . " category=\"" . $PAGENAME . "\" ?" . ">");?><br/><?php if ($SHOWBUDS){	$btn = Button(array('exclude'  => "$EXCLUDE", 						'category' => "$PAGENAME",               			'showbuds' => false),                       _("Hide Buddy Ratings in the $SINGULAR category"),                  		$PAGENAME); } else {$btn = Button(array('exclude'  => "$EXCLUDE", 						'category' => "$PAGENAME",                       'showbuds' => true),                       _("Show Buddy Ratings in the $SINGULAR category"),                  		$PAGENAME); }                 ?><?= $btn ?><h3>To create a page in the <?=$SINGULAR?> category</h3><ol><li>Search to see if it already exists.  We don't want lots ofduplicate pages.  You can use this FuzzyPages search:<?plugin-form FuzzyPages ?></li><br/><li>If it does not exist, you can create the page.  You can use thisCreatePage button, or see <?php $link = WikiLink("HowToUseWiki"); ?> <?=$link ?> for more ways to navigate or create pages.<?php  $bpage = "~~[" . $PAGENAME . "]";  $initial_content = "\"This page is in the $bpage category.  You must leave in at least one reference to $bpage in order for this page to be in the $bpage category.  Otherwise, edit this text to describe your page.\"";	$adder = "";    //if($SELF_ON_CREATE == true){  	//$adder = "save_and_redirect_to=\"" . $PAGENAME . "\"";  //}	    $this->_printPlugin("<" . "?plugin-form CreatePage " . $adder . " initial_content=" . $initial_content . " ?" . ">");?></li><br/><li>Once you have created a page, it will simply appear in the list above.  If you wouldlike to add information about the page, click on its name in the list and edit and save the text.To ensure that the page stays in this category, make sure <b>[<?=$PAGENAME?>]</b> is in the description somewhere (including thebrackets to be safe).</li></ol></div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?