Changeset 13472 for trunk/include


Ignore:
Timestamp:
Mar 3, 2012, 7:09:10 PM (12 years ago)
Author:
patdenice
Message:

Multisize and mobile theme.
Use ajax loader for thumbnails in mobile theme.
Use standard square parameters for mobile theme.
Change square parameters to 120px.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative_std_params.inc.php

    r13038 r13472  
    161161  {
    162162    self::$watermark = new WatermarkParams();
    163     self::$type_map[IMG_SQUARE] = new DerivativeParams( SizingParams::square(100,100) );
     163    self::$type_map[IMG_SQUARE] = new DerivativeParams( SizingParams::square(120,120) );
    164164    self::$type_map[IMG_THUMB] = new DerivativeParams( SizingParams::classic(144,144) );
    165165    self::$type_map[IMG_SMALL] = new DerivativeParams( SizingParams::classic(240,240) );
  • trunk/include/page_tail.php

    r13426 r13472  
    6767
    6868//------------------------------------------------------------- mobile version
    69 if ( !empty($conf['mobile_theme']) && get_device() != 'desktop')
     69if ( !empty($conf['mobile_theme']) && (get_device() != 'desktop' || mobile_theme()))
    7070{
    7171  $template->assign('TOGGLE_MOBILE_THEME_URL',
    7272      add_url_params(
    73         make_index_url(),
     73        duplicate_index_url(),
    7474        array('mobile' => mobile_theme() ? 'false' : 'true')
    7575      )
Note: See TracChangeset for help on using the changeset viewer.