-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_front.disp.php
More file actions
55 lines (52 loc) · 2.35 KB
/
_front.disp.php
File metadata and controls
55 lines (52 loc) · 2.35 KB
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
<?php
/**
* This is the template that displays the front page of a collection (when front page enabled)
*
* This file is not meant to be called directly.
* It is meant to be called by an include in a *.main.php template.
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license}
* @copyright (c)2003-2016 by Francois Planque - {@link http://fplanque.com/}
*
* @package evoskins
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
$params = array_merge( array(
'author_link_text' => 'auto',
'featured_intro_before' => '',
'featured_intro_after' => '',
'front_block_start' => '<div class="evo_widget $wi_class$">',
'front_block_end' => '</div>',
'front_block_first_title_start' => '<h3 class="evo_widget_title">',
'front_block_first_title_end' => '</h3>',
'front_block_title_start' => '<h3 class="evo_widget_title">',
'front_block_title_end' => '</h3>',
), $params );
// ------------------ "Front Page Main Area" CONTAINER EMBEDDED HERE -------------------
// Display container and contents:
?>
<div class="evo_container evo_container__front_page_primary">
<?php
skin_container( NT_('Front Page Main Area'), array(
// The following params will be used as defaults for widgets included in this container:
'author_link_text' => $params['author_link_text'],
'featured_intro_before' => $params['featured_intro_before'],
'featured_intro_after' => $params['featured_intro_after'],
'block_start' => $params['front_block_start'],
'block_end' => $params['front_block_end'],
'block_body_start' => '<div class="evo_widget_body">',
'block_body_end' => '</div>',
'block_first_title_start' => $params['front_block_first_title_start'],
'block_first_title_end' => $params['front_block_first_title_end'],
'block_title_start' => $params['front_block_title_start'],
'block_title_end' => $params['front_block_title_end'],
// Search
'search_input_before' => '<div class="input-group">',
'search_input_after' => '',
'search_submit_before' => '<span class="input-group-btn">',
'search_submit_after' => '</span></div>',
) );
// --------------------- END OF "Front Page Main Area" CONTAINER -----------------------
?>
</div>