Update of /cvsroot/phpwiki/phpwiki/templates
In directory usw-pr-cvs1:/tmp/cvs-serv9614/phpwiki/templates
Modified Files:
editpage.html
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: editpage.html
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/templates/editpage.html,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** editpage.html 2001/12/27 01:19:44 1.34
--- editpage.html 2001/12/30 06:10:55 1.35
***************
*** 1,3 ****
! <?php echo "<?xml version='1.0' encoding='ISO-8859-1'?>\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
--- 1,3 ----
! <?php echo "<?xml version='1.0' encoding='${CHARSET}'?>\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
***************
*** 9,13 ****
-->
<base href="${BASE_URL}" />
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="robots" content="noindex,nofollow" />
<link rel="stylesheet" title="phpwiki" href="${CSS_URL}" type="text/css" />
--- 9,13 ----
-->
<base href="${BASE_URL}" />
! <meta http-equiv="Content-Type" content="text/html; charset=${CHARSET}" />
<meta name="robots" content="noindex,nofollow" />
<link rel="stylesheet" title="phpwiki" href="${CSS_URL}" type="text/css" />
***************
*** 45,49 ****
*/ ?>
! <form method="post" action="${BROWSE}EditPage">
<textarea class="wikiedit"
name="content"
--- 45,49 ----
*/ ?>
! <form method="post" action="${BROWSE}EditPage" accept-charset="${CHARSET}">
<textarea class="wikiedit"
name="content"
|