diff options
Diffstat (limited to 'view/tpl/abook_edit.tpl')
-rwxr-xr-x | view/tpl/abook_edit.tpl | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index f7bcb56c3..c2c11e4b1 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -1,4 +1,4 @@ -<div class="generic-content-wrapper"> +<div class="generic-content-wrapper-styled"> <h2>{{$header}}</h2> <h3>{{$addr}}</h3> @@ -9,9 +9,6 @@ </div> {{/if}} -{{if $self}} -<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div> -{{/if}} <div id="contact-edit-wrapper"> @@ -31,6 +28,15 @@ <form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" > + +{{if $self}} +<div class="abook-autotext"> +<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div> +{{include file="field_checkbox.tpl" field=$autoperms}} +</div> +{{/if}} + + <input type="hidden" name="contact_id" value="{{$contact_id}}"> <input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" /> @@ -58,31 +64,10 @@ <h3>{{$permlbl}}</h3> <div id="perm-desc" class="descriptive-text">{{$permnote}}</div> - -{{* {{if $noperms}} -<div id="noperm-msg" class="warning-text">{{$noperms}}</div> -<div id="noperm-text" class="descriptive-text">{{$noperm_desc}}</div> -{{/if}} -*}} - - - <br /> -<h3>{{$quick}}</h3> -<ul> -{{if $self}} -<li><span class="fakelink" onclick="connectClear();">{{$clear}}</span></li> -<li><span class="fakelink" onclick="connectForum();">{{$forum}}</span></li> -<li><span class="fakelink" onclick="connectSoapBox();">{{$soapbox}}</span></li> -{{/if}} -<li><span class="fakelink" onclick="connectFullShare();">{{$full}}</span></li> -<li><span class="fakelink" onclick="connectCautiousShare();">{{$cautious}}</span></li> -<li><span class="fakelink" onclick="connectFollowOnly();">{{$follow}}</span></li> -</ul> <input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> - <div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div> <div id="abook-advanced-panel" style="display: block;"> |