Magellan Linux

Diff of /alx-src/branches/alx-web-060/plugin.php

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

revision 3517 by niro, Fri Apr 20 09:27:56 2012 UTC revision 3518 by niro, Fri Apr 20 09:29:19 2012 UTC
# Line 17  else Line 17  else
17   $drop = array();   $drop = array();
18   $drop['id'] = 'hidden';   $drop['id'] = 'hidden';
19   $drop['serial'] = 'ignore';   $drop['serial'] = 'ignore';
20   if (file_exists('include/plugins/'.$plugin.'.php'))   if (file_exists('include/plugins/'.$plugin.'.php')) include('include/plugins/'.$plugin.'.php');
  {  
  include('include/plugins/'.$plugin.'.php');  
  }  
21    
22   // GGF. NEUEN DATENSATZ EINF.GEN   // GGF. NEUEN DATENSATZ EINF.GEN
23   if(isset($_POST['do_add']))   if(isset($_POST['do_add']))
# Line 58  else Line 55  else
55   }   }
56    
57   $plugininfo = sqlfirst('SELECT * FROM '.$plugintable.' WHERE serial='.$id);   $plugininfo = sqlfirst('SELECT * FROM '.$plugintable.' WHERE serial='.$id);
58   if ($plugininfo['serial'] == NULL )   if ($plugininfo['serial'] == NULL ) $showconfigadd = 1;
59   {   else $showconfigadd = 0;
  $showconfigadd = 1;  
  } else {  
  $showconfigadd = 0;  
  }  
   
60    
61   // ANZEIGEN   // ANZEIGEN
   
62   function parsearr($name, $arr, $del=false, $wireless=false)   function parsearr($name, $arr, $del=false, $wireless=false)
63   {   {
64   global $drop;   global $drop;

Legend:
Removed from v.3517  
changed lines
  Added in v.3518