]> git.mxchange.org Git - friendica.git/commitdiff
fix in wall_item.tpl
authortommy tomson <thomas.bierey@gmx.de>
Sat, 3 Mar 2012 00:52:53 +0000 (01:52 +0100)
committertommy tomson <thomas.bierey@gmx.de>
Sat, 3 Mar 2012 00:52:53 +0000 (01:52 +0100)
new icon link.png

view/theme/diabook/icons/link.png [new file with mode: 0755]
view/theme/diabook/style.css
view/theme/diabook/wall_item.tpl

diff --git a/view/theme/diabook/icons/link.png b/view/theme/diabook/icons/link.png
new file mode 100755 (executable)
index 0000000..0ef666a
Binary files /dev/null and b/view/theme/diabook/icons/link.png differ
index a58e794836c94db525a3177a111cf00d64e3e4a9..1f148fe3a68fb4e15f693bc8b09013e6a2feeba6 100644 (file)
 .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;}
 .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;}
   display: block;
   width: 20px;
   height: 20px;
-  background-image: url('icons.png');
+  /*background-image: url('icons.png');*/
 }
 
 .icon {
index c1205b01b34fe6fc627df5602de701e3df7b6f4d..728e863e6f096a4dc6bf9691d1ba02cabc788ac9 100644 (file)
@@ -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 }}
        </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>
                                                
                        {{ 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">