Changeset 19460 for extensions/Panoramas/AS_Panorama_admin.php
- Timestamp:
- Dec 16, 2012, 8:19:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Panoramas/AS_Panorama_admin.php
r6533 r19460 19 19 $nsp = array_merge($asp, $_POST); 20 20 if ( $nsp['viewport_width']=='' or !is_numeric($nsp['viewport_width']) or $nsp['viewport_width'] < 50 or $nsp['viewport_width'] > 100 ) 21 array_push($errors, l10n('Viewport width ratio is out of range (Correct range: 50-100).')); 21 array_push($errors, l10n('Viewport width ratio is out of range (Correct range: 50-100).')); 22 if ( $nsp['viewport_height']=='' or !is_numeric($nsp['viewport_height']) or $nsp['viewport_height'] < 500 or $nsp['viewport_height'] > 800 ) 23 array_push($errors, l10n('Viewport height is out of range (Correct range: 500/+).')); 22 24 if ( $nsp['min_viewport_width']=='' or !is_numeric($nsp['min_viewport_width']) or $nsp['min_viewport_width'] < 320 ) 23 25 array_push($errors, l10n('Minimal Viewport width is out of range (Correct range: 320/+).'));
Note: See TracChangeset
for help on using the changeset viewer.