aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_vcard.tpl2
-rw-r--r--view/tpl/rating_form.tpl22
2 files changed, 24 insertions, 0 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index bc093ebb5..cae920c5d 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -51,6 +51,8 @@
<a href="{{$connect_url}}" class="rconnect"><i class="icon-plus connect-icon"></i> {{$connect}}</a>
{{/if}}
+{{$rating}}
+
</div>
<div id="vcard-end"></div>
diff --git a/view/tpl/rating_form.tpl b/view/tpl/rating_form.tpl
new file mode 100644
index 000000000..216bf6ede
--- /dev/null
+++ b/view/tpl/rating_form.tpl
@@ -0,0 +1,22 @@
+<h3>{{$header}}</h3>
+
+<div class="rating-target-name">{{$tgt_name}}</div>
+
+<h3>{{$lbl_rating}}</h3>
+
+<form action="rate" method="post">
+
+{{$rating}}
+
+<input type="hidden" name="execute" value="1" />
+<input type="hidden" name="target" value="{{$target}}" />
+
+<input id="contact-rating-mirror" type="hidden" name="rating" value="{{$rating_val}}" />
+<h3 class="abook-rating-text-desc">{{$lbl_rating_txt}}</h3>
+<textarea name="rating_text" id="rating-text" >{{$rating_txt}}</textarea>
+
+<div class="clear"></div>
+
+<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
+
+</form> \ No newline at end of file