Revision 1607
Added by Luisehahne almost 13 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
=========================== add small Features 2.8.2 ========================== |
14 |
09 Feb-2012 Build 1607 Dietmar Woellbrink (Luisehahne) |
|
15 |
# typofix in /modules/form/view.php (Tks to jacobi22) |
|
14 | 16 |
08 Feb-2012 Build 1606 Dietmar Woellbrink (Luisehahne) |
15 | 17 |
# some little changes and fixes in template allcss and round |
16 | 18 |
+ add // register_frontend_modfiles('jquery'); to activate comment out |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.2'); |
54 |
if(!defined('REVISION')) define('REVISION', '1606');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1607');
|
|
55 | 55 |
if(!defined('SP')) define('SP', 'SP2'); |
branches/2.8.x/wb/modules/form/view.php | ||
---|---|---|
202 | 202 |
} |
203 | 203 |
if($field['type'] == 'textfield') { |
204 | 204 |
$vars[] = '{FIELD}'; |
205 |
$max_lenght_para = (intval($field['extra']) ? ' maxlenght="'.intval($field['extra']).'"' : '');
|
|
205 |
$max_lenght_para = (intval($field['extra']) ? ' maxlength="'.intval($field['extra']).'"' : '');
|
|
206 | 206 |
$values[] = '<input type="text" name="field'.$field_id.'" id="field'.$field_id.'"'.$max_lenght_para.' value="'.(isset($_SESSION['field'.$field_id])?$_SESSION['field'.$field_id]:$value).'" class="frm-textfield" />'.PHP_EOL; |
207 | 207 |
} elseif($field['type'] == 'textarea') { |
208 | 208 |
$vars[] = '{FIELD}'; |
... | ... | |
235 | 235 |
$values[] = implode($options); |
236 | 236 |
} elseif($field['type'] == 'email') { |
237 | 237 |
$vars[] = '{FIELD}'; |
238 |
$max_lenght_para = (intval($field['extra']) ? ' maxlenght="'.intval($field['extra']).'"' : '');
|
|
238 |
$max_lenght_para = (intval($field['extra']) ? ' maxlength="'.intval($field['extra']).'"' : '');
|
|
239 | 239 |
$values[] = '<input type="text" name="field'.$field_id.'" id="field'.$field_id.'" value="'.(isset($_SESSION['field'.$field_id])?$_SESSION['field'.$field_id]:'').'"'.$max_lenght_para.' class="frm-email" />'.PHP_EOL; |
240 | 240 |
} |
241 | 241 |
if(isset($_SESSION['field'.$field_id])) unset($_SESSION['field'.$field_id]); |
Also available in: Unified diff
typofix in /modules/form/view.php (Tks to jacobi22)