{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
{* *}
{* *}
{if isset($errors) or not empty($infos)}
{include file='infos_errors.tpl'}
{/if}
{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
{if !empty($category_search_results)}
{* *}
{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
{$cat_name}
{/if} {else}-
{if !empty($image_orders)}
- {strip}
{'Sort order'|@translate}{foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}
{/if} {if $image_order.SELECTED} ✔ {$image_order.DISPLAY} {else} {$image_order.DISPLAY} {/if} {/foreach}
{/if}
{if isset($favorite)}
- {/if} {if isset($U_CADDIE)}
- {/if} {if isset($U_EDIT)}
- {/if} {if isset($U_SEARCH_RULES)} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
- {/if} {if isset($U_SLIDESHOW)}
- {strip} {/strip} {/if} {if isset($U_MODE_FLAT)}
- {strip} {/strip} {/if} {if isset($U_MODE_NORMAL)}
- {strip} {/strip} {/if} {if isset($U_MODE_POSTED)}
- {strip} {/strip} {/if} {if isset($U_MODE_CREATED)}
- {strip} {/strip} {/if} {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
{$TITLE}
{if isset($chronology_views)}{'View'|@translate}:
{/if}
{if isset($chronology.TITLE)}
{$chronology.TITLE}
{/if} {/if}{'Album results for'|@translate} {$QUERY_SEARCH} :
{foreach from=$category_search_results item=res name=res_loop}
{if !$smarty.foreach.res_loop.first} — {/if}
{$res}
{/foreach}
{/if}
{if !empty($tag_search_results)}
{'Tag results for'|@translate} {$QUERY_SEARCH} :
{foreach from=$tag_search_results item=res name=res_loop}
{if !$smarty.foreach.res_loop.first} — {/if}
{$res}
{/foreach}
{/if}
{if isset($FILE_CHRONOLOGY_VIEW)}
{include file=$FILE_CHRONOLOGY_VIEW}
{/if}
{if !empty($CONTENT_DESCRIPTION)}
{$CONTENT_DESCRIPTION}
{/if}
{if !empty($THUMBNAILS)}
{$THUMBNAILS}
{footer_script}{literal}
$('.jcarousel')
.jcarousel({
wrap: 'circular'
})
.jcarouselAutoscroll({
autostart: false
});
$('.jcarousel-control-prev')
.on('jcarouselcontrol:active', function() {
$(this).removeClass('inactive');
})
.on('jcarouselcontrol:inactive', function() {
$(this).addClass('inactive');
})
.jcarouselControl({
target: '-=1'
});
$('.jcarousel-control-next')
.on('jcarouselcontrol:active', function() {
$(this).removeClass('inactive');
})
.on('jcarouselcontrol:inactive', function() {
$(this).addClass('inactive');
})
.jcarouselControl({
target: '+=1'
});
{/literal}{/footer_script}
{/if}
{if empty($THUMBNAILS)}
{if !empty($CATEGORIES)}
{$CATEGORIES}
{footer_script}{literal}
$('.jcarousel')
.jcarousel({
wrap: 'circular'
})
.jcarouselAutoscroll({
interval: 3000,
target: '+=1',
autostart: true
});
$('.jcarousel-control-prev')
.on('jcarouselcontrol:active', function() {
$(this).removeClass('inactive');
})
.on('jcarouselcontrol:inactive', function() {
$(this).addClass('inactive');
})
.jcarouselControl({
target: '-=1'
});
$('.jcarousel-control-next')
.on('jcarouselcontrol:active', function() {
$(this).removeClass('inactive');
})
.on('jcarouselcontrol:inactive', function() {
$(this).addClass('inactive');
})
.jcarouselControl({
target: '+=1'
});
$('.jcarousel')
.on('mouseenter', function(){
$(this).jcarouselAutoscroll('stop')
})
.on('mouseleave', function(){
$(this).jcarouselAutoscroll('start')
});
{/literal}{/footer_script}
{/if}
{/if}
{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}