/
_body_header.inc.php
113 lines (103 loc) · 4.03 KB
/
_body_header.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
* This is the BODY header include template.
*
* For a quick explanation of b2evo 2.0 skins, please start here:
* {@link http://manual.b2evolution.net/Skins_2.0}
*
* This is meant to be included in a page template.
*
* Russian b2evolution skin ru.b2evo.net
*
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
?>
<div id="pageHeader">
<div class="header">
<div class="logo"><a href="http://www.b2evolution.net/"><img src="img/b2evo.gif" alt="b2evolution" width="211" height="64" /></a></div>
<div class="top_header">
<?php
// ---------------------------------- "Header" CONTAINER EMBEDDED HERE ------------------------------
// Display container and contents:
skin_container( NT_('Header'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '<div class="$wi_class$">',
'block_end' => '</div>',
'block_title_start' => '<h1>',
'block_title_end' => '</h1>',
) );
// -------------------------------------- END OF "Header" CONTAINER ---------------------------------
?>
</div>
</div>
<div class="PageTop">
<table class="tabs" cellspacing="0">
<tr>
<td class="first"></td>
<?php
// ------------------------------- CUSTOM TABS INCLUDED HERE -----------------------------
skin_include( '_custom_tabs.inc.php' );
// ----------------------------------- END OF CUSTOM TABS --------------------------------
// ----------------------------------- "Page Top" CONTAINER EMBEDDED HERE --------------------------
global $app_version;
if(round($app_version) < 5 || (substr($app_version, 0,3) == '5.0'))
{
skin_container( NT_('Page Top'), array(
'block_start' => '',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<td class="option">',
'item_end' => '</td>',
'item_selected_start' => '<td class="current">',
'item_selected_end' => '</td>',
) );
}
else
{
skin_widget( array(
// CODE for the widget:
'widget' => 'colls_list_public',
// Optional display params
'block_start' => ' ',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<td class="option">',
'item_end' => '</td>',
'item_selected_start' => '<td class="current">',
'item_selected_end' => '</td>',
'link_selected_class' => 'swhead_item swhead_item_selected',
'link_default_class' => 'swhead_item ',
) );
}
// --------------------------------------- END OF "Page Top" CONTAINER -----------------------------
?>
<td class="last"></td>
</tr>
</table>
</div>
<div class="top_menu">
<ul>
<?php
// -------------------------------------- "Menu" CONTAINER EMBEDDED HERE ---------------------------
// Note: this container is designed to be a single <ul> list
skin_container( NT_('Menu'), array(
'block_start' => '',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<li>',
'item_end' => '</li>',
) );
// ------------------------------------------ END OF "Menu" CONTAINER -----------------------------
// ----------------------------- CUSTOM MENU ITEMS INCLUDED HERE --------------------------
skin_include( '_custom_menu_items.inc.php' );
// --------------------------------- END OF CUSTOM MENU ITEMS -----------------------------
?>
</ul>
</div>
</div>