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

Code cleanup

This commit is contained in:
Cameron
2020-12-05 14:13:18 -08:00
parent d37d4bf8af
commit 09fb747374
30 changed files with 125 additions and 89 deletions

View File

@@ -177,16 +177,19 @@ if (isset($_POST['commentsubmit']))
require_once (HEADERF);
$ns->tablerender($ftmp['caption'], $ftmp['text']);
e107::getRender()->tablerender($ftmp['caption'], $ftmp['text']);
}
if($action == "cat" && $idx)
{
$ftmp = $faq->view_faq($idx) ;
define("e_PAGETITLE",LAN_FAQS_011." - ". $ftmp['title']);
if(!defined("e_PAGETITLE"))
{
define("e_PAGETITLE", LAN_FAQS_011." - ". $ftmp['title']);
}
require_once(HEADERF);
$ns->tablerender($ftmp['caption'], $ftmp['text']);
e107::getRender()->tablerender($ftmp['caption'], $ftmp['text']);
}
if ($action == "cat")
@@ -195,7 +198,7 @@ if (isset($_POST['commentsubmit']))
define("e_PAGETITLE", strip_tags($ftmp['title'].$ftmp['caption']));
require_once (HEADERF);
$ns->tablerender($ftmp['caption'], $ftmp['text']);
e107::getRender()->tablerender($ftmp['caption'], $ftmp['text']);
}