aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-06 21:40:01 -0800
committerfriendica <info@friendica.com>2013-12-06 21:40:01 -0800
commitf45b06ffa004c6e6920214b64efe18e3cfe2d667 (patch)
tree83f0e15dedc9381448d95b02ee5968def3969085 /view/tpl
parent9354c33839359821111b57a2a3aea916819d9c4f (diff)
downloadvolse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.tar.gz
volse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.tar.bz2
volse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.zip
suggestion widget
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/suggest_friends.tpl2
-rw-r--r--view/tpl/suggest_widget.tpl10
2 files changed, 11 insertions, 1 deletions
diff --git a/view/tpl/suggest_friends.tpl b/view/tpl/suggest_friends.tpl
index 80a606912..baece361a 100755
--- a/view/tpl/suggest_friends.tpl
+++ b/view/tpl/suggest_friends.tpl
@@ -1,5 +1,5 @@
<div class="profile-match-wrapper">
- <a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="icon drophide smalldrop profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a>
+ <a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="profile-match-ignore" onclick="return confirmDelete();" ><i class="icon-remove drop-icons"></i></a>
<div class="profile-match-photo">
<a href="{{$entry.url}}">
<img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.url}}]" />
diff --git a/view/tpl/suggest_widget.tpl b/view/tpl/suggest_widget.tpl
new file mode 100644
index 000000000..eba8b496e
--- /dev/null
+++ b/view/tpl/suggest_widget.tpl
@@ -0,0 +1,10 @@
+<div class="widget">
+<h3>{{$title}}</h3>
+{{if $entries}}
+{{foreach $entries as $child}}
+{{include file="suggest_friends.tpl" entry=$child}}
+{{/foreach}}
+{{/if}}
+<div class="clear"></div>
+<div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div>
+</div> \ No newline at end of file