1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

#3684 - contact style ID

Create consistency (template name and template key)

e.g.
$CONTACT_TEMPLATE['menu'] = contact-menu
$FORUM_VIEWTOPIC_TEMPLATE['replies']  = forum-viewtopic-replies
This commit is contained in:
Tijn Kuyper
2019-09-17 14:59:25 +02:00
parent b45b25bad1
commit 2db9df45b1

View File

@@ -263,7 +263,7 @@ if(SITECONTACTINFO)
}
$text = $tp->parseTemplate($CONTACT_INFO, true, vartrue($contact_shortcodes));
$ns -> tablerender(LANCONTACT_01, $text,"contact");
$ns->tablerender(LANCONTACT_01, $text,"contact-info");
}
@@ -277,7 +277,7 @@ if(check_class($active) && isset($pref['sitecontacts']) && $pref['sitecontacts']
if(trim($text) != "")
{
$ns -> tablerender(LANCONTACT_02, $text, "contact");
$ns->tablerender(LANCONTACT_02, $text, "contact-form");
}
}
elseif($active == e_UC_MEMBER && ($pref['sitecontacts'] != e_UC_NOBODY))