aboutsummaryrefslogtreecommitdiffstats
path: root/view/settings.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-06 20:27:18 -0700
committerFriendika <info@friendika.com>2011-07-06 20:27:18 -0700
commitd7b5a606fb7992cfc29fac4bc19429da08972364 (patch)
tree15c0822e3c1f2fdf4851140c87e920ed3a7d575b /view/settings.tpl
parent3f258300766543d6fd3203265aa5c5355886e550 (diff)
downloadvolse-hubzilla-d7b5a606fb7992cfc29fac4bc19429da08972364.tar.gz
volse-hubzilla-d7b5a606fb7992cfc29fac4bc19429da08972364.tar.bz2
volse-hubzilla-d7b5a606fb7992cfc29fac4bc19429da08972364.zip
don't show mailbox settings at all if disabled
Diffstat (limited to 'view/settings.tpl')
-rw-r--r--view/settings.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/settings.tpl b/view/settings.tpl
index 50b59cc91..5e8b90769 100644
--- a/view/settings.tpl
+++ b/view/settings.tpl
@@ -94,10 +94,10 @@ $hide_wall
<input type="submit" name="submit" class="settings-submit" value="$submit" />
</div>
-<h3 class="settings-heading">$h_imap</h3>
{{ if $mail_disabled }}
- <div class="info-message">$mail_disabled</div>
+
{{ else }}
+ <h3 class="settings-heading">$h_imap</h3>
<p>$imap_desc</p>
{{inc field_custom.tpl with $field=$imap_lastcheck }}{{endinc}}
{{inc field_input.tpl with $field=$mail_server }}{{endinc}}