mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Changed a toHTML() to parseTemplate() when formatting the Contact Info from a template - was adding unneccessary break tags.
This commit is contained in:
10
contact.php
10
contact.php
@@ -3,7 +3,7 @@
|
|||||||
+ ----------------------------------------------------------------------------+
|
+ ----------------------------------------------------------------------------+
|
||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| Copyright (C) 2001-2009 e107 Inc
|
| Copyright (C) 2001-2009 e107 Inc
|
||||||
| http://e107.org
|
| http://e107.org
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/contact.php,v $
|
| $Source: /cvs_backup/e107_0.8/contact.php,v $
|
||||||
| $Revision: 1.6 $
|
| $Revision: 1.7 $
|
||||||
| $Date: 2009-07-14 05:31:57 $
|
| $Date: 2009-07-27 21:12:42 $
|
||||||
| $Author: e107coders $
|
| $Author: bugrain $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
require_once("class2.php");
|
require_once("class2.php");
|
||||||
@@ -146,7 +146,7 @@ if(isset($_POST['send-contactus'])){
|
|||||||
|
|
||||||
if(SITECONTACTINFO && $CONTACT_INFO)
|
if(SITECONTACTINFO && $CONTACT_INFO)
|
||||||
{
|
{
|
||||||
$text = $tp->toHTML($CONTACT_INFO,"","parse_sc");
|
$text = $tp->parseTemplate($CONTACT_INFO, TRUE, $contact_shortcodes);
|
||||||
$ns -> tablerender(LANCONTACT_01, $text,"contact");
|
$ns -> tablerender(LANCONTACT_01, $text,"contact");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user