1 | <?php
|
---|
2 |
|
---|
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 | ***************************************************************************/
|
---|
20 |
|
---|
21 | define ('BX_SECURITY_EXCEPTIONS', true);
|
---|
22 | $aBxSecurityExceptions = array ();
|
---|
23 | $aBxSecurityExceptions[] = 'POST.Check';
|
---|
24 | $aBxSecurityExceptions[] = 'REQUEST.Check';
|
---|
25 | $aBxSecurityExceptions[] = 'POST.Values';
|
---|
26 | $aBxSecurityExceptions[] = 'REQUEST.Values';
|
---|
27 | $aBxSecurityExceptions[] = 'POST.Desc';
|
---|
28 | $aBxSecurityExceptions[] = 'REQUEST.Desc';
|
---|
29 |
|
---|
30 | require_once( '../inc/header.inc.php' );
|
---|
31 | require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
|
---|
32 | require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
|
---|
33 | require_once( BX_DIRECTORY_PATH_INC . 'admin_design.inc.php' );
|
---|
34 |
|
---|
35 | $logged['admin'] = member_auth(1, true, true);
|
---|
36 |
|
---|
37 | $iNameIndex = 11;
|
---|
38 | $_page = array(
|
---|
39 | 'name_index' => $iNameIndex,
|
---|
40 | 'css_name' => array('fields.css'),
|
---|
41 | 'js_name' => array('ui.core.js', 'ui.tabs.js', 'ui.sortable.js', 'fields.js'),
|
---|
42 | 'header' => _t('_adm_fields_title')
|
---|
43 | );
|
---|
44 | $_page_cont[$iNameIndex]['page_main_code'] = DesignBoxAdmin(
|
---|
45 | _t('_adm_fields_box_title'),
|
---|
46 | $GLOBALS['oAdmTemplate']->parseHtmlByName('fields.html', array()),
|
---|
47 | array(
|
---|
48 | 'adm-fb-ctl-m1' => array(
|
---|
49 | 'title' => _t('_adm_fields_join_form'),
|
---|
50 | 'href' => 'javascript:void(0)',
|
---|
51 | 'onclick' => 'javascript:changeType(this)',
|
---|
52 | 'active' => 1
|
---|
53 | ),
|
---|
54 | 'adm-fb-ctl-edit-tab' => array(
|
---|
55 | 'title' => _t('_adm_fields_edit_profile'),
|
---|
56 | 'href' => 'javascript:void(0)',
|
---|
57 | 'onclick' => 'javascript:changeType(this)',
|
---|
58 | 'active' => 0
|
---|
59 | ),
|
---|
60 | 'adm-fb-ctl-view-tab' => array(
|
---|
61 | 'title' => _t('_adm_fields_view_profile'),
|
---|
62 | 'href' => 'javascript:void(0)',
|
---|
63 | 'onclick' => 'javascript:changeType(this)',
|
---|
64 | 'active' => 0
|
---|
65 | ),
|
---|
66 | 'adm-fb-ctl-search-tab' => array(
|
---|
67 | 'title' => _t('_adm_fields_search_profiles'),
|
---|
68 | 'href' => 'javascript:void(0)',
|
---|
69 | 'onclick' => 'javascript:changeType(this)',
|
---|
70 | 'active' => 0
|
---|
71 | )
|
---|
72 | )
|
---|
73 | );
|
---|
74 |
|
---|
75 | $GLOBALS['oAdmTemplate']->addJsTranslation(array(
|
---|
76 | '_adm_mbuilder_active_items',
|
---|
77 | '_adm_txt_pb_inactive_blocks',
|
---|
78 | '_adm_mbuilder_inactive_items'
|
---|
79 | ));
|
---|
80 |
|
---|
81 | PageCodeAdmin();
|
---|
82 | ?>
|
---|