| Revision 15934,
835 bytes
checked in by Alexander Trofimov, 2 weeks ago
(diff) |
|
Code cleaning
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /** |
|---|
| 3 | * @package Dolphin Core |
|---|
| 4 | * @copyright Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ |
|---|
| 5 | * @license CC-BY - http://creativecommons.org/licenses/by/3.0/ |
|---|
| 6 | */ |
|---|
| 7 | |
|---|
| 8 | require_once('./inc/header.inc.php'); |
|---|
| 9 | require_once(BX_DIRECTORY_PATH_INC . "params.inc.php"); |
|---|
| 10 | require_once(BX_DIRECTORY_PATH_INC . "design.inc.php"); |
|---|
| 11 | |
|---|
| 12 | bx_import('BxDolLanguages'); |
|---|
| 13 | bx_import('BxDolTemplate'); |
|---|
| 14 | |
|---|
| 15 | $oTemplate = BxDolTemplate::getInstance(); |
|---|
| 16 | $oTemplate->setPageNameIndex (BX_PAGE_DEFAULT); |
|---|
| 17 | $oTemplate->setPageHeader (_t("_ADVICE_H")); |
|---|
| 18 | $oTemplate->setPageContent ('page_main_code', PageCompMainCode()); |
|---|
| 19 | $oTemplate->getPageCode(); |
|---|
| 20 | |
|---|
| 21 | /** |
|---|
| 22 | * page code function |
|---|
| 23 | */ |
|---|
| 24 | function PageCompMainCode() { |
|---|
| 25 | $sRet = str_replace('<site_url>', BX_DOL_URL_ROOT, _t("_ADVICE")); |
|---|
| 26 | return DesignBoxContent(_t( "_ADVICE_H1" ), $sRet, BX_DB_PADDING_DEF); |
|---|
| 27 | } |
|---|
| 28 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.