Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv28985/phpwiki/lib
Modified Files:
WikiPlugin.php
Log Message:
Moved description from html template into plugins.
Index: WikiPlugin.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiPlugin.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** WikiPlugin.php 2001/12/14 20:13:20 1.2
--- WikiPlugin.php 2001/12/15 10:55:20 1.3
***************
*** 19,22 ****
--- 19,26 ----
}
+ function getDescription() {
+ return $this->description;
+ }
+
function getArgs($argstr, $request, $defaults = false) {
***************
*** 95,99 ****
return array('targetpage' => $this->getName(),
'linktext' => $this->getName(),
! 'description' => false,
'class' => 'wikiaction');
}
--- 99,103 ----
return array('targetpage' => $this->getName(),
'linktext' => $this->getName(),
! 'description' => $this->getDescription(),
'class' => 'wikiaction');
}
|