Mip-forms

Aus DeDi-Help

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Version vom 01:28, 9. Aug. 2004 (bearbeiten)
Bjoern (Diskussion | Beiträge)
(Textfelder)
← Zum vorherigen Versionsunterschied
Version vom 02:30, 9. Aug. 2004 (bearbeiten) (Entfernen)
Bjoern (Diskussion | Beiträge)
(Textareas)
Zum nächsten Versionsunterschied →
Zeile 280: Zeile 280:
===Textareas=== ===Textareas===
-[Beschreibung] [Textarea]+[Beschreibung][Textarea]
 + 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '3';  
-$mip_form['0']['type'] = ''; $mip_form['0']['desc'] = 'Beschreibung';  
-$mip_form['0']['cms_var'] = 'MOD_VAR[1]'; $mip_form['0']['cms_val'] =  
-$dedi_mod['value']['1']; $mip_form['0']['cms_val_default'] = '';  
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '3';
 + $mip_form['0']['type'] = '';
 + $mip_form['0']['desc'] = 'Beschreibung';
 + $mip_form['0']['cms_var'] = 'MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-[Checkbox] [Beschreibung] [Textarea]+ 
 +[Checkbox][Beschreibung][Textarea]
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '';  
-$mip_form['0']['type'] = 'chk'; $mip_form['0']['desc'] = 'Beschreibung';  
-$mip_form['0']['chk_var'] = MOD_VAR[0]'; $mip_form['0']['chk_val'] =  
-'$dedi_mod['value']['0']; $mip_form['0']['cms_var'] ='MOD_VAR[1]';  
-$mip_form['0']['cms_val'] = $dedi_mod['value']['1'];  
-$mip_form['0']['cms_val_default'] = ''; $mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '';
 + $mip_form['0']['type'] = 'chk';
 + $mip_form['0']['desc'] = 'Beschreibung';
 + $mip_form['0']['chk_var'] = MOD_VAR[0]';
 + $mip_form['0']['chk_val'] = '$dedi_mod['value']['0'];
 + $mip_form['0']['cms_var'] ='MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
[Radiobutton] [Beschreibung] [Textarea] [Radiobutton] [Beschreibung] [Textarea]
 +
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '3';  
-$mip_form['0']['type'] = 'radio'; $mip_form['0']['desc'] = 'Beschreibung  
-Radiotext'; $mip_form['0']['radio_var'] = 'MOD_VAR[0]';  
-$mip_form['0']['radio_val'] = $dedi_mod['value']['0'];  
-$mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert';  
-$mip_form['0']['radio_val_default'] = ''; $mip_form['0']['cms_var'] =  
-'MOD_VAR[1]'; $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];  
-$mip_form['0']['cms_val_default'] = ''; $mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '3';
 + $mip_form['0']['type'] = 'radio';
 + $mip_form['0']['desc'] = 'Beschreibung Radiotext';
 + $mip_form['0']['radio_var'] = 'MOD_VAR[0]';
 + $mip_form['0']['radio_val'] = $dedi_mod['value']['0'];
 + $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert';
 + $mip_form['0']['radio_val_default'] = '';
 + $mip_form['0']['cms_var'] = 'MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-[Beschreibung] [Textarea]+[Beschreibung]<br>
 +[Textarea]
 + 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '3';  
-$mip_form['0']['type'] = 'long'; $mip_form['0']['desc'] = 'Beschreibung';  
-$mip_form['0']['cms_var'] = 'MOD_VAR[1]'; $mip_form['0']['cms_val'] =  
-$dedi_mod['value']['1']; $mip_form['0']['cms_val_default'] = '';  
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '3';
 + $mip_form['0']['type'] = 'long';
 + $mip_form['0']['desc'] = 'Beschreibung';
 + $mip_form['0']['cms_var'] = 'MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
 + 
 + 
 +[Checkbox] [Beschreibung]
 +[Textarea]
-[Checkbox] [Beschreibung] [Textarea] 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '3';  
-$mip_form['0']['type'] = 'chk_long'; $mip_form['0']['desc'] = 'Beschreibung';  
-$mip_form['0']['chk_var'] = 'MOD_VAR[0]'; $mip_form['0']['chk_val'] =  
-$dedi_mod['value']['0']; $mip_form['0']['cms_var'] = 'MOD_VAR[1]';  
-$mip_form['0']['cms_val'] = $dedi_mod['value']['1'];  
-$mip_form['0']['cms_val_default'] = ''; $mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '3';
 + $mip_form['0']['type'] = 'chk_long';
 + $mip_form['0']['desc'] = 'Beschreibung';
 + $mip_form['0']['chk_var'] = 'MOD_VAR[0]';
 + $mip_form['0']['chk_val'] = $dedi_mod['value']['0'];
 + $mip_form['0']['cms_var'] = 'MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-[Radiobutton] [Beschreibung] [Textarea]+[Radiobutton] [Beschreibung]<br>
 +[Textarea]
-Beispiel: 
-$mip_form['0']['cat'] = 'txtarea'; $mip_form['0']['rows'] = '3'; + Beispiel:
-$mip_form['0']['type'] = 'radio_long'; $mip_form['0']['desc'] = 'Beschreibung +
-Radiotext'; $mip_form['0']['radio_var'] = 'MOD_VAR[0]'; +
-$mip_form['0']['radio_val'] = $dedi_mod['value']['0']; +
-$mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert'; +
-$mip_form['0']['radio_val_default'] = ''; $mip_form['0']['cms_var'] = +
-'MOD_VAR[1]'; $mip_form['0']['cms_val'] = $dedi_mod['value']['1']; +
-$mip_form['0']['cms_val_default'] = ''; $mip_form['0']['tab'] = '0';+
-mip_formsp($mip_form['0']); 
 + <nowiki>$mip_form['0']['cat'] = 'txtarea';
 + $mip_form['0']['rows'] = '3';
 + $mip_form['0']['type'] = 'radio_long';
 + $mip_form['0']['desc'] = 'Beschreibung Radiotext';
 + $mip_form['0']['radio_var'] = 'MOD_VAR[0]';
 + $mip_form['0']['radio_val'] = $dedi_mod['value']['0'];
 + $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert';
 + $mip_form['0']['radio_val_default'] = '';
 + $mip_form['0']['cms_var'] = 'MOD_VAR[1]';
 + $mip_form['0']['cms_val'] = $dedi_mod['value']['1'];
 + $mip_form['0']['cms_val_default'] = '';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
===Optionsfelder=== ===Optionsfelder===

Version vom 02:30, 9. Aug. 2004

Persönliche Werkzeuge