add('contact_us', $aLang['error_email_address']); $bError = TRUE; } } // links breadcrumb $oBreadcrumb->add($aLang['navbar_title'], oos_href_link($aContents['contact_us'])); $sCanonical = oos_href_link($aContents['contact_us'], '', FALSE, TRUE); $aTemplate['page'] = $sTheme . '/page/contact_us.html'; $nPageType = OOS_PAGE_TYPE_MAINPAGE; $sPagetitle = $aLang['heading_title'] . ' ' . OOS_META_TITLE; if ($oMessage->size('contact_us') > 0) { $aInfoMessage = array_merge ($aInfoMessage, $oMessage->output('contact_us') ); } require_once MYOOS_INCLUDE_PATH . '/includes/system.php'; if (!isset($option)) { require_once MYOOS_INCLUDE_PATH . '/includes/message.php'; require_once MYOOS_INCLUDE_PATH . '/includes/blocks.php'; } // assign Smarty variables; $smarty->assign( array( 'breadcrumb' => $oBreadcrumb->trail(), 'heading_title' => $aLang['heading_title'], 'canonical' => $sCanonical, 'error' => $bError ) ); // display the template $smarty->display($aTemplate['page']);