aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/diabook')
-rwxr-xr-xview/theme/diabook/icons/link.pngbin0 -> 365 bytes
-rw-r--r--view/theme/diabook/style.css5
-rw-r--r--view/theme/diabook/wall_item.tpl18
3 files changed, 13 insertions, 10 deletions
diff --git a/view/theme/diabook/icons/link.png b/view/theme/diabook/icons/link.png
new file mode 100755
index 000000000..0ef666a67
--- /dev/null
+++ b/view/theme/diabook/icons/link.png
Binary files differ
diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css
index a58e79483..1f148fe3a 100644
--- a/view/theme/diabook/style.css
+++ b/view/theme/diabook/style.css
@@ -102,6 +102,7 @@
.icon.tagged { background-image: url("../../../view/theme/diabook/icons/tagged.png");}
.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/unstarred.png");}
.icon.star { background-image: url("../../../view/theme/diabook/icons/star.png");}
+.icon.link { background-image: url("../../../view/theme/diabook/icons/link.png");}
.article { background-position: -50px 0px;}
.audio { background-position: -70px 0px;}
@@ -112,7 +113,7 @@
.camera { background-position: -170px 0px;}
/*.dislike { background-position: -190px 0px;}*/
/*.like { background-position: -210px 0px;}*/
-.link { background-position: -230px 0px;}
+/*.link { background-position: -230px 0px;}*/
.globe { background-position: -50px -20px;}
.noglobe { background-position: -70px -20px;}
@@ -160,7 +161,7 @@
display: block;
width: 20px;
height: 20px;
- background-image: url('icons.png');
+ /*background-image: url('icons.png');*/
}
.icon {
diff --git a/view/theme/diabook/wall_item.tpl b/view/theme/diabook/wall_item.tpl
index c1205b01b..728e863e6 100644
--- a/view/theme/diabook/wall_item.tpl
+++ b/view/theme/diabook/wall_item.tpl
@@ -36,6 +36,7 @@
</div>
<div class="wall-item-bottom">
<div class="wall-item-links">
+ {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
</div>
<div class="wall-item-tags">
{{ for $item.tags as $tag }}
@@ -45,17 +46,11 @@
</div>
<div class="wall-item-bottom">
<div class="">
- {{ if $item.plink }}<a class="icon s16 link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
+
</div>
<div class="wall-item-actions">
<div class="wall-item-location">$item.location&nbsp;</div>
<div class="wall-item-actions-social">
-
- {{ if $item.star }}
- <a href="#" id="star-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
- <a href="#" id="unstar-$item.id" class="icon star" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">$item.star.undo</a>
- <a href="#" id="tagger-$item.id" class="icon tagged" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
- {{ endif }}
{{ if $item.vote }}
<a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
@@ -64,7 +59,14 @@
{{ if $item.vote.share }}
<a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
- {{ endif }}
+ {{ endif }}
+
+ {{ if $item.star }}
+ <a href="#" id="star-$item.id" class="icon star" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
+ <a href="#" id="unstar-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">$item.star.undo</a>
+ <a href="#" id="tagger-$item.id" class="icon tagged" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
+ {{ endif }}
+
</div>
<div class="wall-item-actions-tools">