// fix category_tree if no tree
This commit is contained in:
@@ -11,12 +11,14 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{l s='Go to category:'}
|
{if isset($category_tree)}
|
||||||
<select id="go_to_categ" name="go_to_categ">
|
{l s='Go to category:'}
|
||||||
{foreach from=$category_tree item=categ}
|
<select id="go_to_categ" name="go_to_categ">
|
||||||
<option value="{$categ->id}" {if $categ->selected}selected="selected"{/if} >
|
{foreach from=$category_tree item=categ}
|
||||||
{$categ->dashes}{$categ->name}
|
<option value="{$categ->id}" {if $categ->selected}selected="selected"{/if} >
|
||||||
</option>
|
{$categ->dashes}{$categ->name}
|
||||||
{/foreach}
|
</option>
|
||||||
</select>
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
|
|||||||
Reference in New Issue
Block a user