Changeset 26836 for extensions/modus/admin/admin.inc.php
- Timestamp:
- Jan 17, 2014, 11:10:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/admin/admin.inc.php
r25794 r26836 16 16 } 17 17 18 $text_values = array('skin', 'album_thumb_size', 'index_photo_deriv','index_photo_deriv_hdpi' , 'resize_threshold', 'resize_factor');18 $text_values = array('skin', 'album_thumb_size', 'index_photo_deriv','index_photo_deriv_hdpi'); 19 19 $bool_values = array(); 20 20 … … 28 28 // int/double 29 29 $my_conf['album_thumb_size'] = max(0, $my_conf['album_thumb_size']); 30 $my_conf['resize_threshold'] = max(1, $my_conf['resize_threshold']);31 $my_conf['resize_factor'] = max(0, min(1, $my_conf['resize_factor']) );32 30 $my_conf = array_intersect_key($my_conf, $default_conf); 33 31 conf_update_param('modus_theme', addslashes(serialize($my_conf)) );
Note: See TracChangeset
for help on using the changeset viewer.