From c85647ea79f3252fb82c15c700b7827e41224c7b Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 26 Sep 2011 07:34:15 -0400 Subject: [PATCH] Splitted the remote function permission array for the remote user form into separate config files. The new remote.conf.php files are located in the lib folder of the modules. --- interface/web/sites/ajax_get_ip.php | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/interface/web/sites/ajax_get_ip.php b/interface/web/sites/ajax_get_ip.php index 62d62e8..8b2ee09 100644 --- a/interface/web/sites/ajax_get_ip.php +++ b/interface/web/sites/ajax_get_ip.php @@ -43,7 +43,11 @@ $sql = "SELECT ip_address FROM server_ip WHERE ip_type = '$ip_type' AND server_id = $server_id"; $ips = $app->db->queryAllRecords($sql); // $ip_select = "<option value=''></option>"; - $ip_select = "*"; + if($ip_type == 'IPv4'){ + $ip_select = "*"; + } else { + $ip_select = ""; + } if(is_array($ips)) { foreach( $ips as $ip) { //$selected = ($ip["ip_address"] == $this->dataRecord["ip_address"])?'SELECTED':''; -- Gitblit v1.9.1