Document_Modele CFGDOC warning if there is no template
This commit is contained in:
parent
980cd163af
commit
2fb07b839c
2 changed files with 16 additions and 8 deletions
|
|
@ -100,8 +100,11 @@ class Document_modele
|
|||
$a->name="sa";
|
||||
$a->value="rm_template";
|
||||
$r.=$a->input();
|
||||
$r.=HtmlInput::submit("rm_template","Effacer la sélection");
|
||||
}
|
||||
$r.=HtmlInput::submit("rm_template",_("Effacer la sélection"));
|
||||
} else {
|
||||
echo h2(_("Aucun document"));
|
||||
echo _("Il n'y a aucun document, cliquez sur Ajouter pour en ajouter un");
|
||||
}
|
||||
$b=new IButton('show');
|
||||
$b->label="Ajout d'un document";
|
||||
$b->javascript="$('add_modele').style.display='block';new Draggable('add_modele',{starteffect:function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue