aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/abook_edit.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-23 21:15:40 -0800
committerfriendica <info@friendica.com>2013-01-23 21:15:40 -0800
commit6e6b268e2523d95624361d29a8bd80b1133aa627 (patch)
tree95c01140f753fe42f0031064597b12c7dc297835 /view/tpl/smarty3/abook_edit.tpl
parentc1a5c88720cf00a041ac4838c4e799ee53933ae9 (diff)
downloadvolse-hubzilla-6e6b268e2523d95624361d29a8bd80b1133aa627.tar.gz
volse-hubzilla-6e6b268e2523d95624361d29a8bd80b1133aa627.tar.bz2
volse-hubzilla-6e6b268e2523d95624361d29a8bd80b1133aa627.zip
auto permissions (such as for forums or whatever) - untested but might just work
Diffstat (limited to 'view/tpl/smarty3/abook_edit.tpl')
-rw-r--r--view/tpl/smarty3/abook_edit.tpl13
1 files changed, 12 insertions, 1 deletions
diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl
index 623f13dd4..e3da32999 100644
--- a/view/tpl/smarty3/abook_edit.tpl
+++ b/view/tpl/smarty3/abook_edit.tpl
@@ -3,20 +3,28 @@
<h3>{{$addr}}</h3>
+{{if $notself}}
<div id="connection-flag-tabs">
{{$tabs}}
</div>
+{{/if}}
+
+{{if $self}}
+<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div>
+{{/if}}
<div id="contact-edit-wrapper">
+{{if $notself}}
{{if $slide}}
<h3>{{$lbl_slider}}</h3>
{{$slide}}
{{/if}}
+{{/if}}
-<h3>Permissions</h3>
+<h3>{{$permlbl}}</h3>
<form action="connections/{{$contact_id}}" method="post" >
<input type="hidden" name="contact_id" value="{{$contact_id}}">
@@ -25,6 +33,9 @@
<br />
<b>{{$quick}}</b>
<ul>
+{{if $self}}
+<li><a href="#" onclick="connectForum(); return false;">{{$forum}}</a></li>
+{{/if}}
<li><a href="#" onclick="connectFullShare(); return false;">{{$full}}</a></li>
<li><a href="#" onclick="connectCautiousShare(); return false;">{{$cautious}}</a></li>
<li><a href="#" onclick="connectFollowOnly(); return false;">{{$follow}}</a></li>