[vhffs-dev] [1097] Fixed various mistakes about utf8 and html escaping |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1097
Author: gradator
Date: 2007-11-26 22:30:08 +0000 (Mon, 26 Nov 2007)
Log Message:
-----------
Fixed various mistakes about utf8 and html escaping
Modified Paths:
--------------
trunk/vhffs-panel/templates/admin/misc/broadcast_list.tmpl
trunk/vhffs-panel/templates/misc/history.tmpl
trunk/vhffs-panel/web/prefs.pl
Modified: trunk/vhffs-panel/templates/admin/misc/broadcast_list.tmpl
===================================================================
--- trunk/vhffs-panel/templates/admin/misc/broadcast_list.tmpl 2007-11-26 22:21:43 UTC (rev 1096)
+++ trunk/vhffs-panel/templates/admin/misc/broadcast_list.tmpl 2007-11-26 22:30:08 UTC (rev 1097)
@@ -1,3 +1,3 @@
<h1><TMPL_VAR ESCAPE=1 NAME="TITLE"></h1>
-<TMPL_VAR ESCAPE=1 NAME="MAILINGS">
+<TMPL_VAR ESCAPE=0 NAME="MAILINGS">
Modified: trunk/vhffs-panel/templates/misc/history.tmpl
===================================================================
--- trunk/vhffs-panel/templates/misc/history.tmpl 2007-11-26 22:21:43 UTC (rev 1096)
+++ trunk/vhffs-panel/templates/misc/history.tmpl 2007-11-26 22:30:08 UTC (rev 1097)
@@ -1,3 +1,3 @@
<table>
- <TMPL_VAR ESCAPE=1 NAME="HISTORY_PART">
+ <TMPL_VAR ESCAPE=0 NAME="HISTORY_PART">
</table>
Modified: trunk/vhffs-panel/web/prefs.pl
===================================================================
--- trunk/vhffs-panel/web/prefs.pl 2007-11-26 22:21:43 UTC (rev 1096)
+++ trunk/vhffs-panel/web/prefs.pl 2007-11-26 22:30:08 UTC (rev 1097)
@@ -120,7 +120,7 @@
$panel->display;
sub save_prefs {
- my $description = $cgi->param('description');
+ my $description = Encode::decode_utf8( $cgi->param('description') );
if(!$user->can_modify($web)) {
$panel->add_error( gettext('You are not allowed to modify this web area') );
return;