<div class="paging pure-g">
<div class="linklist-filters pure-u-1-3">
{if="isLoggedIn() or !empty($action_plugin)"}
- <span class="linklist-filters-text">
- Filters
+ <span class="linklist-filters-text pure-u-0 pure-u-lg-visible">
+ {'Filters'|t}
</span>
{if="isLoggedIn()"}
- <a href="?privateonly" title="Click to see all links"
+ <a href="?privateonly" title="{'Filter private links'|t}"
class={if="$privateonly"}"filter-on"{else}"filter-off"{/if}
><i class="fa fa-key"></i></a>
{/if}
+ <a href="#" class="filter-off fold-all" title="Fold all">
+ <i class="fa fa-chevron-up"></i>
+ </a>
{loop="$action_plugin"}
- <!-- FIXME! Plugin update to handle that. -->
- <a href="?privateonly" title="{$value.title}" class=
- {if="$value.on"}
- "filter-on"
- {else}
- "filter-off"
- {/if}
- >{$value.url}</a>
+ {$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''}
+ {$value.attr.class=!empty($value.on) ? $value.attr.class .' filter-on' : $value.attr.class .' filter-off'}
+ <a
+ {loop="$value.attr"}
+ {$key}="{$value}"
+ {/loop}>
+ {$value.html}
+ </a>
{/loop}
{/if}
</div>
</div>
<div class="linksperpage pure-u-1-3">
- Links per page
+ <div class="pure-u-0 pure-u-lg-visible">{'Links per page'|t}</div>
<a href="?linksperpage=20">20</a>
<a href="?linksperpage=50">50</a>
<a href="?linksperpage=100">100</a>
- <form method="GET">
+ <form method="GET" class="pure-u-0 pure-u-lg-visible">
<input type="text" name="linksperpage" placeholder="133">
</form>
</div>