HomeHelpTrac

Changeset 15201 for trunk/about_us.php


Ignore:
Timestamp:
06/06/11 02:27:38 (12 months ago)
Author:
Alexander Trofimov
Message:

Dolphin 8 initial commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/about_us.php

    r9992 r15201  
    11<?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 */ 
    27 
    3 /*************************************************************************** 
    4 *                            Dolphin Smart Community Builder 
    5 *                              ----------------- 
    6 *     begin                : Mon Mar 23 2006 
    7 *     copyright            : (C) 2006 BoonEx Group 
    8 *     website              : http://www.boonex.com/ 
    9 * This file is part of Dolphin - Smart Community Builder 
    10 * 
    11 * Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.  
    12 * http://creativecommons.org/licenses/by/3.0/ 
    13 * 
    14 * Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
    15 * without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
    16 * See the Creative Commons Attribution 3.0 License for more details.  
    17 * You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,  
    18 * see license.txt file; if not, write to marketing@boonex.com 
    19 ***************************************************************************/ 
     8require_once('./inc/header.inc.php'); 
     9require_once(BX_DIRECTORY_PATH_INC . "languages.inc.php"); 
     10require_once(BX_DIRECTORY_PATH_INC . "params.inc.php"); 
     11require_once(BX_DIRECTORY_PATH_INC . "design.inc.php"); 
    2012 
    21 require_once( 'inc/header.inc.php' ); 
    22 require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' ); 
    23  
    24 // --------------- page variables and login 
    25  
    26 $_page['name_index']    = 11; 
    27 $_page['css_name']      = 'about_us.css'; 
    28  
    29 check_logged(); 
    30  
    31 $_page['header'] = _t( "_ABOUT_US_H" ); 
    32 $_page['header_text'] = _t('_About Us'); 
    33  
    34 // --------------- page components 
    35  
    36 $_ni = $_page['name_index']; 
    37 $_page_cont[$_ni]['page_main_code'] = PageCompMainCode(); 
    38  
    39 // --------------- [END] page components 
     13$oTemplate = BxDolTemplate::getInstance(); 
     14$oTemplate->setPageNameIndex (BX_PAGE_DEFAULT); 
     15$oTemplate->setPageHeader (_t("_ABOUT_US_H")); 
     16$oTemplate->setPageContent ('page_main_code', DesignBoxContent(_t("_About Us"), _t("_ABOUT_US"), BX_DB_PADDING_DEF)); 
    4017 
    4118PageCode(); 
    4219 
    43 // --------------- page components functions 
    44  
    45 /** 
    46  * page code function 
    47  */ 
    48 function PageCompMainCode() { 
    49     global $oTemplConfig; 
    50     $ret = _t( "_ABOUT_US" ); 
    51     return DesignBoxContent( _t("_About Us"), $ret, $oTemplConfig -> PageCompThird_db_num ); 
    52 } 
    53  
    54 ?> 
Note: See TracChangeset for help on using the changeset viewer.