* merge text-page-generic into list-page-generic
This commit is contained in:
Sarjuuk
2017-03-19 14:20:45 +01:00
parent 9fabd2c728
commit bf0f218b28
5 changed files with 59 additions and 68 deletions

View File

@@ -429,7 +429,7 @@ class GenericPage
$this->pageTemplate['activeTab'] = $this->tabId;
header("HTTP/1.0 404 Not Found", true, 404);
$this->display('text-page-generic');
$this->display('list-page-generic');
exit();
}
@@ -447,7 +447,7 @@ class GenericPage
Util::arraySumByKey($this->mysql, DB::Aowow()->getStatistics(), DB::World()->getStatistics());
header("HTTP/1.0 404 Not Found", true, 404);
$this->display('text-page-generic');
$this->display('list-page-generic');
exit();
}

View File

@@ -10,7 +10,7 @@ if (!defined('AOWOW_REVISION'))
class MorePage extends GenericPage
{
protected $tpl = 'text-page-generic';
protected $tpl = 'list-page-generic';
protected $path = [2];
protected $tabId = 2;
protected $mode = CACHE_TYPE_NONE;

View File

@@ -91,7 +91,7 @@ class ScreenshotPage extends GenericPage
header('Location: ?screenshot=thankyou&'.$this->destType.'.'.$this->destTypeId, true, 302);
die();
case 'thankyou':
$this->tpl = 'text-page-generic';
$this->tpl = 'list-page-generic';
$this->handleThankyou();
break;
}