Changeset 17858 for extensions/stripped_black_bloc/admin
- Timestamp:
- Sep 11, 2012, 2:59:30 PM (12 years ago)
- Location:
- extensions/stripped_black_bloc/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/admin/admin.inc.php
r17828 r17858 33 33 $config_send['starting_to']=(isset($_POST['f_starting_to'])) ? $_POST['f_starting_to'] : 1; 34 34 $config_send['catthumb']=(isset($_POST['f_catthumb'])) ? $_POST['f_catthumb'] : 'none'; 35 $config_send[' portrait_limitation']=(isset($_POST['f_portrait_limitation'])) ? $_POST['f_portrait_limitation'] : 'none';35 $config_send['orientation_option']=(isset($_POST['f_orientation_option'])) ? $_POST['f_orientation_option'] : 'none'; 36 36 conf_update_param('stripped_black_bloc', pwg_db_real_escape_string(serialize($config_send))); 37 37 -
extensions/stripped_black_bloc/admin/admin.tpl
r17828 r17858 45 45 <li> 46 46 <br><br> 47 <label>{'About portrait pictures :'|@translate}</label>47 <label>{'About portrait/landscape pictures :'|@translate}</label> 48 48 <br><br> 49 49 <label> 50 <input type="radio" name="f_ portrait_limitation" id="portrait_limitation" value="none" {if $options.portrait_limitation=="none"}checked{/if}>51 {'No Maximum Height ,the width is the one set above'|@translate}</label>50 <input type="radio" name="f_orientation_option" id="orientation_option" value="none" {if $options.orientation_option=="none"}checked{/if}> 51 {'No Maximum Height and the width is the one set above'|@translate}</label> 52 52 <br> 53 53 <label> 54 <input type="radio" name="f_ portrait_limitation" id="portrait_limitation" value="yes" {if $options.portrait_limitation=="yes"}checked{/if}>54 <input type="radio" name="f_orientation_option" id="orientation_option" value="max_heigth" {if $options.orientation_option=="max_heigth"}checked{/if}> 55 55 {'Use the width parameter above as a maximum heigth'|@translate}</label> 56 <br> 57 <label> 58 <input type="radio" name="f_orientation_option" id="orientation_option" value="big_landscape" {if $options.orientation_option=="max_heigth"}checked{/if}> 59 {'Display big thumbnails for landscape pictures'|@translate}</label> 56 60 <br> 57 61 </li> -
extensions/stripped_black_bloc/admin/maintain.inc.php
r17828 r17858 14 14 'starting_to' => 1, 15 15 'catthumb' => 'none', //none - same - all 16 ' portrait_limitation' => 'none' //none - yes16 'orientation_option' => 'none' //none - max_heigth - big_landscape 17 17 ); 18 18 -
extensions/stripped_black_bloc/admin/upgrade.inc.php
r17828 r17858 14 14 'starting_to' => 1, 15 15 'catthumb' => 'none', //none - same - all 16 ' portrait_limitation' => 'none' //none - yes16 'orientation_option' => 'none' //none - max_heigth -big_landscape 17 17 ); 18 18 $query = " … … 32 32 'starting_to' => (isset($conff['starting_to'])) ? $conff['starting_to'] :1, 33 33 'catthumb' => (isset($conff['catthumb'])) ? $conff['catthumb'] :'none', //none - same - all 34 ' portrait_limitation' => (isset($conff['portrait_limitation'])) ? $conff['portrait_limitation'] :'none' //none - yes34 'orientation_option' => (isset($conff['orientation_option'])) ? $conff['orientation_option'] :'none' //none - max_heigth -big_landscape 35 35 ); 36 36 conf_update_param('stripped_black_bloc', pwg_db_real_escape_string(serialize($config)));
Note: See TracChangeset
for help on using the changeset viewer.