Changeset 165

Show
Ignore:
Timestamp:
11/15/07 21:48:39 (14 months ago)
Author:
chris
Message:

Updated the bookmarklet to support Newzbin v2 and Newzxxx

Location:
hellaworld/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • hellaworld/trunk/CHANGELOG

    r158 r165  
    33* Fixed a bug where queue items with an ETA over 24 but less than 48 
    44  hours long weren't showing the days in the ETA 
     5 
     6* Updated the bookmarklet to support Newzbin v2 and Newzxxx 
    57 
    681.9 
  • hellaworld/trunk/templates/default.php

    r157 r165  
    188188<h2><?php echo _('HellaWorld Bookmarklet'); ?></h2> 
    189189<p class="bkmark"><?php echo _("Right click on this link and bookmark it, or drag it to your bookmarks/favorites to create a Newzbin shortcut. Clicking on this shortcut when on a Newzbin article will add the NZB to HellaNZB's queue."); ?></p> 
    190 <p class="bkmark"><a href="javascript:c=location.href;if(document.title.indexOf('Newzbin'+String.fromCharCode(32)+'-'+String.fromCharCode(32)+'Report')!=-1){location.href='<?php echo $protocol . '://' . htmlentities($_SERVER['HTTP_HOST']) . $self ?>?bookmarklet='+encodeURIComponent(c);}else{void(0);}"><?php echo _('Send to HellaWorld'); ?></a></p> 
     190<p class="bkmark"><a href="javascript:c=location.href;if(c.match(/browse\/post\/\d+/)){location.href='<?php echo $protocol . '://' . htmlentities($_SERVER['HTTP_HOST']) . $self ?>?bookmarklet='+encodeURIComponent(c);}else{void(0);}"><?php echo _('Send to HellaWorld'); ?></a></p> 
    191191</div> 
    192192</div>