1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

More notice fixes

This commit is contained in:
Moc
2013-05-24 18:40:29 +02:00
parent c56951df43
commit f981711350
2 changed files with 3 additions and 3 deletions

View File

@@ -865,7 +865,7 @@ if (!class_exists('e107table', false))
$thm = new $this->themeClass(); $thm = new $this->themeClass();
} }
if(is_object($thm)) if(is_object(vartrue($thm)))
{ {
$thm->tablestyle($caption, $text, $mode, array('menuArea'=>$this->eMenuArea, 'menuCount'=>$this->eMenuCount, 'menuTotal'=>varset($this->eMenuTotal[$this->eMenuArea]), 'setStyle'=>$this->eSetStyle)); $thm->tablestyle($caption, $text, $mode, array('menuArea'=>$this->eMenuArea, 'menuCount'=>$this->eMenuCount, 'menuTotal'=>varset($this->eMenuTotal[$this->eMenuArea]), 'setStyle'=>$this->eSetStyle));
} }

View File

@@ -186,7 +186,7 @@ switch ($action)
$download_cat_table_string = ""; $download_cat_table_string = "";
foreach($dlcat->cat_tree as $dlrow) foreach($dlcat->cat_tree as $dlrow)
{ // Display main category headings, then sub-categories, optionally with sub-sub categories expanded { // Display main category headings, then sub-categories, optionally with sub-sub categories expanded
$download_cat_table_string .= $tp->parseTemplate($DOWNLOAD_CAT_PARENT_TABLE, TRUE, $download_shortcodes); $download_cat_table_string .= $tp->parseTemplate($DOWNLOAD_CAT_PARENT_TABLE, TRUE, vartrue($download_shortcodes));
foreach($dlrow['subcats'] as $dlsubrow) foreach($dlrow['subcats'] as $dlsubrow)
{ {
$download_cat_table_string .= $tp->parseTemplate($DOWNLOAD_CAT_CHILD_TABLE, TRUE, $download_shortcodes); $download_cat_table_string .= $tp->parseTemplate($DOWNLOAD_CAT_CHILD_TABLE, TRUE, $download_shortcodes);
@@ -200,7 +200,7 @@ switch ($action)
$dl_text .= $download_cat_table_string; $dl_text .= $download_cat_table_string;
$dl_text .= $tp->parseTemplate($DOWNLOAD_CAT_TABLE_END, TRUE, $download_shortcodes); $dl_text .= $tp->parseTemplate($DOWNLOAD_CAT_TABLE_END, TRUE, $download_shortcodes);
$dlbreadcrumb = $dl->getBreadcrumb(array(LAN_dl_18)); $dlbreadcrumb = $dl->getBreadcrumb(array(LAN_dl_18));
$dl_title .= $tp->parseTemplate("{BREADCRUMB=dlbreadcrumb}", TRUE, $download_shortcodes); $dl_title = $tp->parseTemplate("{BREADCRUMB=dlbreadcrumb}", TRUE, $download_shortcodes);
ob_start(); ob_start();
$ns->tablerender($dl_title, $dl_text); $ns->tablerender($dl_title, $dl_text);