Changeset 10166 in spip-zone
- Timestamp:
- Mar 5, 2007, 5:30:19 PM (14 years ago)
- Location:
- _plugins_/_stable_/forms/forms_et_tables_1_9_1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/_stable_/forms/forms_et_tables_1_9_1/balise/forms.php
r10119 r10166 55 55 $formactif = ( 56 56 ( 57 (_DIR_RESTREINT==_DIR_RESTREINT_ABS && $row['modifiable']=='oui')57 (_DIR_RESTREINT==_DIR_RESTREINT_ABS ) 58 58 OR in_array(_request('exec'),$GLOBALS['forms_actif_exec']) 59 59 ) -
_plugins_/_stable_/forms/forms_et_tables_1_9_1/exec/forms_edit.php
r9693 r10166 86 86 } 87 87 88 if (spip_fetch_array(spip_query("SELECT * FROM spip_forms_champs WHERE id_form="._q($id_form)))) {88 #if (spip_fetch_array(spip_query("SELECT * FROM spip_forms_champs WHERE id_form="._q($id_form)))) { 89 89 $out .= "<br />"; 90 90 $out .= "<div style='padding: 2px; background-color: $couleur_claire; color: black;'> "; … … 98 98 $out .= "<div id='apercu'>$apercu</div>"; 99 99 $out .= fin_block(); 100 }100 #} 101 101 102 102 if ($GLOBALS['spip_version_code']<1.92) ob_start(); // des echo direct en 1.9.1 … … 203 203 $row['titre'] = $titre = unicode2charset(html2unicode($titre)); 204 204 $row['descriptif'] = ""; 205 $row['modifiable'] = 'non'; 206 $row['multiple'] = 'non'; 205 if ($is_form){ 206 $row['modifiable'] = 'non'; 207 $row['multiple'] = 'oui'; 208 } 209 else { 210 $row['modifiable'] = 'non'; 211 $row['multiple'] = 'non'; 212 } 207 213 $row['forms_obligatoires'] = ""; 208 214 $row['email'] = array(); … … 228 234 echo "<br /><br />\n"; 229 235 debut_boite_info(); 230 echo "<div align='center' style='font-size:3em;font-weight:bold;'>$id_form</div>\n"; 236 if ($id_form>0) 237 echo "<div align='center' style='font-size:3em;font-weight:bold;'>$id_form</div>\n"; 231 238 if ($retour) { 232 239 icone_horizontale(_T('icone_retour'), $retour, "../"._DIR_PLUGIN_FORMS."img_pack/form-24.png", "rien.gif",'right');
Note: See TracChangeset
for help on using the changeset viewer.