aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-04 17:32:29 -0800
committerfriendica <info@friendica.com>2015-02-04 17:32:29 -0800
commit561bab4ece9fa5844a0cb00f3cbd75e0855b2796 (patch)
tree9e614fce416c8b54d6a1a03cc70b1c05bdc48ec6 /view/tpl
parent48a145a8ed341c1f28f941be2eaab053c172e3f1 (diff)
downloadvolse-hubzilla-561bab4ece9fa5844a0cb00f3cbd75e0855b2796.tar.gz
volse-hubzilla-561bab4ece9fa5844a0cb00f3cbd75e0855b2796.tar.bz2
volse-hubzilla-561bab4ece9fa5844a0cb00f3cbd75e0855b2796.zip
remote rating and addition of rate-me to channel profile sidebar
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