aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/contact_head.tpl31
-rw-r--r--view/en/contact_edit.tpl8
-rw-r--r--view/it/contact_edit.tpl9
3 files changed, 48 insertions, 0 deletions
diff --git a/view/contact_head.tpl b/view/contact_head.tpl
new file mode 100644
index 000000000..6a80c2122
--- /dev/null
+++ b/view/contact_head.tpl
@@ -0,0 +1,31 @@
+<script language="javascript" type="text/javascript"
+ src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+ <script language="javascript" type="text/javascript">
+
+
+tinyMCE.init({
+ theme : "advanced",
+ mode : "exact",
+ elements: "contact-edit-info",
+ plugins : "bbcode",
+ theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
+ theme_advanced_buttons2 : "",
+ theme_advanced_buttons3 : "",
+ theme_advanced_toolbar_location : "top",
+ theme_advanced_toolbar_align : "center",
+ theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
+ content_css : "bbcode.css",
+ entity_encoding : "raw",
+ add_unload_trigger : false,
+ remove_linebreaks : false,
+ force_p_newlines : false,
+ force_br_newlines : true,
+ forced_root_block : '',
+ content_css: "$baseurl/view/custom_tinymce.css"
+
+
+});
+
+
+</script>
+
diff --git a/view/en/contact_edit.tpl b/view/en/contact_edit.tpl
index a5c8dc4ab..79a7651c1 100644
--- a/view/en/contact_edit.tpl
+++ b/view/en/contact_edit.tpl
@@ -38,6 +38,14 @@ $ignored
<form action="contacts/$contact_id" method="post" >
<input type="hidden" name="contact_id" value="$contact_id">
+<div id="contact-edit-info-wrapper">
+<h4>Contact Information / Notes</h4>
+<textarea id="contact-edit-info" rows="10" cols="72" name="info" >$info</textarea>
+</div>
+<div id="contact-edit-info-end"></div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
+
<div id="contact-edit-profile-select-text">
<h4>Profile Visibility</h4>
<p>Please choose the profile you would like to display to $name when viewing your profile securely.
diff --git a/view/it/contact_edit.tpl b/view/it/contact_edit.tpl
index cc4db7c15..80446f044 100644
--- a/view/it/contact_edit.tpl
+++ b/view/it/contact_edit.tpl
@@ -38,6 +38,15 @@ $ignored
<form action="contacts/$contact_id" method="post" >
<input type="hidden" name="contact_id" value="$contact_id">
+<div id="contact-edit-info-wrapper">
+<h4>Informazioni di contatto / Note</h4>
+<textarea id="contact-edit-info" rows="10" cols="72" name="info" >$info</textarea>
+</div>
+<div id="contact-edit-info-end"></div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="Aggiorna" />
+
+
<div id="contact-edit-profile-select-text">
<h4>Visibilt&agrave; Profiloe</h4>
<p>Scegli il profilo che vuoi mostrare a $name quando guarda il tuo profilo in modo sicuro.</p>