1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

remove incompatible hook= code; replace w/ new support for "SuperModifiers" as designed

by team
This commit is contained in:
mrpete
2007-01-20 14:52:41 +00:00
parent 6aee73b773
commit 42fc461284
2 changed files with 12 additions and 12 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/page.php,v $
| $Revision: 1.8 $
| $Date: 2007-01-17 21:29:28 $
| $Author: e107steved $
| $Revision: 1.9 $
| $Date: 2007-01-20 14:52:41 $
| $Author: mrpete $
|
+----------------------------------------------------------------------------+
*/
@@ -229,7 +229,7 @@ class pageClass
}
else
{
$this -> pageToRender = $tp -> toHTML($this -> pageText, TRUE, 'parse_sc, constants,hook=content');
$this -> pageToRender = $tp -> toHTML($this -> pageText, TRUE, 'BODY');
return;
}
@@ -265,11 +265,11 @@ class pageClass
foreach($this -> pageTitles as $title)
{
$titlep = preg_replace("/\[newpage=(.*?)\]/", "\\1", $title);
$this -> pageTitles[$count] = ($titlep == "[newpage]" ? LAN_PAGE_13." ".($count+1)." " : $tp -> toHTML($titlep, TRUE, 'parse_sc, constants,emotes_off,no_make_clickable,hook=title'));
$this -> pageTitles[$count] = ($titlep == "[newpage]" ? LAN_PAGE_13." ".($count+1)." " : $tp -> toHTML($titlep, TRUE, 'TITLE'));
$count++;
}
$this -> pageToRender = $tp -> toHTML($pages[$this -> pageSelected], TRUE, 'parse_sc,constants,hook=content');
$this -> pageToRender = $tp -> toHTML($pages[$this -> pageSelected], TRUE, 'BODY');
$this -> title = (substr($this -> pageTitles[$this -> pageSelected], -1) == ";" ? "" : $this -> pageTitles[$this -> pageSelected]);
if($this -> debug)