aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connedit.php2
-rwxr-xr-xview/tpl/abook_edit.tpl3
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}}" />