1.1 --- a/public_html/docs/english/staticpages.html Sun Sep 13 21:24:41 2009 +0200
1.2 +++ b/public_html/docs/english/staticpages.html Thu Oct 15 13:05:28 2009 -0400
1.3 @@ -155,26 +155,26 @@
1.4 </tr>
1.5 <tr>
1.6 <td><a name="desc_allow_php">allow_php</a></td>
1.7 - <td><code>true</code></td>
1.8 + <td>true</td>
1.9 <td>Allows you to globally allow or disallow the <a href="#php">use of PHP</a>
1.10 in static pages, i.e. it overrides the setting on individual pages.</td>
1.11 </tr>
1.12 <tr class="r2">
1.13 <td><a name="desc_sort_by">sort_by</a></td>
1.14 - <td><tt>'id'</tt></td>
1.15 + <td>'id'</td>
1.16 <td>Define sort order when more than one static page is displayed in
1.17 centerblocks. Allows sorting by page ID, page title, and date of last
1.18 change.</td>
1.19 </tr>
1.20 <tr>
1.21 <td><a name="desc_sort_menu_by">sort_menu_by</a></td>
1.22 - <td><tt>'label'</tt></td>
1.23 + <td>'label'</td>
1.24 <td>Define sort order for static pages in the site's menu. Allows sorting by
1.25 page label, page ID, page title, and date of last change.</td>
1.26 </tr>
1.27 <tr class="r2">
1.28 <td><a name="desc_delete_pages">delete_pages</a></td>
1.29 - <td><tt>false</tt></td>
1.30 + <td>false</td>
1.31 <td>Specify what should happen to a static page when its owner (i.e. the user
1.32 who created the page) is deleted. 'True' would delete the page, 'False'
1.33 will assign it to a user in the "Root" group (usually the user with the
1.34 @@ -182,35 +182,35 @@
1.35 </tr>
1.36 <tr>
1.37 <td><a name="desc_in_block">in_block</a></td>
1.38 - <td><tt>true</tt></td>
1.39 + <td>true</td>
1.40 <td>Whether to display the content of static pages inside a block template or
1.41 not. This is the default setting and can be overridden per page.</td>
1.42 </tr>
1.43 <tr class="r2">
1.44 <td><a name="desc_show_hits">show_hits</a></td>
1.45 - <td><tt>true</tt></td>
1.46 + <td>true</td>
1.47 <td>Whether to show the number of hits for a static page.</td>
1.48 <tr>
1.49 <tr>
1.50 <td><a name="desc_show_date">show_date</a></td>
1.51 - <td><tt>true</tt></td>
1.52 + <td>true</td>
1.53 <td>Whether to show the date and time of the last change to a static page.</td>
1.54 </tr>
1.55 <tr class="r2">
1.56 <td><a name="desc_filter_html">filter_html</a></td>
1.57 - <td><tt>false</tt></td>
1.58 + <td>false</td>
1.59 <td>Whether HTML in static pages should be run through Geeklog's HTML filter
1.60 option.</td>
1.61 </tr>
1.62 <tr>
1.63 <td><a name="desc_censor">censor</a></td>
1.64 - <td><tt>false</tt></td>
1.65 + <td>false</td>
1.66 <td>Whether the content of the static page should be run through Geeklog's
1.67 "bad words" filter.</td>
1.68 </tr>
1.69 <tr class="r2">
1.70 <td><a name="desc_aftersave">aftersave</a></td>
1.71 - <td><tt>'list'</tt></td>
1.72 + <td>'list'</td>
1.73 <td>Which page to go to after a static page has been saved:
1.74 <ul>
1.75 <li>'item': display the page</li>
1.76 @@ -232,6 +232,55 @@
1.77 </tr>
1.78 </table>
1.79
1.80 +<h3><a name="whatsnew">What's New Block</a></h3>
1.81 +
1.82 +<table>
1.83 +<tr><th style="width:25%">Variable</th>
1.84 + <th style="width:25%">Default Value</th>
1.85 + <th style="width:50%">Description</th>
1.86 +</tr>
1.87 + <td valign="top"><a name="desc_newstaticpagesinterval">newstaticpagesinterval</a></td>
1.88 + <td valign="top">1209600</td>
1.89 + <td valign="top">Static pages are "new" if they are this many seconds old.</td></tr>
1.90 +<tr>
1.91 + <td valign="top"><a name="desc_hidenewstaticpages">hidenewstaticpages</a></td>
1.92 + <td valign="top">false</td>
1.93 + <td valign="top">Set to true to hide new static pages from the What's New block.</td></tr>
1.94 +<tr class="r2">
1.95 + <td valign="top"><a name="desc_title_trim_length">title_trim_length</a></td>
1.96 + <td valign="top">20</td>
1.97 + <td valign="top">Max. length of the title of items listed in the What's New block.</td></tr>
1.98 +<tr>
1.99 + <td valign="top"><a name="desc_includecenterblocks">includecenterblocks</a></td>
1.100 + <td valign="top">false</td>
1.101 + <td valign="top">Set to true to include static pages that are displayed as a center block.</td></tr>
1.102 +<tr class="r2">
1.103 + <td valign="top"><a name="desc_includephp">includephp</a></td>
1.104 + <td valign="top">false</td>
1.105 + <td valign="top">Set to true to include static pages that execute PHP.</td></tr>
1.106 +</table>
1.107 +
1.108 +
1.109 +<h3><a name="search">Search Results</a></h3>
1.110 +
1.111 +<table>
1.112 +<tr><th style="width:25%">Variable</th>
1.113 + <th style="width:25%">Default Value</th>
1.114 + <th style="width:50%">Description</th>
1.115 +</tr>
1.116 + <td valign="top"><a name="desc_includesearch">includesearch</a></td>
1.117 + <td valign="top">true</td>
1.118 + <td valign="top">Set to true to enable static pages in search results.</td></tr>
1.119 +<tr class="r2">
1.120 + <td valign="top"><a name="desc_includesearchcenterblocks">includesearchcenterblocks</a></td>
1.121 + <td valign="top">false</td>
1.122 + <td valign="top">Set to true to include static pages that are displayed as a center block.</td></tr>
1.123 +<tr>
1.124 + <td valign="top"><a name="desc_includesearchphp">includesearchphp</a></td>
1.125 + <td valign="top">false</td>
1.126 + <td valign="top">Set to true to include static pages that execute PHP.</td></tr>
1.127 +</table>
1.128 +
1.129 <div class="footer">
1.130 <a href="http://wiki.geeklog.net/">The Geeklog Documentation Project</a><br>
1.131 All trademarks and copyrights on this page are owned by their respective owners. Geeklog is copyleft.