]> git.mxchange.org Git - friendica.git/commitdiff
mail settings: inflate/deflate settings
authorMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:32:44 +0000 (21:32 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:32:44 +0000 (21:32 +0100)
view/templates/settings_connectors.tpl

index 0b0d78299bf5744049679baf3b963bebc25b76a7..a61ae4f584e625f7c9c3fb86044e14169c31fecd 100644 (file)
 {{if $mail_disabled}}
 
 {{else}}
-       <div class="settings-block">
-       <h3 class="settings-heading">{{$h_imap}}</h3>
+       <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>
+       </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>
        {{include file="field_custom.tpl" field=$imap_lastcheck}}
        {{include file="field_input.tpl" field=$mail_server}}