source: spip-zone/_core_/branches/spip-3.0/plugins/forum/prive/modeles/forum-actions-moderer.html

Last change on this file was 60473, checked in by cedric@…, 9 years ago

Ferme http://core.spip.org/issues/2651 : divers petit soucis d'ergo sur la moderation des forum

File size: 1.9 KB
Line 
1#SET{action,'<div class="actions moderer"><div>'}
2[(#SET{retour,[(#REM|test_espace_prive|?{[(#VAL{ecrire/}|concat{#SELF|replace{'./',''}})],#SELF}|ancre_url{forum#ID_FORUM})]})]
3#SET{redirect,#URL_PAGE{forum}|parametre_url{id_forum,#ID_FORUM}
4         |parametre_url{id_objet,#ID_OBJET}
5         |parametre_url{objet,#OBJET}
6         |parametre_url{retour,#GET{retour}}}
7[
8(#STATUT|=={publie}|oui)
9         #GET{action}#SET{action,''}
10        <a href="#GET{redirect}"><:forum:repondre_message:></a><span class="sep"> | </span>
11]
12[(#AUTORISER{instituer,forum,#ID_FORUM})
13        [(#STATUT|=={prop}|oui)
14         #GET{action}#SET{action,''}
15         [(#BOUTON_ACTION{<:forum:icone_valider_repondre_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-publie,#GET{redirect}},'valider'})]
16        ]
17        [(#STATUT|in_any{#LISTE{off,spam,prop}})
18         #GET{action}#SET{action,''}
19         [(#BOUTON_ACTION{<:forum:icone_valider_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-publie,#SELF|ancre_url{forum#ID_FORUM}},'ajax valider'})]
20         <br />
21        ]
22        [(#STATUT|in_any{#LISTE{publie,prop}})
23         #GET{action}#SET{action,''}
24         [(#BOUTON_ACTION{<:forum:icone_supprimer_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-off,#SELF|ancre_url{forum#ID_FORUM}},'ajax supprimer'})]
25        ]
26        [(#STATUT|in_any{#LISTE{prive,privrac}})
27         #GET{action}#SET{action,''}
28         [(#BOUTON_ACTION{<:forum:icone_supprimer_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-privoff,#SELF|ancre_url{forum#ID_FORUM}},'ajax supprimer'})]
29        ]
30
31        [(#STATUT|in_any{#LISTE{publie,off,prop}})
32         #GET{action}#SET{action,''}
33         [(#BOUTON_ACTION{<:forum:icone_bruler_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-spam,#SELF|ancre_url{forum#ID_FORUM}},'ajax bruler'})]
34        ]
35        [(#STATUT|in_any{#LISTE{spam}})
36         #GET{action}#SET{action,''}
37         [(#BOUTON_ACTION{<:forum:icone_legitimer_message:>,#URL_ACTION_AUTEUR{instituer_forum,#ID_FORUM-prop,#SELF|ancre_url{forum#ID_FORUM}},'ajax proposer'})]
38        ]
39]
40[(#GET{action}|non)</div></div>]
Note: See TracBrowser for help on using the repository browser.