[wip] adding missing ehe() and eue() for htmlentities or urlencode in form fields
This commit is contained in:
parent
a956b38c00
commit
aaa3d68697
|
@ -80,7 +80,7 @@ $list_ip = $authip->list_ip_whitelist();
|
||||||
} else {
|
} else {
|
||||||
$txt = "Unknow IP";
|
$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 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>
|
<td><div class="ina delete"><a href="adm_authip_whitelist.php?delete_id=<?php eue($i["id"]); ?>"><?php __("Delete"); ?></a></div></td>
|
||||||
|
|
|
@ -105,7 +105,7 @@ if (!empty($formu) && $formu) {
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($d as $editfile){ ?>
|
<?php foreach($d as $editfile){ ?>
|
||||||
<li> <?php ehe($editfile); ?></li>
|
<li> <?php ehe($editfile); ?></li>
|
||||||
<input type="hidden" name="d[]" value="<?php ehe($editfile)); ?>" />
|
<input type="hidden" name="d[]" value="<?php ehe($editfile); ?>" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|
Loading…
Reference in New Issue