Changeset 14649 for trunk/admin/configuration.php
- Timestamp:
- May 2, 2012, 6:29:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r14513 r14649 455 455 } 456 456 457 $common_quality = 50;458 459 457 $tpl_vars = array(); 460 458 foreach(ImageStdParams::get_all_types() as $type) … … 487 485 } 488 486 $tpl_var['sharpen'] = $params->sharpen; 489 $tpl_var['quality'] = $params->quality;490 491 if ($params->quality > $common_quality and $tpl_var['enabled'])492 {493 $common_quality = $params->quality;494 }495 487 } 496 488 $tpl_vars[$type]=$tpl_var; 497 489 } 498 490 $template->assign('derivatives', $tpl_vars); 499 $template->assign('resize_quality', $common_quality);491 $template->assign('resize_quality', ImageStdParams::$quality); 500 492 } 501 493
Note: See TracChangeset
for help on using the changeset viewer.