aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/contact_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/contact_edit.tpl')
-rw-r--r--view/tpl/contact_edit.tpl89
1 files changed, 89 insertions, 0 deletions
diff --git a/view/tpl/contact_edit.tpl b/view/tpl/contact_edit.tpl
new file mode 100644
index 000000000..4f99b4aca
--- /dev/null
+++ b/view/tpl/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>
+ {{ endif }}
+ {{ if $insecure }}
+ <li><div id="insecure-message">$insecure</div></li>
+ {{ endif }}
+ {{ if $blocked }}
+ <li><div id="block-message">$blocked</div></li>
+ {{ endif }}
+ {{ if $ignored }}
+ <li><div id="ignore-message">$ignored</div></li>
+ {{ endif }}
+ {{ if $archived }}
+ <li><div id="archive-message">$archived</div></li>
+ {{ endif }}
+
+ <li>&nbsp;</li>
+
+ {{ if $common_text }}
+ <li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li>
+ {{ endif }}
+ {{ if $all_friends }}
+ <li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li>
+ {{ endif }}
+
+
+ <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>
+ {{ endif }}
+
+ </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>
+ {{ endif }}
+ <div id="contact-edit-end" ></div>
+
+ {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+
+<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>