Changeset 37165 in spip-zone


Ignore:
Timestamp:
Apr 12, 2010, 1:29:07 PM (10 years ago)
Author:
homere1974@…
Message:

La fonction de modération publique des mots-clé marchait sur les pieds de generer_supprimer_mot.

Location:
_galaxie_/forum.spip.org/forum.spip.org_2009
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/forum.spip.org/forum.spip.org_2009/mes_fonctions.php

    r34756 r37165  
    224224
    225225// supprimer les mots-cles depuis l'espace public
    226 function generer_supprimer_mot($id_mot,$id_objet,$table='forum',$table_id='',$r='') {
     226function generer_moderer_mot($id_mot,$id_objet,$table='forum',$table_id='',$r='') {
    227227   if (!$table_id) $table_id='id_'.substr($table,0,-1);
    228228   include_spip("inc/securiser_action");
  • _galaxie_/forum.spip.org/forum.spip.org_2009/threadspip.html

    r36908 r37165  
    2525                                <BOUCLE_tags(FORUMS){id_thread}{plat}>
    2626                                <BOUCLE_mots(MOTS){id_groupe IN 3,4,5,6}{id_forum}{unique}>
    27                                 <a href="[(#URL_MOT|parametre_url{id_rubrique,#GET{rub}})]" class="mots">#TITRE</a>[(#AUTORISER{editer_mots,mots,#ID_MOT})<a href="[(#ID_MOT|generer_supprimer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]
     27                                <a href="[(#URL_MOT|parametre_url{id_rubrique,#GET{rub}})]" class="mots">#TITRE</a>[(#AUTORISER{editer_mots,mots,#ID_MOT})<a href="[(#ID_MOT|generer_moderer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]
    2828                                </BOUCLE_mots>
    2929                                </BOUCLE_tags>
     
    3434       
    3535        <BOUCLE_test_tous(FORUMS){id_thread}{plat}{par date}>
    36         <BOUCLE_resolu(MOTS){id_forum}{id_mot=1332}>[#TITRE (#AUTORISER{editer_mots,mots})<a href="[(#ID_MOT|generer_supprimer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]#SET{resolu,#TITRE}</BOUCLE_resolu>
    37         <BOUCLE_clore(MOTS){id_forum}{id_mot==1340}>[#TITRE (#AUTORISER{editer_mots,mots})<a href="[(#ID_MOT|generer_supprimer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]#SET{clore,#TITRE}</BOUCLE_clore>
     36        <BOUCLE_resolu(MOTS){id_forum}{id_mot=1332}>[#TITRE (#AUTORISER{editer_mots,mots})<a href="[(#ID_MOT|generer_moderer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]#SET{resolu,#TITRE}</BOUCLE_resolu>
     37        <BOUCLE_clore(MOTS){id_forum}{id_mot==1340}>[#TITRE (#AUTORISER{editer_mots,mots})<a href="[(#ID_MOT|generer_moderer_mot{#ID_FORUM,'forums'}|parametre_url{redirect,[(#GET{url})]?var_mode=calcul})]"><img src='#EVAL{_DIR_IMG_PACK}croix-rouge.gif' alt='<:ecrire:info_supprimer_mot:>' title='<:ecrire:info_supprimer_mot:>' /></a>]#SET{clore,#TITRE}</BOUCLE_clore>
    3838        </BOUCLE_test_tous>
    3939       
Note: See TracChangeset for help on using the changeset viewer.