Project

General

Profile

« Previous | Next » 

Revision 914

Added by Matthias almost 16 years ago

fixed form-module select (multiple) doesn't work (ticket #681 Thanks to thorn)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
20-Jan-2009 Matthias Gallas
15
#	fixed form-module select (multiple) doesn't work (ticket #681 Thanks to thorn)
14 16
17-Jan-2009 Matthias Gallas
15 17
+	added French languages to modules
16 18
!	changed handling of post_date in news modul (thanks to susigross)
trunk/wb/modules/form/view.php
189 189
			$options = explode(',', $value);
190 190
			array_walk($options, 'make_option', (isset($_SESSION['field'.$field_id])?$_SESSION['field'.$field_id]:array()));
191 191
			$field['extra'] = explode(',',$field['extra']);
192
			$values[] = '<select name="field'.$field_id.'" id="field'.$field_id.'" size="'.$field['extra'][0].'" '.$field['extra'][1].' class="select">'.implode($options).'</select>';		
192
			$values[] = '<select name="field'.$field_id.'[]" id="field'.$field_id.'" size="'.$field['extra'][0].'" '.$field['extra'][1].' class="select">'.implode($options).'</select>';		
193 193
		} elseif($field['type'] == 'heading') {
194 194
			$vars[] = '{FIELD}';
195 195
			$values[] = '<input type="hidden" name="field'.$field_id.'" id="field'.$field_id.'" value="===['.$field['title'].']===" />';

Also available in: Unified diff