summaryrefslogtreecommitdiff
path: root/templates/user_preferences.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_preferences.tpl')
-rw-r--r--templates/user_preferences.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user_preferences.tpl b/templates/user_preferences.tpl
index a511da0..3a57dda 100644
--- a/templates/user_preferences.tpl
+++ b/templates/user_preferences.tpl
@@ -18,7 +18,7 @@
{formlabel label="Real Name" for="real_name"}
{forminput}
<input class="form-control" type="text" name="real_name" id="real_name" value="{$editUser->mInfo.real_name|escape}" />
- {if !$gBitSystem->getConfig('users_display_name') or $gBitSystem->getConfig('users_display_name') eq 'real_name'}
+ {if !$gBitSystem->getConfig('users_display_name') || $gBitSystem->getConfig('users_display_name') eq 'real_name'}
{formhelp note="This is the name that is visible to other users when viewing information added by you."}
{/if}
{/forminput}
@@ -178,7 +178,7 @@
{form legend="Change your password" secure=$gBitSystem->isFeatureActive("site_https_login_required")}
<input type="hidden" name="view_user" value="{$editUser->mUserId}" />
{* Users with admin priv can change password without knowing the old one *}
- {if !$view_user or ( !$gBitUser->hasPermission('p_users_admin') and $view_user )}
+ {if !$view_user || ( !$gBitUser->hasPermission('p_users_admin') && $view_user )}
<div class="form-group">
{formlabel label="Old password" for="old"}
{forminput}