Changeset 20336 for trunk


Ignore:
Timestamp:
Jan 22, 2013, 8:17:09 PM (11 years ago)
Author:
rvelices
Message:

javascript int type instead of string

Location:
trunk/themes/default/template
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/mainpage_categories.tpl

    r20212 r20336  
    99{/html_style}{/strip}
    1010{footer_script}
    11   var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";
    12   var max_requests = "{$maxRequests}";
     11  var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
    1312{/footer_script}
    1413<div class="loader" style="display: none; position: fixed; right: 0;bottom: 0;"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
  • trunk/themes/default/template/picture_content.tpl

    r20211 r20336  
    55{/if}
    66
    7 <img {if $current.selected_derivative->is_cached()}src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} {else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif" data-src="{$current.selected_derivative->get_url()}"{/if} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}">
     7<img {if $current.selected_derivative->is_cached()}src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()}{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif" data-src="{$current.selected_derivative->get_url()}"{/if} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}">
    88
    99{foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip}
  • trunk/themes/default/template/thumbnails.tpl

    r20212 r20336  
    2323{/html_style}
    2424{footer_script}
    25   var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";
    26   var max_requests = "{$maxRequests}";
     25  var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
    2726{/footer_script}
    2827{foreach from=$thumbnails item=thumbnail}
Note: See TracChangeset for help on using the changeset viewer.