Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6441/phpwiki/lib
Modified Files:
Tag: release-1_2-branch
stdlib.php
Log Message:
Removed split_pagename for the page's <h1> until a better solution can be found. This was causing the page name to incorrectly always be stored in the database with a space (%20) in the name, instead of just outputting the split page name in the html.
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.21.2.9
retrieving revision 1.21.2.10
diff -C2 -r1.21.2.9 -r1.21.2.10
*** stdlib.php 2001/12/03 23:33:21 1.21.2.9
--- stdlib.php 2001/12/04 21:32:06 1.21.2.10
***************
*** 576,580 ****
_dotoken('SCRIPTURL', $ScriptUrl, $page);
! _dotoken('PAGE', split_pagename(htmlspecialchars($name)), $page);
_dotoken('ALLOWEDPROTOCOLS', $AllowedProtocols, $page);
_dotoken('LOGO', $logo, $page);
--- 576,580 ----
_dotoken('SCRIPTURL', $ScriptUrl, $page);
! _dotoken('PAGE', htmlspecialchars($name), $page);
_dotoken('ALLOWEDPROTOCOLS', $AllowedProtocols, $page);
_dotoken('LOGO', $logo, $page);
|