array ("request", "integer", ""), "delete_affected_id" => array ("request", "integer", ""), "id" => array ("request", "integer", 0), "ipsub" => array ("post", "string", ""), "infos" => array ("post", "string" ,""), "s_ipsub" => array ("post", "integer", ""), "s_protocol" => array ("post", "string", ""), ); getFields($fields); if (!empty($s_protocol)) { $val="s_affect_".$s_protocol; $fields = array( $val => Array('post','string', '') ); getFields($fields); if (! $authip->ip_affected_save($s_ipsub, $s_protocol, $$val) ) { $msg->raise("ERROR", "ftp", _("Error during ip_affected_save")); } } if (!empty($delete_affected_id)) { if (! $authip->ip_affected_delete($delete_affected_id)) { $msg->raise("ERROR", "ftp", _("Error during deletion")); } } if (!empty($delete_id)) { if (! $authip->ip_delete($delete_id)) { $msg->raise("ERROR", "ftp", _("Error during deletion")); } } if (!empty($ipsub)) { if (! $authip->ip_save($id, $ipsub, $infos)) { $msg->raise("ERROR", "ftp", _("Error during recording")); } } $list_ip = $authip->list_ip(); $ac = $authip->get_auth_class(); $lac = $authip->list_affected(); ?>
".$list_ip[$ll['authorised_ip_id']]['infos'];
//echo " ".$list_ip[$ll['authorised_ip_id']]['ip_human']; echo " | ";
echo "".@$ac[$ll['protocol']]['name']; if (isset($ac[$ll['protocol']]['values'][$ll['parameters']]) && $ac[$ll['protocol']]['values'][$ll['parameters']]) { echo " "._("for")." ".$ac[$ll['protocol']]['values'][$ll['parameters']]; } echo " | "; echo ''; echo ""; } ?> |
{$i['infos']} | {$i['ip_human']} | $txt | "; ?>