Magellan Linux

Diff of /alx-src/branches/alx-web-070/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7140 by niro, Tue Sep 15 08:33:39 2015 UTC revision 7741 by niro, Tue Nov 3 10:59:15 2015 UTC
# Line 66  array_unshift($drop['cfg_autostart_sessi Line 66  array_unshift($drop['cfg_autostart_sessi
66  $drop['mtime'] = 'showtime';  $drop['mtime'] = 'showtime';
67  $drop['mac'] = 'show';  $drop['mac'] = 'show';
68  $drop['client_serials_serial'] = 'show';  $drop['client_serials_serial'] = 'show';
69  //$drop['password'] = 'password';  $drop['password'] = 'password';
70  //$drop['shell'] = 'password';  //$drop['shell'] = 'password';
71  $drop['client_auth_user'] = 'password';  $drop['client_auth_user'] = 'password';
72  $drop['root'] = 'password';  $drop['root'] = 'password';
# Line 104  array_unshift($storefront_apps, ""); Line 104  array_unshift($storefront_apps, "");
104  // hackish, fix me  // hackish, fix me
105  for ($i=0; $i<999; $i++) { $drop['cfg_sessions_storefront_'.$i.'_session'] = $storefront_apps; }  for ($i=0; $i<999; $i++) { $drop['cfg_sessions_storefront_'.$i.'_session'] = $storefront_apps; }
106    
107    $drop['enabled'] = 'ignore';
108    $drop['filename'] = 'ignore';
109    $drop['autostart'] = array('0','1');
110    
111  // GGF. NEUEN DATENSATZ EINFÜGEN  // GGF. NEUEN DATENSATZ EINFÜGEN
112  if(isset($_POST['do_add']))  if(isset($_POST['do_add']))
113  {  {
# Line 111  if(isset($_POST['do_add'])) Line 115  if(isset($_POST['do_add']))
115   if($what=='COMMENT') sqladd('cfg_comments', array('serial'=>$id));   if($what=='COMMENT') sqladd('cfg_comments', array('serial'=>$id));
116   else if($what=='PRINTER') sqladd('cfg_printers', array('serial'=>$id));   else if($what=='PRINTER') sqladd('cfg_printers', array('serial'=>$id));
117   else if($what=='MODULE') sqladd('cfg_modules', array('serial'=>$id));   else if($what=='MODULE') sqladd('cfg_modules', array('serial'=>$id));
118   else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'browseradrs'=>$citrix_browseradrs, 'serial'=>$id));   else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'serverlist'=>$citrix_serverlist, 'serial'=>$id));
119   else if($what=='SESSION-STOREFRONT') sqladd('cfg_sessions_storefront', array('domain'=>$storefront_domain_name, 'store'=>$storefront_store, 'serial'=>$id));   else if($what=='SESSION-STOREFRONT') sqladd('cfg_sessions_storefront', array('domain'=>$storefront_domain_name, 'store'=>$storefront_store, 'serial'=>$id));
120   else if($what=='MENUITEM') sqladd('cfg_other_menuitems', array('serial'=>$id));   else if($what=='MENUITEM') sqladd('cfg_other_menuitems', array('serial'=>$id));
121   else if($what=='AUTOSTART') sqladd('cfg_autostart', array('serial'=>$id));   else if($what=='AUTOSTART') sqladd('cfg_autostart', array('serial'=>$id));

Legend:
Removed from v.7140  
changed lines
  Added in v.7741