Grids as options

option list via direct lists for multiple grids (http://forum.tufat.com/showthread.php?p=153689)

To implement this feature in your skin, you need to apply next changes
index.tpl:

{if $links}
{foreach item=link from=$links}
{$link}   
{/foreach}
{/if}

replaced with:

{if !$app->setting->grids_as_options}
{if $links}
{foreach item=link from=$links}
{$link}   
{/foreach}
{/if}
{/if}

after this line


in toolbar.inc.tpl
insert next code:

{if $app->setting->grids_as_options}
##Grid:##

{html_options options=$grids_names selected=$smarty.request.grid}
   
{/if}

Tags: