Changeset 48181 in spip-zone for _plugins_/forms


Ignore:
Timestamp:
May 27, 2011, 8:30:46 AM (10 years ago)
Author:
cedric@…
Message:

la constante _DIR_PLUGIN_xxx n'a jamais a être préfixée de ../

Location:
_plugins_/forms/forms_et_tables_2_0/exec
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/forms/forms_et_tables_2_0/exec/forms_reponses.php

    r36636 r48181  
    88 * Cedric Morin
    99 * Renato
    10  * © 2005,2006 - Distribue sous licence GNU/GPL
     10 * 2005,2006 - Distribue sous licence GNU/GPL
    1111 *
    1212 */
     
    5252                        echo icone_horizontale(_T('icone_retour'), $retour, _DIR_PLUGIN_FORMS."img_pack/form-24.png", "rien.gif",false);
    5353                }
    54                 echo icone_horizontale(_T("forms:Formulaire"), "?exec=forms_edit&id_form=$id_form", "../"._DIR_PLUGIN_FORMS. "img_pack/form-24.png", "rien.gif",false);
     54                echo icone_horizontale(_T("forms:Formulaire"), "?exec=forms_edit&id_form=$id_form", _DIR_PLUGIN_FORMS. "img_pack/form-24.png", "rien.gif",false);
    5555                $nretour = urlencode(self());
    56                 echo icone_horizontale(_T("forms:Tableau_des_reponses"), "?exec=donnees_tous&id_form=$id_form&retour=$nretour", "../"._DIR_PLUGIN_FORMS. "img_pack/donnees-24.png", "rien.gif",false);
     56                echo icone_horizontale(_T("forms:Tableau_des_reponses"), "?exec=donnees_tous&id_form=$id_form&retour=$nretour", _DIR_PLUGIN_FORMS. "img_pack/donnees-24.png", "rien.gif",false);
    5757               
    5858                if (autoriser('administrer','form',$id_form)) {
    5959                        $retour = urlencode(self());
    6060                        echo icone_horizontale(_T("forms:telecharger_reponses"),
    61                                 generer_url_ecrire("forms_telecharger","id_form=$id_form&retour=$retour"), "../"._DIR_PLUGIN_FORMS. "img_pack/donnees-exporter-24.png", "rien.gif",false);
     61                                generer_url_ecrire("forms_telecharger","id_form=$id_form&retour=$retour"), _DIR_PLUGIN_FORMS. "img_pack/donnees-exporter-24.png", "rien.gif",false);
    6262                }
    6363
  • _plugins_/forms/forms_et_tables_2_0/exec/forms_tous.php

    r35302 r48181  
    88 * Cedric Morin
    99 * Renato
    10  * © 2005,2006 - Distribue sous licence GNU/GPL
     10 * 2005,2006 - Distribue sous licence GNU/GPL
    1111 *
    1212 */
     
    6565                $link=generer_url_ecrire('forms_edit', 'new=oui');
    6666                $link=parametre_url($link,'retour',str_replace('&', '&', self()));
    67                 echo icone(_T("forms:icone_creer_formulaire"), $link, "../"._DIR_PLUGIN_FORMS. "img_pack/form-24.png", "creer.gif");
     67                echo icone(_T("forms:icone_creer_formulaire"), $link, _DIR_PLUGIN_FORMS. "img_pack/form-24.png", "creer.gif");
    6868                echo "</div>";
    6969        }
Note: See TracChangeset for help on using the changeset viewer.