mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 10:18:55 +00:00
Remove code leftover from BasePage.php.
This commit is contained in:
@@ -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"}"> </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>
|
||||
|
||||
Reference in New Issue
Block a user