diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-24 23:31:16 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-24 23:31:16 +0000 |
commit | 73fd826dbf6ab392d1552c47256b8b31fc2c81cb (patch) | |
tree | 0d8e7244e49f2051c6145eb84fdca8cc3d8980e3 /themes | |
parent | f9c4587dbd4148e370f7a0d51c47c7e94265a80d (diff) |
Feature 1533: Remove "Reset to default" button if user can't cutomize his galllery.
git-svn-id: http://piwigo.org/svn/trunk@5330 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/template/profile_content.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/template/profile_content.tpl b/themes/default/template/profile_content.tpl index fa43adde6..2ba7e5d89 100644 --- a/themes/default/template/profile_content.tpl +++ b/themes/default/template/profile_content.tpl @@ -105,7 +105,9 @@ <p class="bottomButtons"> <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> + {if $ALLOW_USER_CUSTOMIZATION} <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> + {/if} </p> </form> |