Task #1052 - Automatic integration of plugin

Plugin management
This commit is contained in:
Dany De Bontridder 2014-11-18 01:34:05 +01:00
parent c7dd53c0f6
commit f8c4c1d0e7
4 changed files with 275 additions and 6 deletions

View file

@ -46,6 +46,7 @@ if ( isset($_POST['save_plugin']))
$plugin->me_description=$me_description;
$plugin->me_parameter='plugin_code='.$me_code;
$plugin->insert_plugin();
$plugin->insert_profile_module();
}
/**
* if post update then we update
@ -138,7 +139,7 @@ if ( $iselect->selected != '')
{
$sql="where me_type='".sql_string($_REQUEST['p_type'])."' ";
}
$menu=new Menu_Ref_sql();
$menu=new Menu_Ref_sql($cn);
$ret=$menu->seek($sql.$order);
?>
<fieldset><legend>Recherche</legend>