Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23760/lib
Modified Files:
stdlib.php
Log Message:
added description to GeneratePage()
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** stdlib.php 2001/01/04 18:32:25 1.19
--- stdlib.php 2001/01/09 18:22:49 1.20
***************
*** 379,382 ****
--- 379,391 ----
+ # GeneratePage() -- takes $content and puts it in the template $template
+ # this function contains all the template logic
+ #
+ # $template ... name of the template (see config.php for list of names)
+ # $content ... html content to put into the page
+ # $name ... page title
+ # $hash ... if called while creating a wiki page, $hash points to
+ # the $pagehash array of that wiki page.
+
function GeneratePage($template, $content, $name, $hash)
{
|