mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Custom-Page auto-resize working. Pagination still has an issue.
This commit is contained in:
3
page.php
3
page.php
@@ -332,6 +332,8 @@ class pageClass
|
||||
public function parsePage()
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
e107::getBB()->setClass("page");
|
||||
|
||||
$this->pageTitles = array(); // Notice removal
|
||||
|
||||
if(preg_match_all("/\[newpage.*?\]/si", $this->pageText, $pt))
|
||||
@@ -406,6 +408,7 @@ class pageClass
|
||||
echo "<pre>"; print_r($this->pageTitles); echo "</pre>";
|
||||
}
|
||||
}
|
||||
e107::getBB()->clearClass();
|
||||
}
|
||||
|
||||
function pageIndex()
|
||||
|
Reference in New Issue
Block a user