Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -rupN public\js\selfoss-events-entriestoolbar.js public\js\selfoss-events-entriestoolbar.js
- --- public\js\selfoss-events-entriestoolbar.js Wed Apr 10 19:13:08 2013
- +++ public\js\selfoss-events-entriestoolbar.js Sat Apr 20 13:25:28 2013
- @@ -26,6 +26,17 @@ selfoss.events.entriesToolbar = function
- return false;
- });
- + // Added for smartphones: Throw
- + parent.find('.entry-smartphone-added-throw').unbind('click').click(function(e) {
- + $(this).parents(".entry").find(".entry-unread").click();
- + var entryID = $(this).parents('.entry').attr('id').replace("entrr", "entry");
- + var entry = $("#" + entryID);
- + $(this).parents(".entry").find(".entry-close").click();
- + entry.next().click();
- + e.preventDefault();
- + return false;
- + });
- +
- // share with google plus
- parent.find('.entry-sharegoogle').unbind('click').click(function(e) {
- window.open("https://plus.google.com/share?url="+encodeURIComponent($(this).parents(".entry").children("a").eq(0).attr("href")));
- diff -rupN templates\item.phtml templates/item.phtml
- --- templates\item.phtml Wed Apr 3 20:43:22 2013
- +++ templates\item.phtml Sat Apr 20 13:25:36 2013
- @@ -56,11 +56,7 @@
- <ul class="entry-smartphone-share">
- <li class="entry-newwindow"><?PHP echo \F3::get('lang_open_window')?></li>
- - <li class="entry-sharegoogle" title="google">google</li>
- - <li class="entry-sharetwitter" title="twitter">twitter</li>
- - <li class="entry-sharefacebook" title="facebook">facebook</li>
- - <li class="entry-sharepocket" title="pocket">pocket</li>
- - <li class="entry-shareemail" title="email">email</li>
- + <li class="entry-smartphone-added-throw" title="Throw">Throw</li>
- </ul>
- </div>
- @@ -70,11 +66,6 @@
- <li class="entry-unread <?PHP echo $this->item['unread']==1 ? 'active' : ''; ?>"><?PHP echo $this->item['unread']==1 ? \F3::get('lang_mark') : \F3::get('lang_unmark'); ?></li>
- <li class="entry-newwindow"><?PHP echo \F3::get('lang_open_window')?></li>
- <li class="entry-loadimages"><?PHP echo \F3::get('lang_load_img')?> </li>
- - <li class="entry-sharegoogle entry-share" title="google"> </li>
- - <li class="entry-sharetwitter entry-share" title="twitter"> </li>
- - <li class="entry-sharefacebook entry-share" title="facebook"> </li>
- - <li class="entry-sharepocket entry-share" title="pocket"> </li>
- - <li class="entry-shareemail entry-share" title="email"> </li>
- <li class="entry-close"></li>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment