[wip] adding missing ehe() and eue() for htmlentities or urlencode in form fields

This commit is contained in:
Benjamin Sonntag 2016-05-23 08:27:58 +02:00
parent a956b38c00
commit aaa3d68697
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ $list_ip = $authip->list_ip_whitelist();
} else {
$txt = "Unknow IP";
}
echo "<tr class="lst"><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
echo "<tr class=\"lst\"><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
?>
<td><div class="ina edit"><a href="javascript:edit_ip(<?php echo "'".urlencode($i['id'])."','".urlencode($i['ip_human'])."','".urlencode($i['infos'])."'"; ?>);"><?php __("Edit"); ?></a></div></td>
<td><div class="ina delete"><a href="adm_authip_whitelist.php?delete_id=<?php eue($i["id"]); ?>"><?php __("Delete"); ?></a></div></td>

View File

@ -105,7 +105,7 @@ if (!empty($formu) && $formu) {
<ul>
<?php foreach($d as $editfile){ ?>
<li> <?php ehe($editfile); ?></li>
<input type="hidden" name="d[]" value="<?php ehe($editfile)); ?>" />
<input type="hidden" name="d[]" value="<?php ehe($editfile); ?>" />
<?php } ?>
</ul>
<blockquote>