Merge pull request #842 from annando/master

mail settings: inflate/deflate settings
This commit is contained in:
Tobias Diekershoff 2013-12-01 02:26:36 -08:00
commit acd29f22a0

View file

@ -16,8 +16,13 @@
{{if $mail_disabled}} {{if $mail_disabled}}
{{else}} {{else}}
<div class="settings-block"> <span id="settings_mail_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_mail_expanded'); openClose('settings_mail_inflated');">
<h3 class="settings-heading">{{$h_imap}}</h3> <h3 class="settings-heading">{{$h_imap}}</h3>
</span>
<div id="settings_mail_expanded" class="settings-block" style="display: none;">
<span class="fakelink" onclick="openClose('settings_mail_expanded'); openClose('settings_mail_inflated');">
<h3 class="settings-heading">{{$h_imap}}</h3>
</span>
<p>{{$imap_desc}}</p> <p>{{$imap_desc}}</p>
{{include file="field_custom.tpl" field=$imap_lastcheck}} {{include file="field_custom.tpl" field=$imap_lastcheck}}
{{include file="field_input.tpl" field=$mail_server}} {{include file="field_input.tpl" field=$mail_server}}