-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_body_footer.inc.php
More file actions
134 lines (125 loc) · 5.46 KB
/
_body_footer.inc.php
File metadata and controls
134 lines (125 loc) · 5.46 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php
/**
* This is the BODY footer include template.
*
* For a quick explanation of b2evo 2.0 skins, please start here:
* {@link http://b2evolution.net/man/skin-development-primer}
*
* This is meant to be included in a page template.
*
* @package evoskins
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
$columns = $Skin->get_setting( 'footer_widgets_columns' );
$footer_mode = $Skin->change_class( 'footer_bottom_mode' );
?>
<footer id="footer">
<div class="container">
<!-- =================================== START OF FOOTER =================================== -->
<?php if( $Skin->get_setting( 'footer_widget' ) == 1 ) : ?>
<div class="footer_widgets row">
<?php
// Display container and contents:
skin_container( NT_("Footer"), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '<div class="evo_widget $wi_class$ col-xs-12 col-sm-6 '.$columns.'"">',
'block_end' => '</div>',
// This will enclose the title of each widget:
'block_title_start' => '<div class="evo_widget_heading"><h4 class="evo_widget_title">',
'block_title_end' => '</h4></div>',
// This will enclose the body of each widget:
'block_body_start' => '<div class="evo_widget_body">',
'block_body_end' => '</div>',
// If a widget displays a list, this will enclose that list:
'list_start' => '<ul>',
'list_end' => '</ul>',
// This will enclose each item in a list:
'item_start' => '<li class="evo_widget_list">',
'item_end' => '</li>',
// This will enclose sub-lists in a list:
'group_start' => '<ul>',
'group_end' => '</ul>',
// This will enclose (foot)notes:
'notes_start' => '<div class="notes">',
'notes_end' => '</div>',
// Widget 'Search form':
'search_class' => 'compact_search_form',
'search_input_before' => '<div class="input-group">',
'search_input_after' => '',
'search_submit_before' => '<span class="input-group-btn">',
'search_submit_after' => '</span></div>',
// 'author_link_text' => $params['author_link_text']
) );
// Note: Double quotes have been used around "Footer" only for test purposes.
?>
<div class="clearfix"></div>
</div>
<!-- .footer_widgets -->
<?php endif; ?>
<?php if( $Skin->get_setting( 'footer_copyright' ) == 1 || $Skin->get_setting( 'footer_social_icon' ) == 1 ) : ?>
<div class="footer_bottom clearfix <?php echo $footer_mode; ?> row">
<?php
/* SOCIAL ICON
* ========================================================================== */
if( $Skin->get_setting( 'footer_social_icon' ) == 1 ) :
skin_widget( array(
// CODE for the widget:
'widget' => 'user_links',
// Options display params
'block_start' => '<div class="social_icon">',
'block_end' => '</div>',
'block_display_title' => false,
));
endif;
?>
<?php if( $Skin->get_setting( 'footer_copyright' ) == 1 ) : ?>
<p class="copyright">
<?php
// Display footer text (text can be edited in Blog Settings):
$Blog->footer_text( array(
'before' => '',
'after' => ' • ',
) );
?>
<?php
// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link( array(
'before' => '',
'after' => ' • ',
'text' => T_('Contact'),
'title' => T_('Send a message to the owner of this blog...'),
) );
// Display a link to help page:
$Blog->help_link( array(
'before' => ' ',
'after' => ' ',
'text' => T_('Help'),
) );
?>
<?php
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits( array(
'list_start' => '•',
'list_end' => ' ',
'separator' => '•',
'item_start' => ' ',
'item_end' => ' ',
) );
?>
</p>
<?php endif; ?>
</div><!-- .footer_bottom -->
<?php endif; ?>
</div><!-- .container -->
</footer><!-- #footer -->
<?php if ( $Skin->get_setting( 'back_to_top' ) == 1 ) { ?>
<a href="#0" class="cd_top"><i class="ei ei-arrow_up"></i></a>
<?php } ?>
<?php
// ---------------------------- SITE FOOTER INCLUDED HERE ----------------------------
// If site footers are enabled, they will be included here:
siteskin_include( '_site_body_footer.inc.php' );
// ------------------------------- END OF SITE FOOTER --------------------------------
?>