diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-21 14:41:05 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-21 14:41:05 -0800 |
| commit | 9f810150532a2511bfc5f03c9d24fd592d2f803f (patch) | |
| tree | 7e4c1d8547b1eb3977f5b634270d51334f4fe910 /modules/gallery/views | |
| parent | a6c3e8f0a26661afd353c75bea496532999f2ca5 (diff) | |
| parent | be20309259de9310da3be703c93c4e42def2541b (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views')
| -rw-r--r-- | modules/gallery/views/user_profile.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/user_profile.html.php b/modules/gallery/views/user_profile.html.php index 53e8dc1e..257bd7ca 100644 --- a/modules/gallery/views/user_profile.html.php +++ b/modules/gallery/views/user_profile.html.php @@ -12,18 +12,18 @@ <a id="g-profile-return" class="g-button g-right ui-state-default ui-corner-all" href="#"> <?= t("Return") ?> </a> + <? if ($editable): ?> <a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_email/{$user->id}") ?>"> <?= t("Change email") ?> </a> <a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_password/{$user->id}") ?>"> <?= t("Change password") ?> </a> - <? if ($editable): ?> <a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("form/edit/users/{$user->id}") ?>"> <?= t("Edit") ?> </a> <? endif ?> - <? if (!$user->guest && $not_current && !empty($user->email)): ?> + <? if ($contactable): ?> <a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("user_profile/contact/{$user->id}") ?>"> <?= t("Contact") ?> |
