Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv25031/phpwiki/lib/plugin
Modified Files:
IncludePage.php
Log Message:
Moved the TextFormattingRules from the editpage template to the actual TFR page. The IncludePage plugin is now used to insert the first 6 lines of the TFR page for reference. This eliminates any requirement to modify the templates when localizing for another language, and allows for easy online customization (the TFR page is still locked by default).
Index: IncludePage.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/IncludePage.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IncludePage.php 2001/12/06 18:26:50 1.2
--- IncludePage.php 2001/12/16 16:52:45 1.3
***************
*** 12,15 ****
--- 12,18 ----
extends WikiPlugin
{
+ var $name='IncludePage';
+ var $description='Embeds text from another page.';
+
function getDefaultArguments() {
return array( 'page' => false, // the page to include
|