permissions block
{permissions} is used to enclose those links which are based on permissions which will not be displayed to normal users (without permissions).
{permissions} <div class="module-actions"> {if $permissions.create == 1} {icon class=add action=edit `rank`=1 text="Add a Slide"|gettext} {/if} {if $permissions.manage == 1 && $slides|@count>1 && $`rank` == 1} {`rank` items=$slides model="photo" label="Slides"|gettext} {/if} </div> {/permissions}
Loading Help