Changeset 13426 for trunk/include
- Timestamp:
- Feb 28, 2012, 10:18:03 PM (12 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_params.inc.php
r13038 r13426 210 210 { 211 211 $scale_size[0] = $this->ideal_size[0]; 212 $scale_size[1] = floor( $scale_size[1] / $ratio_w);212 $scale_size[1] = floor(1e-6 + $scale_size[1] / $ratio_w); 213 213 } 214 214 else 215 215 { 216 $scale_size[0] = floor( $scale_size[0] / $ratio_h);216 $scale_size[0] = floor(1e-6 + $scale_size[0] / $ratio_h); 217 217 $scale_size[1] = $this->ideal_size[1]; 218 218 } -
trunk/include/page_tail.php
r13234 r13426 67 67 68 68 //------------------------------------------------------------- mobile version 69 if ( get_device() != 'desktop')69 if ( !empty($conf['mobile_theme']) && get_device() != 'desktop') 70 70 { 71 71 $template->assign('TOGGLE_MOBILE_THEME_URL',
Note: See TracChangeset
for help on using the changeset viewer.