]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/wall_item.tpl
fixed star-bug
[friendica.git] / view / theme / diabook / wall_item.tpl
index 20131c7d116b0d83192568fd514bcde8ddd7a150..b1a0149490bda6983e3e5a701cac9198f28890c8 100644 (file)
@@ -1,13 +1,9 @@
 {{ if $item.indent }}{{ else }}
 <div class="wall-item-decor">
-       <span class="icon isstar $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
        {{ if $item.lock }}<span class="icon lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }} 
        <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
 </div>
 {{ endif }}
-
-
-
 <div class="wall-item-container $item.indent">
        <div class="wall-item-item">
                <div class="wall-item-info">
@@ -32,7 +28,6 @@
                        </span>
                        </div>
                <div class="wall-item-content">
-
                        {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
                        $item.body
                </div>
                        {{ 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 }}     
-                       
+
+
                        {{ if $item.star }}
-                               <a href="#" id="star-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classdo"  title="$item.star.do" >
-                                       <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
-                               <a href="#" id="unstar-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classundo"  title="$item.star.undo">
-                                       <img src="images/star_dummy.png" class="icon star" alt="$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>
+                               <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
+                               <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
+                               <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>                                   
                        {{ endif }}     
                        
                        {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}