diff --git a/templates/password.tpl b/templates/password.tpl index c645e1aa..64f660e2 100644 --- a/templates/password.tpl +++ b/templates/password.tpl @@ -1,5 +1,5 @@
-
+ @@ -26,7 +26,11 @@ - + + {if $authentication_has_role.user} + + {/if}
{$PALANG.pPassword_welcome}
  +  
diff --git a/templates/users_password.tpl b/templates/users_password.tpl deleted file mode 100644 index da907d05..00000000 --- a/templates/users_password.tpl +++ /dev/null @@ -1,37 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{$PALANG.pPassword_welcome}
{$USERID_USERNAME} 
{$pPassword_password_current_text}
{$pPassword_password_text}
 
  - - -  
- -
diff --git a/users/password.php b/users/password.php index 9cfe9362..9829dd8d 100644 --- a/users/password.php +++ b/users/password.php @@ -14,7 +14,7 @@ * * File: password.php * Used by users to change their mailbox (and login) password. - * Template File: users_password.php + * Template File: password.tpl * * Template Variables: * @@ -76,11 +76,11 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") } } -$smarty->assign ('USERID_USERNAME', $username); +$smarty->assign ('SESSID_USERNAME', $username); $smarty->assign ('pPassword_password_current_text', $pPassword_password_current_text, false); $smarty->assign ('pPassword_password_text', $pPassword_password_text, false); -$smarty->assign ('smarty_template', 'users_password'); +$smarty->assign ('smarty_template', 'password'); $smarty->display ('index.tpl'); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */