mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Template
* merge text-page-generic into list-page-generic
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user