diff options
| author | lsces <lester@lsces.co.uk> | 2026-03-26 16:35:40 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-03-26 16:35:40 +0000 |
| commit | 918073a02ead6bf374401437fd1b7688d8b66890 (patch) | |
| tree | 31806eee0b0a70ec9b9aded47d02248229581839 /templates/articles_nav.tpl | |
| parent | d32e5922951694717136cc1bfd18210a0e041b38 (diff) | |
| download | articles-918073a02ead6bf374401437fd1b7688d8b66890.tar.gz articles-918073a02ead6bf374401437fd1b7688d8b66890.tar.bz2 articles-918073a02ead6bf374401437fd1b7688d8b66890.zip | |
Smarty seems to have dropped && and || in templates insisting on and and or instead
Diffstat (limited to 'templates/articles_nav.tpl')
| -rwxr-xr-x | templates/articles_nav.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/articles_nav.tpl b/templates/articles_nav.tpl index 93a9b8e..0703d83 100755 --- a/templates/articles_nav.tpl +++ b/templates/articles_nav.tpl @@ -5,7 +5,7 @@ <li><a href="{$smarty.const.ARTICLES_PKG_URL}list_submissions.php">{tr}List submissions{/tr}</a></li> {if $gBitUser->hasPermission( 'p_articles_submit' )} <li><a href="{$smarty.const.ARTICLES_PKG_URL}edit.php">{tr}Submit article{/tr}</a></li> - {elseif $gBitUser->hasPermission( 'p_articles_auto_approve' ) || $gBitUser->hasPermission( 'p_articles_approve_submission' )} + {elseif $gBitUser->hasPermission( 'p_articles_auto_approve' ) or $gBitUser->hasPermission( 'p_articles_approve_submission' )} <li><a href="{$smarty.const.ARTICLES_PKG_URL}edit.php">{tr}New article{/tr}</a></li> {/if} </ul> |
