21if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
41 if (file_exists(NOALYSS_PLUGIN.
'/'.$dir_plugin.
'/plugin.xml')) {
50 }
catch (\Exception
$e) {
64$a_profile=
$cn->get_array(
'select p_id,p_name from profile where p_id > 0 order by p_name');
74 <?php echo
_(
'Nombre de plugins trouvés').
" ".
$nb_plugin; ?>
76 <?php echo
_(
'Filtre');echo
" ";echo HtmlInput::filter_table(
"plugin_install_tb",
'0,1,2,3', 1);?>
77 <
table id=
"plugin_install_tb" class=
"result">
79 <
th><?php echo
_(
'Extension')?></
th>
80 <
th><?php echo
_(
'Menu')?></
th>
81 <
th><?php echo
_(
'Description')?></
th>
82 <
th><?php echo
_(
'Chemin')?></
th>
83 <
th><?php echo
_(
'Disponible')?></
th>
89 (select count(*) from profile_menu as a where a.p_id=b.p_id and me_code=$1 )+
90 (select count(*) from menu_ref as c join profile_menu as d on (d.me_code=c.me_code) where d.p_id=b.p_id and me_file=$2 ) as cnt
97 <
tr class=
"<?php echo $class?>">
108 printf(
_(
"Installé par défaut dans le menu <span class=\" cell highlight\">AD: %s </span>"),
$a_plugin[
$e]->
depend);
132 $ckpl->javascript=
' onchange="activate_plugin(this)"';
th($p_string, $p_extra='', $raw='')
span($p_string, $p_extra='')
echo_warning($p_string)
warns
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
catch(\Exception $e) $extension
h( $row[ 'oa_description'])
foreach($array as $idx=> $m) $w
_("actif, passif,charge,...")
$a_profile
available profiles
font $a_plugin[ $e] depend
for($e=0;$e< $nb_dirscan;$e++) $nb_plugin
static read_definition($p_file)
Parse a XML file to complete an array of extension objects, in the plugin.xml file ,...