From: <var...@us...> - 2009-03-26 12:41:21
|
Revision: 6717 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6717&view=rev Author: vargenau Date: 2009-03-26 12:41:11 +0000 (Thu, 26 Mar 2009) Log Message: ----------- Use UTF-8 so that display is correct on sf.net Modified Paths: -------------- trunk/themes/default/templates/login.tmpl trunk/themes/shamino_com/templates/browse-footer.tmpl Modified: trunk/themes/default/templates/login.tmpl =================================================================== --- trunk/themes/default/templates/login.tmpl 2009-03-26 12:32:01 UTC (rev 6716) +++ trunk/themes/default/templates/login.tmpl 2009-03-26 12:41:11 UTC (rev 6717) @@ -35,11 +35,11 @@ require_once("lib/BlockParser.php"); // This iso-8859-1 sample covers French, Spanish, Italian, German, and probably others if (check_php_version(4,3)) - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC", ENT_QUOTES, $charset); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü", ENT_QUOTES, $charset); elseif (check_php_version(4,0,3)) - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC", ENT_QUOTES); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü", ENT_QUOTES); else - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC"); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü"); // Japanese login requires utf-8 and ALLOW_NONWIKIWORD_LOGINS if (($charset == 'utf-8') && defined('ALLOW_NONWIKIWORD_LOGINS') && ALLOW_NONWIKIWORD_LOGINS) { //sample Japanese login name in unicode Modified: trunk/themes/shamino_com/templates/browse-footer.tmpl =================================================================== --- trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-03-26 12:32:01 UTC (rev 6716) +++ trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-03-26 12:41:11 UTC (rev 6717) @@ -8,5 +8,5 @@ <?php } ?> <span class="editdate"><?= $WikiTheme->getOwnerMessage($page) ?> <?= $WikiTheme->getLastModifiedMessage($revision) ?> <?= $WikiTheme->getAuthorMessage($revision) ?></span> <br /> -<a href="<?= PHPWIKI_BASE_URL ?>"><?=WIKI_NAME?></a> created with <a href="http://phpwiki.org/">PhpWiki</a> \xA9 1998-2007 | <?= WikiLink(_("TermsOfUse")) ?> +<a href="<?= PHPWIKI_BASE_URL ?>"><?=WIKI_NAME?></a> created with <a href="http://phpwiki.org/">PhpWiki</a> © 1998-2007 | <?= WikiLink(_("TermsOfUse")) ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |