aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/contact_edit.tpl
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2013-01-06 14:42:51 -0700
committerZach Prezkuta <fermion@gmx.com>2013-01-06 15:57:11 -0700
commita0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468 (patch)
tree280d792355cb2e60cf62e8451b6d8afbbfcc7c0d /view/tpl/smarty3/contact_edit.tpl
parent61b8ea9e1af74e2056e18b02c170a899de9abd1b (diff)
downloadvolse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.gz
volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.bz2
volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.zip
implement Smarty3
Diffstat (limited to 'view/tpl/smarty3/contact_edit.tpl')
-rw-r--r--view/tpl/smarty3/contact_edit.tpl89
1 files changed, 89 insertions, 0 deletions
diff --git a/view/tpl/smarty3/contact_edit.tpl b/view/tpl/smarty3/contact_edit.tpl
new file mode 100644
index 000000000..9f7420c0d
--- /dev/null
+++ b/view/tpl/smarty3/contact_edit.tpl
@@ -0,0 +1,89 @@
+
+<h2>{{$header}}</h2>
+
+<div id="contact-edit-wrapper" >
+
+ {{$tab_str}}
+
+ <div id="contact-edit-drop-link" >
+ <a href="contacts/{{$contact_id}}/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a>
+ </div>
+
+ <div id="contact-edit-drop-link-end"></div>
+
+
+ <div id="contact-edit-nav-wrapper" >
+ <div id="contact-edit-links">
+ <ul>
+ <li><div id="contact-edit-rel">{{$relation_text}}</div></li>
+ <li><div id="contact-edit-nettype">{{$nettype}}</div></li>
+ {{if $lost_contact}}
+ <li><div id="lost-contact-message">{{$lost_contact}}</div></li>
+ {{/if}}
+ {{if $insecure}}
+ <li><div id="insecure-message">{{$insecure}}</div></li>
+ {{/if}}
+ {{if $blocked}}
+ <li><div id="block-message">{{$blocked}}</div></li>
+ {{/if}}
+ {{if $ignored}}
+ <li><div id="ignore-message">{{$ignored}}</div></li>
+ {{/if}}
+ {{if $archived}}
+ <li><div id="archive-message">{{$archived}}</div></li>
+ {{/if}}
+
+ <li>&nbsp;</li>
+
+ {{if $common_text}}
+ <li><div id="contact-edit-common"><a href="{{$common_link}}">{{$common_text}}</a></div></li>
+ {{/if}}
+ {{if $all_friends}}
+ <li><div id="contact-edit-allfriends"><a href="allfriends/{{$contact_id}}">{{$all_friends}}</a></div></li>
+ {{/if}}
+
+
+ <li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
+ {{if $lblsuggest}}
+ <li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
+ {{/if}}
+
+ </ul>
+ </div>
+ </div>
+ <div id="contact-edit-nav-end"></div>
+
+
+<form action="contacts/{{$contact_id}}" method="post" >
+<input type="hidden" name="contact_id" value="{{$contact_id}}">
+<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
+
+ {{if $poll_enabled}}
+ <div id="contact-edit-poll-wrapper">
+ <div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
+ <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}} <span id="contact-edit-update-now" class="button"><a href="contacts/{{$contact_id}}/update" >{{$udnow}}</a></span>
+ </div>
+ {{/if}}
+ <div id="contact-edit-end" ></div>
+
+ {{include file="field_checkbox.tpl" field=$hidden}}
+
+<div id="contact-edit-info-wrapper">
+<h4>{{$lbl_info1}}</h4>
+ <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
+ <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+</div>
+<div id="contact-edit-info-end"></div>
+
+
+<div id="contact-edit-profile-select-text">
+<h4>{{$lbl_vis1}}</h4>
+<p>{{$lbl_vis2}}</p>
+</div>
+{{$profile_select}}
+<div id="contact-edit-profile-select-end"></div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+
+</form>
+</div>