Commit e2a8bd0f authored by slopez's avatar slopez
Browse files

weekmail

parent 323152ae
......@@ -34,6 +34,13 @@ if (!$site->user->is_in_group ("moderateur_site"))
$site->error_forbidden();
$site->start_page("none","Weekmail");
$cts = new contents('<a href="./index.php">gestion ae</a> / <a href="?">Weekmail</a>');
$list = new itemlist("Outils");
$list->add("<a href=\"?page=modere\">Modérer</a>");
$list->add("<a href=\"?page=custom\">Personaliser</a>");
$list->add("<a href=\"?page=addnews\">Ajouter une nouvelle</a>");
$list->add("<a href=\"?page=preview\">Prévisualiser</a>");
$list->add("<a href=\"?page=send\">Envoyer</a>");
$cts->add($list);
$site->add_contents($cts);
$weekmail = new weekmail($site->db,$site->dbrw);
......@@ -413,9 +420,9 @@ if($weekmail->can_create_new())
$file->load_by_id(4693);
$frm->add_entity_smartselect('id_file_header','Header',$file,false,true);
$frm->add_text_field("titre", "Titre : ",'',true,80);
$frm->add_text_area("introduction", "introduction : ",'',80,10,false);
$frm->add_text_area("conclusion", "conclusion : ",'',80,10,false);
$frm->add_text_area("blague", "blague : ",'',80,10,false);
$frm->add_text_area("introduction", "introduction : ",'',80,5,false);
$frm->add_text_area("conclusion", "conclusion : ",'',80,5,false);
$frm->add_text_area("blague", "blague : ",'',80,5,false);
$frm->add_submit("update","Vérouiller");
$site->add_contents ($frm);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment