Document_Modele CFGDOC warning if there is no template

This commit is contained in:
Dany De Bontridder 2018-02-20 21:08:32 +01:00
parent 980cd163af
commit 2fb07b839c
2 changed files with 16 additions and 8 deletions

View file

@ -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(){