mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
BC Fix for contact LANs.
This commit is contained in:
@@ -25,8 +25,8 @@ class contact_front
|
||||
{
|
||||
$inc = $tp->leadingZeros($val,2);
|
||||
$legacy = 'LAN_CONTACT_'.$inc;
|
||||
$defs[$legacy] = 'LANCONTACT_'.$inc;
|
||||
|
||||
// $defs[$legacy] = 'LANCONTACT_'.$inc;
|
||||
$defs['LANCONTACT_'.$inc] = 'LAN_CONTACT_'.$inc;
|
||||
}
|
||||
|
||||
e107::getLanguage()->bcDefs($defs);
|
||||
|
@@ -11,7 +11,22 @@ $head = '<form id="contact-menu" action="'.e_HTTP.'contact.php" method="post" >'
|
||||
//TODO Security Image.
|
||||
|
||||
|
||||
$foot = '</form>';
|
||||
$foot = '</form>';
|
||||
|
||||
$range = range(00,24);
|
||||
$tp = e107::getParser();
|
||||
$defs = array();
|
||||
|
||||
foreach($range as $val)
|
||||
{
|
||||
$inc = $tp->leadingZeros($val,2);
|
||||
$legacy = 'LAN_CONTACT_'.$inc;
|
||||
// $defs[$legacy] = 'LANCONTACT_'.$inc;
|
||||
$defs['LANCONTACT_'.$inc] = 'LAN_CONTACT_'.$inc;
|
||||
}
|
||||
|
||||
e107::getLanguage()->bcDefs($defs);
|
||||
|
||||
|
||||
$template = e107::getCoreTemplate('contact','menu');
|
||||
$contact_shortcodes = e107::getScBatch('contact');
|
||||
|
Reference in New Issue
Block a user