// fix yes/no, alert success, cache clear button

This commit is contained in:
Kevin Granger
2013-10-17 17:33:55 +02:00
parent 5a6fef2ee8
commit 7189aa9de9
4 changed files with 70 additions and 12 deletions
@@ -32,7 +32,12 @@
{/if}
{$smarty.block.parent}
{if in_array($input.type, array('radio', 'switch')) && $input.name == 'smarty_cache'}
<a href="{$current}&token={$token}&empty_smarty_cache=1" class="clear button" href="">{l s='Clear Smarty cache & Autoload cache'}</a>
<div class="row row-padding-top">
<a href="{$current}&token={$token}&empty_smarty_cache=1" class="btn btn-default" href="">
<i class="icon-eraser"></i>
{l s='Clear Smarty cache & Autoload cache'}
</a>
</div>
{/if}
{/block}
@@ -256,7 +256,7 @@
--
{else}
{if $params.type == 'bool'}
<select class="filter" onchange="$('#submitFilterButton{$list_id}').focus();$('#submitFilterButton{$list_id}').click();" name="{$list_id}Filter_{$key}">
<select class="filter fixed-width-sm" onchange="$('#submitFilterButton{$list_id}').focus();$('#submitFilterButton{$list_id}').click();" name="{$list_id}Filter_{$key}">
<option value="">--</option>
<option value="1" {if $params.value == 1} selected="selected" {/if}>{l s='Yes'}</option>
<option value="0" {if $params.value == 0 && $params.value != ''} selected="selected" {/if}>{l s='No'}</option>