source: trunk/help.php

Last change on this file was 2, checked in by george, 14 years ago
  • Přidáno: Trunk revize 13719.
File size: 1.9 KB
Line 
1<?php
2/***************************************************************************
3* Dolphin Smart Community Builder
4* -----------------
5* begin : Mon Mar 23 2006
6* copyright : (C) 2006 BoonEx Group
7* website : http://www.boonex.com/
8* This file is part of Dolphin - Smart Community Builder
9*
10* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
11* http://creativecommons.org/licenses/by/3.0/
12*
13* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
14* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15* See the Creative Commons Attribution 3.0 License for more details.
16* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
17* see license.txt file; if not, write to marketing@boonex.com
18***************************************************************************/
19
20require_once( 'inc/header.inc.php' );
21require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
22require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
23
24// --------------- page variables and login
25
26$_page['name_index'] = 17;
27
28check_logged();
29
30$_page['header'] = _t( "_HELP_H" );
31$_page['header_text'] = _t( "_HELP_H1" );
32
33// --------------- page components
34
35$_ni = $_page['name_index'];
36$_page_cont[$_ni]['page_main_code'] = PageCompMainCode();
37
38// --------------- [END] page components
39
40PageCode();
41
42// --------------- page components functions
43
44
45/**
46 * page code function
47 */
48function PageCompMainCode()
49{
50 $sRet = '<div class="dbContent">' . str_replace( '<site_url>', $GLOBALS['site']['url'], _t( "_HELP" )) . '</div>';
51 return DesignBoxContent( _t( "_HELP_H1" ), $sRet, $GLOBALS['oTemplConfig'] -> PageCompThird_db_num);
52}
53
54?>
Note: See TracBrowser for help on using the repository browser.