mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Bugtracker #4723 - Tablerender mode parameter added for themers
This commit is contained in:
12
page.php
12
page.php
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/page.php,v $
|
| $Source: /cvs_backup/e107_0.8/page.php,v $
|
||||||
| $Revision: 1.17 $
|
| $Revision: 1.18 $
|
||||||
| $Date: 2008-11-16 09:11:59 $
|
| $Date: 2009-05-03 22:16:20 $
|
||||||
| $Author: e107coders $
|
| $Author: bugrain $
|
||||||
|
|
|
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -65,7 +65,7 @@ else
|
|||||||
if ($e107_core_custom_pages['cachecontrol'] == TRUE)
|
if ($e107_core_custom_pages['cachecontrol'] == TRUE)
|
||||||
{
|
{
|
||||||
ob_start();
|
ob_start();
|
||||||
$ns -> tablerender($e107_core_custom_pages['title'], $e107_core_custom_pages['text']);
|
$ns -> tablerender($e107_core_custom_pages['title'], $e107_core_custom_pages['text'],"cpage");
|
||||||
$cache_data = ob_get_flush();
|
$cache_data = ob_get_flush();
|
||||||
$e107cache->set($cacheString, $cache_data);
|
$e107cache->set($cacheString, $cache_data);
|
||||||
$e107cache->set($cachePageTitle, $e107_core_custom_pages['title']."^".$e107_core_custom_pages['comment_flag']);
|
$e107cache->set($cachePageTitle, $e107_core_custom_pages['title']."^".$e107_core_custom_pages['comment_flag']);
|
||||||
@@ -195,7 +195,7 @@ class pageClass
|
|||||||
|
|
||||||
$text = ''; // Notice removal
|
$text = ''; // Notice removal
|
||||||
$ptitle = "";
|
$ptitle = "";
|
||||||
|
|
||||||
if($page_author)
|
if($page_author)
|
||||||
{
|
{
|
||||||
$text .= "<div class='smalltext cpage_author' style='text-align:right'>".$user_name.", ".$gen->convert_date($page_datestamp, "long")."</div><br />";
|
$text .= "<div class='smalltext cpage_author' style='text-align:right'>".$user_name.", ".$gen->convert_date($page_datestamp, "long")."</div><br />";
|
||||||
@@ -234,7 +234,7 @@ class pageClass
|
|||||||
$this -> pageToRender = $tp -> toHTML($this -> pageText, TRUE, 'BODY');
|
$this -> pageToRender = $tp -> toHTML($this -> pageText, TRUE, 'BODY');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($pt[0] as $title)
|
foreach($pt[0] as $title)
|
||||||
{
|
{
|
||||||
$this -> pageTitles[] = $title;
|
$this -> pageTitles[] = $title;
|
||||||
|
Reference in New Issue
Block a user