Magellan Linux

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

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

revision 8520 by niro, Mon Feb 8 09:47:59 2016 UTC revision 8557 by niro, Mon Feb 8 14:15:45 2016 UTC
# Line 84  $drop['hwdetected'] = 'ignore'; Line 84  $drop['hwdetected'] = 'ignore';
84  // ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_  // ACHTUNG!!! wlan_-Felder heißen eigentlich wireless_
85  $drop['wireless_mode'] = sqlarr('SELECT value FROM values_network_wireless_mode where enabled=1', '', 'value');  $drop['wireless_mode'] = sqlarr('SELECT value FROM values_network_wireless_mode where enabled=1', '', 'value');
86  $drop['wireless_auth_mode'] = sqlarr('SELECT value FROM values_network_wireless_auth_mode where enabled=1', '', 'value');  $drop['wireless_auth_mode'] = sqlarr('SELECT value FROM values_network_wireless_auth_mode where enabled=1', '', 'value');
87    $drop['wireless_bitrate'] = sqlarr('SELECT value FROM values_network_wireless_bitrate where enabled=1', '', 'value');
88  $drop['wireless_key_length'] = sqlarr('SELECT value FROM values_network_wireless_key_length where enabled=1', '', 'value');  $drop['wireless_key_length'] = sqlarr('SELECT value FROM values_network_wireless_key_length where enabled=1', '', 'value');
89  $drop['wireless_channel'] = sqlarr('SELECT value FROM values_network_wireless_channel where enabled=1', '', 'value');  $drop['wireless_channel'] = sqlarr('SELECT value FROM values_network_wireless_channel where enabled=1', '', 'value');
90  $drop['wireless_frequency'] = sqlarr('SELECT value FROM values_network_wireless_frequency where enabled=1', '', 'value');  $drop['wireless_frequency'] = sqlarr('SELECT value FROM values_network_wireless_frequency where enabled=1', '', 'value');
# Line 351  echo '</td><td valign=top>'; Line 352  echo '</td><td valign=top>';
352   {   {
353   if($retval==0)   if($retval==0)
354   {   {
  // first try mcore, then get ssh  
355   $ping_retval = ping_host($conn['ip'],$mcore_port,$ping_timeout);   $ping_retval = ping_host($conn['ip'],$mcore_port,$ping_timeout);
  if($ping_retval==1) $ping_retval = ping_host($dat['ip'],$ssh_port,$ping_timeout);  
356   if($ping_retval==0)   if($ping_retval==0)
357   {   {
358   $state = 'On';   $state = 'On';
# Line 420  echo '</td><td valign=top>'; Line 419  echo '</td><td valign=top>';
419   else   else
420   echo '<input class="but" type=button value="WAKE ON LAN" style="width:150px" onclick="if(confirm(\'WAKE CLIENT #'.$id.' ?\')) window.open(\'wake_on_lan.php?mac='.$data['client_serials']['mac'].'\', \'WakeWin\', \'width=200,height=100\')"><br>';   echo '<input class="but" type=button value="WAKE ON LAN" style="width:150px" onclick="if(confirm(\'WAKE CLIENT #'.$id.' ?\')) window.open(\'wake_on_lan.php?mac='.$data['client_serials']['mac'].'\', \'WakeWin\', \'width=200,height=100\')"><br>';
421    
422     // print version info
423     $version = file_get_contents('./VERSION', FILE_USE_INCLUDE_PATH);
424     echo '<br><br><font size="1">v'.$version.'</font>';
425    
426  echo '</td></tr></table>';  echo '</td></tr></table>';
427  echo '</form>';  echo '</form>';
428  ?>  ?>

Legend:
Removed from v.8520  
changed lines
  Added in v.8557