X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fconfiguration%2Fannonces.php;fp=www%2Fecrire%2Fconfiguration%2Fannonces.php;h=ab0ba70916adf8da48d54b84efc0789c3fc92dd1;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/ecrire/configuration/annonces.php b/www/ecrire/configuration/annonces.php new file mode 100644 index 0000000..ab0ba70 --- /dev/null +++ b/www/ecrire/configuration/annonces.php @@ -0,0 +1,125 @@ +" + . "\n" + . "

"._T('info_hebergeur_desactiver_envoi_email')."

" + . ""; + + // + // Suivi editorial (articles proposes & publies) + // + + $suivi_edito=$GLOBALS['meta']["suivi_edito"]; + $adresse_suivi=$GLOBALS['meta']["adresse_suivi"]; + $adresse_suivi_inscription=$GLOBALS['meta']["adresse_suivi_inscription"]; + + $res .= "
\n" + . debut_cadre_relief("", true, "", _T('info_suivi_activite')) + . ""; + + $res .= "\n
" + . _T('info_facilite_suivi_activite') + . "
"; + + + $res .= "" + . "\n
"; + + $res .= bouton_radio("suivi_edito", "oui", _T('bouton_radio_envoi_annonces_adresse'), $suivi_edito == "oui", "changeVisible(this.checked, 'config-edito', 'block', 'none');"); + + + if ($suivi_edito == "oui") $style = "display: block;"; + else $style = "display: none;"; + + $res .= "
" + . "\n
" + . "\n

"; + + if (!$adresse_suivi) $adresse_suivi = "mailing@monsite.net"; + + $res .= "" + . "
\n" + . "

" + . "
" + . "
\n" + . bouton_radio("suivi_edito", "non", _T('bouton_radio_non_envoi_annonces_editoriales'), $suivi_edito == "non", "changeVisible(this.checked, 'config-edito', 'none', 'block');") + . "
\n" + . fin_cadre_relief(true); + + // + // Annonce des nouveautes + // + $quoi_de_neuf=$GLOBALS['meta']["quoi_de_neuf"]; + $adresse_neuf=$GLOBALS['meta']["adresse_neuf"]; + $jours_neuf=$GLOBALS['meta']["jours_neuf"]; + + $res .= "
\n" + . debut_cadre_relief("", true, "", _T('info_annonce_nouveautes')) + . "" + . "\n" + . "\n
" + . _T('info_non_envoi_annonce_dernieres_nouveautes') + . "
" + . bouton_radio("quoi_de_neuf", "oui", _T('bouton_radio_envoi_liste_nouveautes'), $quoi_de_neuf == "oui", "changeVisible(this.checked, 'config-neuf', 'block', 'none');"); + + if ($quoi_de_neuf == "oui") $style = "display: block;"; + else $style = "display: none;"; + + $res .= "
" + . "
    " + . "
  • " + . "\n" + . "
  • " + . "\n\n" + . _T('info_jours') + . "      \n" + . "
" + . "
"; + + $res .= "
\n" + . bouton_radio("quoi_de_neuf", "non", _T('info_non_envoi_liste_nouveautes'), $quoi_de_neuf == "non", "changeVisible(this.checked, 'config-neuf', 'none', 'block');"); + + $res .= "
\n" + . fin_cadre_relief(true); + + $email_envoi = entites_html($GLOBALS['meta']["email_envoi"]); + $titre = _T('info_email_envoi'); + if ($email_envoi) $titre .= " : " . $email_envoi; + $res .= "
\n" + . debut_cadre_relief("", true, "", $titre) + . "" + . "\n" + . "\n
" + . "" + . " " + . "
 
" + . fin_cadre_relief(true); + + $res = debut_cadre_trait_couleur("mail-auto-24.gif", true, "", _T('info_envoi_email_automatique').aide ("confmails")) + . ajax_action_post('configurer', 'annonces', 'config_contenu','',$res) + . fin_cadre_trait_couleur(true); + + return ajax_action_greffe('configurer-annonces', '', $res); +} +?>