1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

More batch-shortcode cleanup.

This commit is contained in:
CaMer0n
2012-06-20 01:12:33 +00:00
parent 73f3106df5
commit a0743652de
9 changed files with 228 additions and 133 deletions

View File

@@ -44,7 +44,8 @@ if (!$CONTACT_FORM) {
}
}
if(isset($_POST['send-contactus'])){
if(isset($_POST['send-contactus']))
{
$error = "";
@@ -163,7 +164,8 @@ if(SITECONTACTINFO && $CONTACT_INFO)
if(isset($pref['sitecontacts']) && $pref['sitecontacts'] != 255)
{
require_once(e_CORE."shortcodes/batch/contact_shortcodes.php");
// require_once(e_CORE."shortcodes/batch/contact_shortcodes.php");
$contact_shortcodes = e107::getScBatch('contact');
$text = $tp->parseTemplate($CONTACT_FORM, TRUE, $contact_shortcodes);
if(trim($text) != "")