mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +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:
@@ -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