23if (!defined(
'ALLOWED'))
24 die(
'Appel direct ne sont pas permis');
32$href = basename($_SERVER[
'PHP_SELF']);
42if (isset(
$_POST[
'action_fiche']))
44 if (
$_POST[
'action_fiche'] ==
'delete_card')
48 alert(
_(
'Vous ne pouvez pas enlever de fiche'));
76 if (isset(
$_GET[
'cat']))
81 $noop = (isset(
$_GET[
'noop'])) ?
false : true;
83 echo
'<div class="content">';
93 $f_add_button =
new IButton(
'add_card');
94 $f_add_button->label =
_(
'Créer une nouvelle fiche');
95 $f_add_button->set_attribute(
'win_refresh',
'yes');
98 $f_add_button->javascript =
" select_card_type(this);";
99 echo $f_add_button->input();
101 $f_cat_button =
new IButton(
'add_cat');
103 $f_cat_button->set_attribute(
'ipopup',
'ipop_cat');
104 $f_cat_button->label =
_(
'Ajout d\'une catégorie');
105 $f_cat_button->javascript =
'add_category(this)';
106 echo $f_cat_button->input();
119 require_once NOALYSS_INCLUDE.
'/category_card.inc.php';
alert($p_msg, $buffer=false)
alert in javascript
global $g_user
if no group available , then stop
if(trim($query)==''|| $filter=='') $search
_("actif, passif,charge,...")
class Supplier are a specific kind of card