Changeset 29220 for trunk/admin
- Timestamp:
- Aug 15, 2014, 5:29:56 PM (10 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r28764 r29220 489 489 490 490 $tpl_var['must_square'] = ($type==IMG_SQUARE ? true : false); 491 $tpl_var['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB )? true : false;491 $tpl_var['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB || $type==$conf['derivative_default_size'])? true : false; 492 492 493 493 if ($params = @$enabled[$type]) -
trunk/admin/include/configuration_sizes_process.inc.php
r26461 r29220 63 63 $pderivative['crop'] = 100; 64 64 } 65 $pderivative['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB )? true : false;65 $pderivative['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB || $type==$conf['derivative_default_size'])? true : false; 66 66 $pderivative['enabled'] = isset($pderivative['enabled']) || $pderivative['must_enable'] ? true : false; 67 67
Note: See TracChangeset
for help on using the changeset viewer.