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