Remove code leftover from BasePage.php.

This commit is contained in:
DariusIII
2015-06-11 23:52:03 +02:00
parent 7ac8369f1b
commit 96bdd48594
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -84,10 +84,6 @@ class BasePage
$this->smarty->error_reporting = ((NN_DEBUG ? E_ALL : E_ALL - E_NOTICE));
$this->secure_connection = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443)) ;
if (file_exists(WWW_DIR.'templates/'.$this->settings->getSetting('style').'/theme.php'))
require_once(WWW_DIR.'templates/'.$this->settings->getSetting('style').'/theme.php');
$this->smarty->assign('themevars', (isset($themevars) ? $themevars : null));
if (isset($_SERVER['SERVER_NAME'])) {
$this->serverurl = (
($this->https === true ? 'https://' : 'http://') . $_SERVER['SERVER_NAME'] .
@@ -314,7 +314,7 @@
<tr><th>Added:</th><td title="{$release.adddate}">{$release.adddate|date_format:"%b %e, %Y %T"} ({$release.adddate|daysago})</td></tr>
<tr id="guid{$release.guid}"><th>Download:</th><td>
<div class="icon icon_nzb"><a title="Download Nzb" href="{$smarty.const.WWW_TOP}/getnzb/{$release.guid}/{$release.searchname|escape:"htmlall"}">&nbsp;</a></div>
<div class="icon icon_cart" title="{$themevars.cart_name_add}"></div>
<div class="icon icon_cart" title="Add to Cart"></div>
{if $sabintegrated}<div class="icon icon_sab" title="Send to my Queue"></div>{/if}
</td></tr>
<tr>