X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fconfiguration%2Fsyndications.php;fp=www%2Fecrire%2Fconfiguration%2Fsyndications.php;h=7d9899693110bbc93df14912808240a5a017dcb8;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/ecrire/configuration/syndications.php b/www/ecrire/configuration/syndications.php new file mode 100644 index 0000000..7d98996 --- /dev/null +++ b/www/ecrire/configuration/syndications.php @@ -0,0 +1,135 @@ +"; + + $res .= "
"; + $res .= ""; + $res .= "\n\n"; + $res .= " |
"; + $res .= _T('texte_syndication'); + $res .= " |
";
+
+ $res .= bouton_radio("activer_syndic", "oui", _T('item_utiliser_syndication'), $activer_syndic == "oui", "changeVisible(this.checked, 'config-syndic', 'block', 'none');");
+ $res .= " \n"; + $res .= bouton_radio("activer_syndic", "non", _T('item_non_utiliser_syndication'), $activer_syndic == "non", "changeVisible(this.checked, 'config-syndic', 'none', 'block');"); + + if ($activer_syndic != "non") $style = "display: block;"; + else $style = "display: none;"; + + $res .= " ";
+
+ // Moderation par defaut des sites syndiques
+ $res .= " ";
+
+ $res .= ""; + $res .= _T('texte_liens_sites_syndiques')." "; + + $res .= afficher_choix('moderation_sites', $moderation_sites, + array('oui' => _T('item_bloquer_liens_syndiques'), + 'non' => _T('item_non_bloquer_liens_syndiques'))); + + $res .= " |
";
+ $res .= _T('info_syndication_integrale_1',
+ array('url' => generer_url_ecrire('synchro'),
+ 'titre' => _T("icone_suivi_activite"))
+ ).
+ ' ' . + _T('info_syndication_integrale_2'). + ' '; + $res .= " |
";
+ $res .= afficher_choix('syndication_integrale', $GLOBALS['meta']["syndication_integrale"],
+ array('oui' => _T('item_autoriser_syndication_integrale'),
+ 'non' => _T('item_non_autoriser_syndication_integrale')), " \n"); + $res .= " |