2014-10-10 14:54:12 +00:00
|
|
|
<div class="generic-content-wrapper-styled">
|
2013-05-08 08:23:17 +00:00
|
|
|
<h2>{{$header}}</h2>
|
2012-08-17 04:41:07 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
<h3>{{$addr}}</h3>
|
2012-11-08 02:48:31 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{if $notself}}
|
2012-11-08 02:48:31 +00:00
|
|
|
<div id="connection-flag-tabs">
|
2013-05-08 08:23:17 +00:00
|
|
|
{{$tabs}}
|
2012-11-08 02:48:31 +00:00
|
|
|
</div>
|
2015-01-03 03:20:52 +00:00
|
|
|
<div id="connection-edit-buttons">
|
|
|
|
{{foreach $buttons as $b }}
|
|
|
|
<button class="btn btn-sm btn-default" title="{{$b.title}}" onclick="window.location.href='{{$b.url}}'; return false;">{{$b.label}}</button>
|
|
|
|
{{/foreach}}
|
2013-05-08 08:23:17 +00:00
|
|
|
{{/if}}
|
2013-01-24 05:15:40 +00:00
|
|
|
|
2012-08-17 04:41:07 +00:00
|
|
|
|
|
|
|
<div id="contact-edit-wrapper">
|
2015-01-03 03:20:52 +00:00
|
|
|
<form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" >
|
|
|
|
|
2015-01-12 05:18:29 +00:00
|
|
|
<div class="abook-permsnew" style="display: none;">
|
|
|
|
<div class="abook-perms-msg">{{$perms_step1}}</div>
|
2015-01-03 03:20:52 +00:00
|
|
|
</div>
|
|
|
|
|
2015-01-12 05:18:29 +00:00
|
|
|
<div class="abook-permsmsg" style="display: none;">
|
|
|
|
<div class="abook-perms-msg">{{$perms_new}}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-01-03 03:20:52 +00:00
|
|
|
<div class="abook-permssave" style="display: none;">
|
|
|
|
<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
|
|
|
|
</div>
|
|
|
|
|
2013-12-20 03:16:46 +00:00
|
|
|
{{if $last_update}}
|
|
|
|
{{$lastupdtext}} {{$last_update}}
|
|
|
|
{{/if}}
|
|
|
|
|
2015-01-25 20:35:57 +00:00
|
|
|
|
|
|
|
{{if $is_pending}}
|
|
|
|
<div class="abook-pending-contact">
|
|
|
|
{{include file="field_checkbox.tpl" field=$unapproved}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{if $notself}}
|
|
|
|
{{if $slide}}
|
|
|
|
<h3>{{$lbl_slider}}</h3>
|
2012-08-17 04:41:07 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{$slide}}
|
2012-11-08 02:48:31 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{/if}}
|
2015-01-15 22:05:18 +00:00
|
|
|
|
2015-06-30 03:35:56 +00:00
|
|
|
{{if $connfilter}}
|
2015-06-29 04:16:56 +00:00
|
|
|
{{include file="field_textarea.tpl" field=$incl}}
|
|
|
|
{{include file="field_textarea.tpl" field=$excl}}
|
2015-06-30 03:35:56 +00:00
|
|
|
{{else}}
|
|
|
|
<input type="hidden" name="{{$incl.0}}" value="{{$incl.2}}" />
|
|
|
|
<input type="hidden" name="{{$excl.0}}" value="{{$excl.2}}" />
|
|
|
|
{{/if}}
|
2015-06-29 04:16:56 +00:00
|
|
|
|
2015-01-15 22:05:18 +00:00
|
|
|
{{if $rating}}
|
|
|
|
<h3>{{$lbl_rating}}</h3>
|
|
|
|
|
|
|
|
{{$rating}}
|
|
|
|
|
2015-01-16 00:37:47 +00:00
|
|
|
|
2015-01-15 22:05:18 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2015-06-29 04:16:56 +00:00
|
|
|
|
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{/if}}
|
2012-11-08 02:48:31 +00:00
|
|
|
|
2013-01-28 01:05:32 +00:00
|
|
|
|
2014-11-05 01:38:49 +00:00
|
|
|
{{if $self}}
|
|
|
|
<div class="abook-autotext">
|
|
|
|
<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div>
|
|
|
|
{{include file="field_checkbox.tpl" field=$autoperms}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2014-02-03 22:03:43 +00:00
|
|
|
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
|
|
|
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
|
2015-01-16 00:37:47 +00:00
|
|
|
<input id="contact-rating-mirror" type="hidden" name="rating" value="{{$rating_val}}" />
|
2013-01-28 01:05:32 +00:00
|
|
|
|
2014-07-23 03:20:01 +00:00
|
|
|
|
2015-01-16 01:32:41 +00:00
|
|
|
{{if $rating}}
|
2015-01-16 00:37:47 +00:00
|
|
|
{{if $notself}}
|
2015-06-29 04:16:56 +00:00
|
|
|
{{include file="field_textarea.tpl" field=$rating_text}}
|
2015-01-16 00:37:47 +00:00
|
|
|
{{/if}}
|
2015-01-16 01:32:41 +00:00
|
|
|
{{/if}}
|
2015-01-16 00:37:47 +00:00
|
|
|
|
2015-01-25 22:32:00 +00:00
|
|
|
{{if $notself}}
|
2014-02-03 01:54:36 +00:00
|
|
|
{{if $multiprofs }}
|
|
|
|
<div>
|
|
|
|
<h3>{{$lbl_vis1}}</h3>
|
|
|
|
<div>{{$lbl_vis2}}</div>
|
|
|
|
|
|
|
|
{{$profile_select}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2015-01-25 22:32:00 +00:00
|
|
|
{{/if}}
|
2014-02-03 01:54:36 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
<h3>{{$permlbl}}</h3>
|
2015-01-25 22:28:48 +00:00
|
|
|
|
|
|
|
{{if $notself}}
|
2015-01-25 22:06:57 +00:00
|
|
|
<div id="connedit-perms-wrap" class="fakelink" onclick="openClose('connedit-perms');">{{$clickme}}</div>
|
2015-01-25 22:28:48 +00:00
|
|
|
<div id="connedit-perms" style="display: none;" >
|
|
|
|
{{/if}}
|
|
|
|
|
2013-05-22 00:13:51 +00:00
|
|
|
<div id="perm-desc" class="descriptive-text">{{$permnote}}</div>
|
2014-06-28 21:14:34 +00:00
|
|
|
<table>
|
|
|
|
<tr><td></td><td class="abook-them">{{$them}}</td><td colspan="2" class="abook-me">{{$me}}</td><td></td></tr>
|
|
|
|
<tr><td colspan="5"><hr /></td></tr>
|
2013-05-08 08:23:17 +00:00
|
|
|
{{foreach $perms as $prm}}
|
|
|
|
{{include file="field_acheckbox.tpl" field=$prm}}
|
|
|
|
{{/foreach}}
|
2014-06-28 21:14:34 +00:00
|
|
|
<tr><td colspan="5"><hr /></td></tr>
|
|
|
|
</table>
|
2012-08-17 04:41:07 +00:00
|
|
|
|
2012-08-17 06:11:24 +00:00
|
|
|
</div>
|
2012-08-17 04:41:07 +00:00
|
|
|
|
2015-01-25 22:28:48 +00:00
|
|
|
{{if $notself}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2013-07-03 08:50:39 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
|
2012-08-17 04:41:07 +00:00
|
|
|
|
2015-01-12 05:18:29 +00:00
|
|
|
{{if $self && $noperms}}
|
|
|
|
<script>
|
|
|
|
if(typeof(connectDefaultShare) !== 'undefined')
|
|
|
|
connectDefaultShare();
|
|
|
|
else
|
|
|
|
connectFullShare();
|
|
|
|
abook_perms_msg();
|
|
|
|
</script>
|
|
|
|
{{/if}}
|
|
|
|
|
2012-08-17 04:41:07 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2013-09-27 02:11:28 +00:00
|
|
|
</div>
|