Changeset 9831 in spip-zone
- Timestamp:
- Feb 22, 2007, 4:18:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/_stable_/forms/forms_et_tables_1_9_1/exec/template/tables_affichage.php
r9828 r9831 37 37 include_spip('inc/autoriser_compat'); 38 38 39 if (_request('var_mode')=='dev' OR _OUTILS_DEVELOPPEURS) { 39 if ( _request('exec')=='tables_tous' 40 && (_request('var_mode')=='dev' OR _OUTILS_DEVELOPPEURS)) { 40 41 $res = spip_query("SELECT type_form FROM spip_forms GROUP BY type_form ORDER BY type_form"); 41 42 while ($row = spip_fetch_array($res)){ … … 53 54 } 54 55 else { 55 $contexte = array('type_form'=>$type_form,'titre_liste'=>$titre_page,'couleur_claire'=>$GLOBALS['couleur_claire'],'couleur_foncee'=>$GLOBALS['couleur_foncee']); 56 $prefix = forms_prefixi18n($type_form); 57 $contexte = array('type_form'=>$type_form,'titre_liste'=>_T("$prefix:toutes_tables"),'couleur_claire'=>$GLOBALS['couleur_claire'],'couleur_foncee'=>$GLOBALS['couleur_foncee']); 56 58 echo recuperer_fond("exec/template/tables_tous",$contexte); 57 59 … … 60 62 $link=generer_url_ecrire('forms_edit', "new=oui&type_form=$type_form"); 61 63 $link=parametre_url($link,'retour',str_replace('&', '&', self())); 62 icone( $titre_creer, $link, "../"._DIR_PLUGIN_FORMS. "img_pack/$type_form-24.png", "creer.gif");64 icone(_T("$prefix:icone_creer_table"), $link, "../"._DIR_PLUGIN_FORMS. "img_pack/$type_form-24.png", "creer.gif"); 63 65 echo "</div>"; 64 66 }
Note: See TracChangeset
for help on using the changeset viewer.