Changeset 2449 for trunk/plugins
- Timestamp:
- Jul 22, 2008, 8:38:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/SwiftThemeCreator/theme_creator.php
r2447 r2449 132 132 l10n('Header picture is not found, check its path and name.')); 133 133 134 // 5 - Width and Height control 134 // 5 - Expected Width and Height limits control 135 if ( !(is_numeric($_POST['picture_width']) and ($_POST['picture_width'] < 12 136 or $_POST['picture_width'] > 4096 )) ) 137 array_push($errors, 138 '['.$_POST['picture_width'].'] : ' 139 . l10n('incorrect width value [12-4096].')); 140 if ( !(is_numeric($_POST['picture_height']) and ($_POST['picture_height'] < 12 141 or $_POST['picture_height'] > 200 )) ) 142 array_push($errors, 143 '['.$_POST['picture_width'].'] : ' 144 . l10n('incorrect width value [12-4096].')); 145 135 146 // 6 - Generate missing colors values 136 147
Note: See TracChangeset
for help on using the changeset viewer.