From: Carsten K. <car...@us...> - 2002-02-18 09:20:14
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv22706 Modified Files: PageType.php Log Message: bugfix for localized pagenames Index: PageType.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/PageType.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -2 -b -p -d -r1.1 -r1.2 --- PageType.php 18 Feb 2002 08:58:10 -0000 1.1 +++ PageType.php 18 Feb 2002 09:20:11 -0000 1.2 @@ -56,6 +56,6 @@ function PageType(&$rev, $pagename = fal // Once a contentType field has been implemented in the // database then that can be used instead of this pagename check. - switch( _($pagename) ) { - case "InterWikiMap": + switch($pagename) { + case _("InterWikiMap"): $ContentTemplateName = 'interwikimap'; break; |