20require_once NOALYSS_INCLUDE.
'/database/tag_sql.class.php';
58 $ret=$this->data->seek(
' order by t_tag');
59 if ( $this->
cn->count(
$ret) == 0)
return "";
60 require_once NOALYSS_TEMPLATE.
'/tag_list.php';
69 require_once NOALYSS_TEMPLATE.
'/tag_detail.php';
76 echo
h2(_(
"Ajout d'un dossier (ou tag)"));
84 $this->data->t_tag= strip_tags(
$p_array[
't_tag']);
85 $this->data->t_description=strip_tags(
$p_array[
't_description']);
86 $this->data->t_actif=
$p_array[
't_actif'];
87 $this->data->t_color=
$p_array[
'tagcell_color'];
93 $this->data->delete();
100 $ret=$this->
cn->exec_sql(
" select t_id,t_tag,t_description,'t' as tag_type ,t_color
104 select tg_id,tg_name ,'G','g' ,1 from tag_group order by 2");
h2($p_string, $p_class="", $raw="")
Manage the table public.tag.
Tag operations or actions to linked them together.
show_list()
Show the list of available tag.
__construct($p_cn, $id=-1)
form_add()
Display a inner window with the detail of a tag.
show_form_add()
Show the tag you can add to a document.