90 |
$drop['wireless_key'] = 'password'; |
$drop['wireless_key'] = 'password'; |
91 |
$drop['wireless_key_ascii'] = 'password'; |
$drop['wireless_key_ascii'] = 'password'; |
92 |
|
|
93 |
// get current citrix sessions |
// get current citrix apps |
94 |
// split all citrix server into an array to get the first server from list |
$citrix_apps = sqlarr('SELECT session FROM values_citrix_session where enabled=1', '', 'session'); |
95 |
//$citrix_query_browser = split(";", $citrix_browseradrs); |
// add an empty value add the first position of the array as session-default |
96 |
//exec($wwwroot.'/pnabrowse-wrapper -A '.$citrix_query_browser[0], $returned_citrix_sessions, $retval); |
array_unshift($citrix_apps, ""); |
97 |
//if ($retval == 0) |
// hackish, fix me |
98 |
//{ |
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_citrix_'.$i.'_session'] = $citrix_apps; } |
|
// $citrix_public_applications = str_replace("'", "", $returned_citrix_sessions); |
|
|
// // add an empty value add the first position of the array as session-default |
|
|
// array_unshift($citrix_public_applications, ""); |
|
|
// for ($i=0; $i<999; $i++) { $drop['cfg_sessions_'.$i.'_session'] = $citrix_public_applications; } |
|
|
//} |
|
|
|
|
|
$drop['cfg_sessions_citrix_session'] = sqlarr('SELECT session FROM values_citrix_session where enabled=1', '', 'session'); |
|
|
$drop['cfg_sessions_storefront_session'] = sqlarr('SELECT session FROM values_storefront_session where enabled=1', '', 'session'); |
|
99 |
|
|
100 |
|
// get current storefront apps |
101 |
|
$storefront_apps = sqlarr('SELECT session FROM values_storefront_session where enabled=1', '', 'session'); |
102 |
|
// add an empty value add the first position of the array as session-default |
103 |
|
array_unshift($storefront_apps, ""); |
104 |
|
// hackish, fix me |
105 |
|
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_storefront_'.$i.'_session'] = $storefront_apps; } |
106 |
|
|
107 |
// GGF. NEUEN DATENSATZ EINFÜGEN |
// GGF. NEUEN DATENSATZ EINFÜGEN |
108 |
if(isset($_POST['do_add'])) |
if(isset($_POST['do_add'])) |