Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv27206
Modified Files:
Template.php Toolbar.php
Log Message:
EditPage tips using Toolbar function.
Index: Template.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Template.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Template.php 2002/01/03 19:12:38 1.11
--- Template.php 2002/01/03 19:28:24 1.12
***************
*** 226,229 ****
--- 226,231 ----
$this->qreplace('BROWSE_PAGE', WikiURL($pagename));
+ $this->replace('EditTips', toolbar_Info_EditTips());
+
// FIXME: this is a bit of dangerous hackage.
$this->qreplace('ACTION', WikiURL($pagename, array('action' => '')));
Index: Toolbar.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Toolbar.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Toolbar.php 2002/01/03 19:12:39 1.5
--- Toolbar.php 2002/01/03 19:28:24 1.6
***************
*** 120,124 ****
}
! //Calling function should provide:
//$pagename = ($page->getName());
//$charset = (CHARSET);
--- 120,124 ----
}
! //Calling function should provide: - done
//$pagename = ($page->getName());
//$charset = (CHARSET);
***************
*** 219,226 ****
}
function toolbar_Info_EditTips() {
$html = "";
$html .= sprintf(_("You can change the size of the editing area in %s."), LinkExistingWikiWord(_("UserPreferences")));
! $html .= sprintf(_("See %s tips for editing."),LinkExistingWikiWord(_("GoodStyle")));
return $html;
}
--- 219,227 ----
}
+ //done
function toolbar_Info_EditTips() {
$html = "";
$html .= sprintf(_("You can change the size of the editing area in %s."), LinkExistingWikiWord(_("UserPreferences")));
! $html .= " " .sprintf(_("See %s tips for editing."),LinkExistingWikiWord(_("GoodStyle")));
return $html;
}
|