Ignore:
Timestamp:
Dec 16, 2012, 8:19:28 PM (11 years ago)
Author:
Klarsfeld
Message:

Upgrade for Piwigo 2.4.5
Only languages en-UK and fr-FR upgraded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Panoramas/AS_Panorama_admin.php

    r6533 r19460  
    1919  $nsp = array_merge($asp, $_POST);
    2020        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/+).'));
    2224        if ( $nsp['min_viewport_width']=='' or !is_numeric($nsp['min_viewport_width']) or $nsp['min_viewport_width'] < 320 )
    2325    array_push($errors, l10n('Minimal Viewport width is out of range (Correct range: 320/+).'));
Note: See TracChangeset for help on using the changeset viewer.