Answers for "smarty if statement"

PHP
0

if condition in smarty

{if $userroleid eq 12 || $userroleid eq 13 || $userroleid eq 14 }
    <a href="{$v.feature_url}" class="re-upload"> View</a>
{else}
    <a href="{$v.feature_url}" class="re-upload"> Re-upload</a>
{/if}
Posted by: Guest on October-26-2020

Browse Popular Code Answers by Language