Mip-forms
Aus DeDi-Help
(Unterschied zwischen Versionen)
| Version vom 02:35, 9. Aug. 2004 (bearbeiten) Bjoern (Diskussion | Beiträge) (→Optionsfelder) ← Zum vorherigen Versionsunterschied |
Version vom 02:40, 9. Aug. 2004 (bearbeiten) (Entfernen) Bjoern (Diskussion | Beiträge) (→Radiobuttons) Zum nächsten Versionsunterschied → |
||
| Zeile 593: | Zeile 593: | ||
| - | [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] [Radiobutton x2] | + | [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> |
| - | [Radiobuttonbeschreibung x2] [Radiobutton x3] [Radiobuttonbeschreibung x3] | + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> |
| + | [Radiobutton x3] [Radiobuttonbeschreibung x3]<br> | ||
| + | |||
| Beispiel: | Beispiel: | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = ''; | ||
| - | $mip_form['0']['desc'] = 'Auswahl:'; $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| - | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| - | $mip_form['0']['cms_val_default'] = ''; $mip_form['0']['option_desc']['0'] = | ||
| - | 'Option 1'; $mip_form['0']['option_val']['0'] = 'val1'; | ||
| - | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| - | $mip_form['0']['option_val']['1'] = 'val2'; $mip_form['0']['option_desc']['2'] = | ||
| - | ''; $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| - | $mip_form['0']['tab'] = '0'; | ||
| - | mip_formsp($mip_form['0']); | + | $mip_form['0']['cat'] = 'radio'; |
| + | $mip_form['0']['type'] = ''; | ||
| + | $mip_form['0']['desc'] = 'Auswahl:'; | ||
| + | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| - | [Checkbox] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] | + | [Checkbox] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> |
| - | [Radiobutton x2] [Radiobuttonbeschreibung x2] | + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> |
| Beispiel: | Beispiel: | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = 'chk'; | ||
| - | $mip_form['0']['desc'] = 'Auswahl:'; $mip_form['0']['chk_var'] = 'MOD_VAR[4]'; | ||
| - | $mip_form['0']['chk_val'] = $dedi_mod['value']['4']; | ||
| - | $mip_form['0']['chk_val_default'] = ''; $mip_form['0']['cms_var'] = | ||
| - | 'MOD_VAR[0]'; $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| - | $mip_form['0']['cms_val_default'] = ''; $mip_form['0']['option_desc']['0'] = | ||
| - | 'Option 1'; $mip_form['0']['option_val']['0'] = 'val1'; | ||
| - | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| - | $mip_form['0']['option_val']['1'] = 'val2'; $mip_form['0']['option_desc']['2'] = | ||
| - | ''; $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| - | $mip_form['0']['tab'] = '0'; | ||
| - | mip_formsp($mip_form['0']); | + | $mip_form['0']['cat'] = 'radio'; |
| + | $mip_form['0']['type'] = 'chk'; | ||
| + | $mip_form['0']['desc'] = 'Auswahl:'; | ||
| + | $mip_form['0']['chk_var'] = 'MOD_VAR[4]'; | ||
| + | $mip_form['0']['chk_val'] = $dedi_mod['value']['4']; | ||
| + | $mip_form['0']['chk_val_default'] = ''; | ||
| + | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| - | [Radiobutton] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] | ||
| - | [Radiobutton x2] [Radiobuttonbeschreibung x2] | ||
| - | Beispiel: | + | [Radiobutton] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> |
| + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = 'radio'; | ||
| - | $mip_form['0']['desc'] = 'Beschreibung'; $mip_form['0']['radio_var'] = | ||
| - | 'MOD_VAR[4]'; $mip_form['0']['radio_val'] = $dedi_mod['value']['4']; | ||
| - | $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert'; | ||
| - | $mip_form['0']['radio_val_default'] = 'wenn_radio_val_leer__dieser_wert'; | ||
| - | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; $mip_form['0']['cms_val'] = | ||
| - | $dedi_mod['value']['0']; $mip_form['0']['cms_val_default'] = ''; | ||
| - | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| - | $mip_form['0']['option_val']['0'] = 'val1'; $mip_form['0']['option_desc']['1'] = | ||
| - | 'Option 2'; $mip_form['0']['option_val']['1'] = 'val2'; | ||
| - | $mip_form['0']['option_desc']['2'] = ''; $mip_form['0']['option_val']['2'] = | ||
| - | 'wenn_desc_leer_value_wird_angezeigt'; $mip_form['0']['tab'] = '0'; | ||
| - | mip_formsp($mip_form['0']); | + | Beispiel:<br> |
| - | [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] [Radiobutton x2] | + | $mip_form['0']['cat'] = 'radio'; |
| - | [Radiobuttonbeschreibung x2] [Radiobutton x3] [Radiobuttonbeschreibung x3] | + | $mip_form['0']['type'] = 'radio'; |
| + | $mip_form['0']['desc'] = 'Beschreibung'; | ||
| + | $mip_form['0']['radio_var'] = 'MOD_VAR[4]'; | ||
| + | $mip_form['0']['radio_val'] = $dedi_mod['value']['4']; | ||
| + | $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert'; | ||
| + | $mip_form['0']['radio_val_default'] = 'wenn_radio_val_leer__dieser_wert'; | ||
| + | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| + | |||
| + | |||
| + | [Beschreibung]<br> | ||
| + | [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> | ||
| + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> | ||
| + | [Radiobutton x3] [Radiobuttonbeschreibung x3]<br> | ||
| Beispiel: | Beispiel: | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = 'long'; | ||
| - | $mip_form['0']['desc'] = 'Auswahl:'; $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| - | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| - | $mip_form['0']['cms_val_default'] = ''; $mip_form['0']['option_desc']['0'] = | ||
| - | 'Option 1'; $mip_form['0']['option_val']['0'] = 'val1'; | ||
| - | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| - | $mip_form['0']['option_val']['1'] = 'val2'; $mip_form['0']['option_desc']['2'] = | ||
| - | ''; $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| - | $mip_form['0']['tab'] = '0'; | ||
| - | mip_formsp($mip_form['0']); | + | $mip_form['0']['cat'] = 'radio'; |
| + | $mip_form['0']['type'] = 'long'; | ||
| + | $mip_form['0']['desc'] = 'Auswahl:'; | ||
| + | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| + | |||
| + | |||
| + | [Checkbox]<br> | ||
| + | [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> | ||
| + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> | ||
| - | [Checkbox] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] | ||
| - | [Radiobutton x2] [Radiobuttonbeschreibung x2] | ||
| Beispiel: | Beispiel: | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = 'chk_long'; | ||
| - | $mip_form['0']['desc'] = 'Auswahl:'; $mip_form['0']['chk_var'] = 'MOD_VAR[4]'; | ||
| - | $mip_form['0']['chk_val'] = $dedi_mod['value']['4']; | ||
| - | $mip_form['0']['chk_val_default'] = ''; $mip_form['0']['cms_var'] = | ||
| - | 'MOD_VAR[0]'; $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| - | $mip_form['0']['cms_val_default'] = ''; $mip_form['0']['option_desc']['0'] = | ||
| - | 'Option 1'; $mip_form['0']['option_val']['0'] = 'val1'; | ||
| - | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| - | $mip_form['0']['option_val']['1'] = 'val2'; $mip_form['0']['option_desc']['2'] = | ||
| - | ''; $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| - | $mip_form['0']['tab'] = '0'; | ||
| - | mip_formsp($mip_form['0']); | + | $mip_form['0']['cat'] = 'radio'; |
| + | $mip_form['0']['type'] = 'chk_long'; | ||
| + | $mip_form['0']['desc'] = 'Auswahl:'; | ||
| + | $mip_form['0']['chk_var'] = 'MOD_VAR[4]'; | ||
| + | $mip_form['0']['chk_val'] = $dedi_mod['value']['4']; | ||
| + | $mip_form['0']['chk_val_default'] = ''; | ||
| + | $mip_form['0']['cms_var'] = 'MOD_VAR[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| - | [Radiobutton] [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1] | ||
| - | [Radiobutton x2] [Radiobuttonbeschreibung x2] | ||
| + | [Radiobutton]<br> | ||
| + | [Beschreibung] [Radiobutton x1] [Radiobuttonbeschreibung x1]<br> | ||
| + | [Radiobutton x2] [Radiobuttonbeschreibung x2]<br> | ||
| - | Beispiel: | ||
| - | $mip_form['0']['cat'] = 'radio'; $mip_form['0']['type'] = 'radio_long'; | + | Beispiel: |
| - | $mip_form['0']['desc'] = 'Beschreibung:'; $mip_form['0']['radio_var'] = | + | |
| - | 'MOD_VAR[4]'; $mip_form['0']['radio_val'] = $dedi_mod['value']['4']; | + | |
| - | $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[0]'; $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | + | |
| - | $mip_form['0']['cms_val_default'] = ''; $mip_form['0']['option_desc']['0'] = | + | |
| - | 'Option 1'; $mip_form['0']['option_val']['0'] = 'val1'; | + | |
| - | $mip_form['0']['option_desc']['1'] = 'Option 2'; | + | |
| - | $mip_form['0']['option_val']['1'] = 'val2'; $mip_form['0']['option_desc']['2'] = | + | |
| - | ''; $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | + | |
| - | $mip_form['0']['tab'] = '0'; | + | |
| - | mip_formsp($mip_form['0']); | ||
| + | $mip_form['0']['cat'] = 'radio'; | ||
| + | $mip_form['0']['type'] = 'radio_long'; | ||
| + | $mip_form['0']['desc'] = 'Beschreibung:'; | ||
| + | $mip_form['0']['radio_var'] = 'MOD_VAR[4]'; | ||
| + | $mip_form['0']['radio_val'] = $dedi_mod['value']['4']; | ||
| + | $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[0]'; | ||
| + | $mip_form['0']['cms_val'] = $dedi_mod['value']['0']; | ||
| + | $mip_form['0']['cms_val_default'] = ''; | ||
| + | $mip_form['0']['option_desc']['0'] = 'Option 1'; | ||
| + | $mip_form['0']['option_val']['0'] = 'val1'; | ||
| + | $mip_form['0']['option_desc']['1'] = 'Option 2'; | ||
| + | $mip_form['0']['option_val']['1'] = 'val2'; | ||
| + | $mip_form['0']['option_desc']['2'] = ''; | ||
| + | $mip_form['0']['option_val']['2'] = 'wenn_desc_leer_value_wird_angezeigt'; | ||
| + | $mip_form['0']['tab'] = '0'; | ||
| + | |||
| + | mip_formsp($mip_form['0']); | ||
| ===Checkboxen=== | ===Checkboxen=== | ||

