From: Carsten K. <car...@us...> - 2001-12-30 06:10:52
|
Update of /cvsroot/phpwiki/phpwiki/templates In directory usw-pr-cvs1:/tmp/cvs-serv9591/phpwiki/templates Modified Files: browse.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: browse.html =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/templates/browse.html,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** browse.html 2001/12/28 03:42:41 1.33 --- browse.html 2001/12/30 06:10:50 1.34 *************** *** 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"> *************** *** 12,16 **** <meta name="description" content="${PAGE_DESCRIPTION}" /> <?php } ?> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- <meta name="robots" content="index,follow" /> --> <base href="${BASE_URL}" /> --- 12,16 ---- <meta name="description" content="${PAGE_DESCRIPTION}" /> <?php } ?> ! <meta http-equiv="Content-Type" content="text/html; charset=${CHARSET}" /> <!-- <meta name="robots" content="index,follow" /> --> <base href="${BASE_URL}" /> *************** *** 38,42 **** <div class="wikitext">${CONTENT}</div> <hr class="ignore" noshade="noshade" /> ! <form action='<?php echo WikiURL(_("TitleSearch")); ?>' method="get"> <!-- I would like not to have to use these tables, and managed to get this stuff to work more or less correctly using --- 38,42 ---- <div class="wikitext">${CONTENT}</div> <hr class="ignore" noshade="noshade" /> ! <form action='<?php echo WikiURL(_("TitleSearch")); ?>' method="get" accept-charset="${CHARSET}"> <!-- I would like not to have to use these tables, and managed to get this stuff to work more or less correctly using |