cvs: php-master-web /manage event.php

From: Date: Mon, 04 Jun 2007 18:20:49 +0000
Subject: cvs: php-master-web /manage event.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-35605@lists.php.net to get a copy of this message
bjori Mon Jun 4 18:20:49 2007 UTC Modified files: /php-master-web/manage event.php Log: Entitify quotes and use utf8 (Johannes) http://cvs.php.net/viewvc.cgi/php-master-web/manage/event.php?r1=1.16&r2=1.17&diff_format=u Index: php-master-web/manage/event.php diff -u php-master-web/manage/event.php:1.16 php-master-web/manage/event.php:1.17 --- php-master-web/manage/event.php:1.16 Tue Sep 12 11:20:30 2006 +++ php-master-web/manage/event.php Mon Jun 4 18:20:49 2007 @@ -125,8 +125,8 @@ <th>Start Date</th> <td> <select name="in[smonth]"><option></option><?php display_options($months,$in['smonth'])?></select> - <input type="text" name="in[sday]" size="2" maxlength="2" value="<?php echo htmlentities($in['sday'])?>" /> - <input type="text" name="in[syear]" size="4" maxlength="4" value="<?php echo $in['syear'] ? htmlentities($in['syear']) : date("Y")?>" /> + <input type="text" name="in[sday]" size="2" maxlength="2" value="<?php echo htmlentities($in['sday'], ENT_QUOTES, 'UTF-8')?>" /> + <input type="text" name="in[syear]" size="4" maxlength="4" value="<?php echo $in['syear'] ? htmlentities($in['syear'], ENT_QUOTES, 'UTF-8') : date("Y")?>" /> <input type="radio" id="single" name="in[type]" value="single"<?php if ($in['type'] == 'single' || !$in['type']) echo ' checked="checked"';?> /> <label for="single">One day (no end-date required)</label> </td> @@ -135,8 +135,8 @@ <th>End Date</th> <td> <select name="in[emonth]"><option></option><?php display_options($months,$in['emonth'])?></select> - <input type="text" name="in[eday]" size="2" maxlength="2" value="<?php echo htmlentities($in['eday'])?>" /> - <input type="text" name="in[eyear]" size="4" maxlength="4" value="<?php echo $in['eyear'] ? htmlentities($in['eyear']) : date("Y")?>" /> + <input type="text" name="in[eday]" size="2" maxlength="2" value="<?php echo htmlentities($in['eday'], ENT_QUOTES, 'UTF-8')?>" /> + <input type="text" name="in[eyear]" size="4" maxlength="4" value="<?php echo $in['eyear'] ? htmlentities($in['eyear'], ENT_QUOTES, 'UTF-8') : date("Y")?>" /> <input type="radio" id="multi" name="in[type]" value="multi"<?php if ($in['type'] == 'multi') echo ' checked="checked"';?> /> <label for="multi">Multi-day event</label> </td> @@ -152,7 +152,7 @@ </tr> <tr> <th>Short<br>Description</th> - <td><input type="text" name="in[sdesc]" value="<?php echo htmlentities($in['sdesc'])?>" size="32" maxlength="32" /></td> + <td><input type="text" name="in[sdesc]" value="<?php echo htmlentities($in['sdesc'], ENT_QUOTES, 'UTF-8')?>" size="32" maxlength="32" /></td> </tr> <tr> <th>Country</th> @@ -175,17 +175,17 @@ </tr> <tr> <th>Email</th> - <td><input type="text" name="in[email]" size="40" maxlength="128" value="<?php echo htmlentities($in['email'])?>" /></td> + <td><input type="text" name="in[email]" size="40" maxlength="128" value="<?php echo htmlentities($in['email'], ENT_QUOTES, 'UTF-8')?>" /></td> </tr> <tr> <th>URL</th> - <td><input type="text" name="in[url]" size="40" maxlength="128" value="<?php echo htmlentities($in['url'])?>" /></td> + <td><input type="text" name="in[url]" size="40" maxlength="128" value="<?php echo htmlentities($in['url'], ENT_QUOTES, 'UTF-8')?>" /></td> </tr> <tr> <th colspan="2" align="left">Long Description</th> </tr> <tr> - <td colspan="2"><textarea name="in[ldesc]" cols="60" rows="10" maxlength="78" wrap="virtual"><?php echo htmlentities($in['ldesc']);?></textarea></td> + <td colspan="2"><textarea name="in[ldesc]" cols="60" rows="10" maxlength="78" wrap="virtual"><?php echo htmlentities($in['ldesc'], ENT_QUOTES, 'UTF-8');?></textarea></td> </tr> <tr> <td align="center" colspan="2">

« previous php.mirrors (#35605) next »