diff --git a/pages/genericPage.class.php b/pages/genericPage.class.php index 729839c6..7aa0a3b9 100644 --- a/pages/genericPage.class.php +++ b/pages/genericPage.class.php @@ -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(); } diff --git a/pages/more.php b/pages/more.php index 8b922add..29ba3080 100644 --- a/pages/more.php +++ b/pages/more.php @@ -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; diff --git a/pages/screenshot.php b/pages/screenshot.php index 4b5fbe77..d0b14bcd 100644 --- a/pages/screenshot.php +++ b/pages/screenshot.php @@ -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; } diff --git a/template/pages/list-page-generic.tpl.php b/template/pages/list-page-generic.tpl.php index e686b8f5..86f01611 100644 --- a/template/pages/list-page-generic.tpl.php +++ b/template/pages/list-page-generic.tpl.php @@ -9,20 +9,63 @@ $this->brick('pageTemplate'); - $this->brick('mapper'); - -if (!empty($this->name) || !empty($this->h1Links) || !empty($this->extraHTML)): - echo '