]> git.mxchange.org Git - friendica.git/commitdiff
[fix] whitespace in photo_view and like_noshare. dispy-dark clean up
authorSimon L'nu <simon.lnu@gmail.com>
Sat, 17 Mar 2012 05:55:40 +0000 (01:55 -0400)
committerSimon L'nu <simon.lnu@gmail.com>
Sat, 17 Mar 2012 05:55:40 +0000 (01:55 -0400)
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
view/like_noshare.tpl
view/photo_view.tpl
view/theme/dispy-dark/photo_view.tpl
view/theme/dispy-dark/theme.php

index 2c467c3c26a9dafb91585dd096873375978011af..2651ea1f89e7f7649db109f397e1f8bc69dbb0c8 100755 (executable)
@@ -1,5 +1,5 @@
 <div class="wall-item-like-buttons" id="wall-item-like-buttons-$id">
-                               <a href="#" class="icon like"title="$likethis" onclick="dolike($id,'like'); return false"></a>
-                               <a href="#" class="icon dislike" title="$nolike" onclick="dolike($id,'dislike'); return false"></a>
-                               <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
-                       </div>
+       <a href="#" class="icon like" title="$likethis" onclick="dolike($id,'like'); return false"></a>
+       <a href="#" class="icon dislike" title="$nolike" onclick="dolike($id,'dislike'); return false"></a>
+       <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
+</div>
index 5dbcabadf7de6fccf9e278ed0f4c2e2350f7477c..732caf6900a3de4c48f6f9bfbff8cb09d109b090 100755 (executable)
@@ -14,7 +14,7 @@
 <div id="photo-photo"><a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a></div>
 {{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
 <div id="photo-photo-end"></div>
-<div id="photo-caption" >$desc</div>
+<div id="photo-caption">$desc</div>
 {{ if $tags }}
 <div id="in-this-photo-text">$tags.0</div>
 <div id="in-this-photo">$tags.1</div>
index f1209ec58f33b042b122002d629b777cd43f63b1..732caf6900a3de4c48f6f9bfbff8cb09d109b090 100644 (file)
@@ -4,18 +4,15 @@
 <div id="photo-edit-link-wrap">
 {{ if $tools }}
 <a id="photo-edit-link" href="$tools.edit.0">$tools.edit.1</a>
--
+|
 <a id="photo-toprofile-link" href="$tools.profile.0">$tools.profile.1</a>
 {{ endif }}
-{{ if $lock }} - <img src="images/lock_icon.gif" class="lockview" alt="$lock" onclick="lockview(event,'photo$id');" /> {{ endif }}
-</div>
-
-<div id="photo-photo">
-       {{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
-       <a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a>
-       {{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
+{{ if $lock }} | <img src="images/lock_icon.gif" class="lockview" alt="$lock" onclick="lockview(event,'photo/$id');" /> {{ endif }}
 </div>
 
+{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
+<div id="photo-photo"><a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a></div>
+{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
 <div id="photo-photo-end"></div>
 <div id="photo-caption">$desc</div>
 {{ if $tags }}
index b57971db9695eb921337ea28f45b98ab5582b625..70013617399360b9d353678110106682a864765d 100644 (file)
@@ -108,9 +108,6 @@ $(document).ready(function() {
                $(this).css({color: '#eec'});
        });
 
-       // make auto-complete work in more places
-       $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
-
 /*     $('#profile-photo-wrapper').mouseover(function() {
                $('.profile-edit-side-div').css({display: 'block'});
        }).mouseout(function() {