]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/categorypage.tmpl
Required plugin template as default also, without ratings here.
[SourceForge/phpwiki.git] / themes / default / templates / categorypage.tmpl
1 <?php
2   rcs_id('$Id: categorypage.tmpl,v 1.1 2007-01-07 18:48:00 rurban Exp $');
3 ?>
4 <div class="categorypage categorypage-form">
5
6 This page represents the <?=$SINGULAR?> category.
7
8 <br/>
9
10 All pages that are in the <?=$SINGULAR?> category refer to this page.
11
12 <br/>
13
14 <br/>
15
16 <h3>To create a page in the <?=$SINGULAR?> category</h3>
17
18 <ol>
19
20 <li>
21
22 Search to see if it already exists.  We don't want lots of
23 duplicate pages.  You can use this FuzzyPages search:
24
25 <?plugin-form FuzzyPages ?>
26
27 </li>
28 <br/>
29
30 <li>
31
32 If it does not exist, you can create the page.  You can use this
33 CreatePage button, or see <?php $link = WikiLink("HowToUseWiki"); ?> <?=
34 $link ?> for more ways to navigate or create pages.
35
36 <?php
37   $bpage = "~~[" . $PAGENAME . "]";
38
39   $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.\"";
40         $adder = "";
41   
42   //if($SELF_ON_CREATE == true){
43         //$adder = "save_and_redirect_to=\"" . $PAGENAME . "\"";
44   //}   
45   
46   $this->_printPlugin("<" . "?plugin-form CreatePage " . $adder . " initial_content=" . $initial_content . " ?" . ">");
47 ?>
48
49 </li>
50 <br/>
51
52 <li>
53 Once you have created a page, it will simply appear in the list above.  If you would
54 like to add information about the page, click on its name in the list and edit and save the text.
55 To ensure that the page stays in this category, make sure <b>[<?=$PAGENAME?>]</b> is in the description somewhere (including the
56 brackets to be safe).
57
58 </li>
59
60 </ol>
61
62 </div>
63