diff options
author | friendica <info@friendica.com> | 2015-01-25 14:06:57 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-25 14:06:57 -0800 |
commit | 0125e9d2884dd30190722e0f1c292e11d23c545a (patch) | |
tree | 90d99b7229e1dfe8b9b5c8e6759e7540b9042dc6 | |
parent | f78a061406fab7fce44f73c6efcc690494347b96 (diff) | |
download | volse-hubzilla-0125e9d2884dd30190722e0f1c292e11d23c545a.tar.gz volse-hubzilla-0125e9d2884dd30190722e0f1c292e11d23c545a.tar.bz2 volse-hubzilla-0125e9d2884dd30190722e0f1c292e11d23c545a.zip |
Hide all the scary decision making stuff that sends intellectually challenged beings into siezures and brain melt-downs and online freak-outs.
-rw-r--r-- | mod/connedit.php | 2 | ||||
-rwxr-xr-x | view/tpl/abook_edit.tpl | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mod/connedit.php b/mod/connedit.php index 089587fc7..8270fa981 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -573,6 +573,7 @@ function connedit_content(&$a) { '$autolbl' => t('Apply the permissions indicated on this page to all new connections.'), '$buttons' => (($self) ? '' : $buttons), '$viewprof' => t('View Profile'), + '$clickme' => t('Click to open/close'), '$lbl_slider' => t('Slide to adjust your degree of friendship'), '$lbl_rating' => t('Rating (this information may be public)'), '$lbl_rating_txt' => t('Optionally explain your rating (this information may be public)'), @@ -620,6 +621,7 @@ function connedit_content(&$a) { '$lblrecent' => t('View conversations'), '$lblsuggest' => $lblsuggest, '$delete' => t('Delete contact'), + '$poll_interval' => contact_poll_interval($contact['priority'],(! $poll_enabled)), '$poll_enabled' => $poll_enabled, '$lastupdtext' => t('Last update:'), diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 2454feaa8..64245f585 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -90,6 +90,8 @@ {{/if}} <h3>{{$permlbl}}</h3> +<div id="connedit-perms-wrap" class="fakelink" onclick="openClose('connedit-perms');">{{$clickme}}</div> +<div id="connedit-perms" style="display: none;" > <div id="perm-desc" class="descriptive-text">{{$permnote}}</div> <table> <tr><td></td><td class="abook-them">{{$them}}</td><td colspan="2" class="abook-me">{{$me}}</td><td></td></tr> @@ -101,6 +103,7 @@ </table> </div> +</div> <input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> |