Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv9573/phpwiki/lib
Modified Files:
Template.php
Log Message:
Added accept-charset attribute to form elements. New constant CHARSET replaces hard-coded iso-8859-1 in xhtml templates, to simplify testing PhpWiki with new languages.
Index: Template.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Template.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Template.php 2001/12/26 14:00:32 1.7
--- Template.php 2001/12/30 06:10:45 1.8
***************
*** 216,219 ****
--- 216,220 ----
$pagename = $page->getName();
$this->replace('page', $page);
+ $this->qreplace('CHARSET', CHARSET);
$this->qreplace('PAGE', $pagename);
$this->qreplace('PAGEURL', rawurlencode($pagename));
|