echo '<ul>'; echo '<li><input type="radio" name="' . $pp . 'status" value="-" class="radio"'; if ('-' == $status) { echo ' checked="checked"'; } echo ' /> <a href="' . regenerate_url('status', 'status=-') . '">' . T_('Without status') . '</a></li>'; foreach ($ItemStatusCache->cache as $loop_Obj) { echo '<li><input type="radio" name="' . $pp . 'status" value="' . $loop_Obj->ID . '" class="radio"'; if ($loop_Obj->ID == $status) { echo ' checked="checked"'; } echo ' /> <a href="' . regenerate_url('status', 'status=' . $loop_Obj->ID) . '">'; $loop_Obj->disp('name'); echo '</a></li>'; } echo '</ul>'; echo '</fieldset>'; } // --------------------------------- START OF CATEGORY LIST -------------------------------- skin_widget(array('widget' => 'coll_category_list', 'block_start' => '<fieldset>', 'block_end' => '</fieldset>', 'block_title_start' => '<legend>', 'block_title_end' => '</legend>', 'link_type' => 'context', 'display_checkboxes' => 1, 'show_locked' => true)); // ---------------------------------- END OF CATEGORY LIST --------------------------------- // ARCHIVES: // Call the Archives plugin: $Plugins->call_by_code('evo_Arch', array('block_start' => '<fieldset>', 'block_end' => "</fieldset>\n", 'title' => '<legend>' . T_('Archives') . "</legend>\n", 'link_type' => 'context', 'form' => true, 'limit' => '', 'more_link' => '', 'itemlist_prefix' => $pp)); $Form->submit(array('submit', T_('Search'), 'search')); if ($ItemList->is_filtered()) { // TODO: style this better: echo ' <a href="?ctrl=items&blog=' . $Blog->ID . '&filter=reset">' . T_('Reset all filters!') . '</a>'; } $Form->end_form(); echo $template['block_end'];
die('Please, do not access this page directly.'); } ?> <div id="container"> <div id="header"> <div id="pagetopt"> <div class="bloglist"> <?php if (true) { ?> <div class="blog_list"> <?php // START OF BLOG LIST skin_widget(array('widget' => 'colls_list_public', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '', 'item_end' => '', 'item_selected_start' => '<span class="selected">', 'item_selected_end' => '</span>')); ?> </div> <?php } ?> <?php // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); ?> </div> <div class="headerwidgets"> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>'));
require $skins_path . '_toolbar.inc.php'; // ------------------------------- END OF TOOLBAR -------------------------------- echo "\n"; if (show_toolbar()) { echo '<div id="skin_wrapper" class="skin_wrapper_loggedin">'; } else { echo '<div id="skin_wrapper" class="skin_wrapper_anonymous">'; } echo "\n"; ?> <!-- InstanceEndEditable --> <div class="pageHeader"> <!-- InstanceBeginEditable name="NavBar2" --> <?php // --------------------------------- START OF BLOG LIST -------------------------------- skin_widget(array('widget' => 'colls_list_public', 'block_start' => '<div class="NavBar">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '', 'item_end' => '', 'item_selected_start' => '', 'item_selected_end' => '', 'link_selected_class' => 'NavButton2', 'link_default_class' => 'NavButton2')); // ---------------------------------- END OF BLOG LIST --------------------------------- ?> <!-- InstanceEndEditable --> <div class="pageTitle"> <h1 id="pageTitle"><!-- InstanceBeginEditable name="PageTitle" --><?php echo T_('Multiblog demo'); ?> <!-- InstanceEndEditable --></h1> </div> </div> <div class="pageSubTitle"><!-- InstanceBeginEditable name="SubTitle" --><?php echo T_('This demo template displays 3 blogs at once (1 on the left, 2 on the right)'); ?>
<div class="container"> <header class="row"> <div class="coll-xs-12 coll-sm-12 col-md-4 col-md-push-8"> <div class="evo_container evo_container__page_top"> <?php // ------------------------- "Page Top" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Page Top" CONTAINER ----------------------------- ?> <?php skin_widget(array('widget' => 'member_count', 'before' => '(', 'after' => ')')); ?> </div> </div><!-- .col --> <div class="coll-xs-12 col-sm-12 col-md-8 col-md-pull-4"> <div class="evo_container evo_container__header"> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>')); // ----------------------------- END OF "Header" CONTAINER ----------------------------- ?> </div> </div><!-- .col -->
<?php /** * This is the template that displays the category directory for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=catdir * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } // --------------------------------- START OF CATEGORY LIST -------------------------------- skin_widget(array('widget' => 'coll_category_list', 'block_start' => '', 'block_end' => '', 'block_display_title' => false)); // ---------------------------------- END OF CATEGORY LIST ---------------------------------
<?php if ($disp == 'edit') { // Add or Edit a post // TODO: fp>yura : this MUST NOT be in the skin. It must be in the b2evolution core (somewhere where we determine $disp) $p = param('p', 'integer', 0); // Edit post from Front-office } // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2 class="page_title">', 'title_after' => '</h2>', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'display_edit_links' => false, 'edit_text_create' => T_('New topic'), 'edit_text_update' => T_('Edit topic'), 'edit_text_copy' => T_('Duplicate topic'), 'category_text' => '', 'categories_text' => '', 'catdir_text' => '', 'comments_text' => T_('Latest Replies'), 'front_text' => '', 'posts_text' => '', 'useritems_text' => T_('User\'s topics'), 'usercomments_text' => T_('User\'s replies'), 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php if (in_array($disp, array('front', 'single', 'page', 'posts'))) { // Widget 'Search form': skin_widget(array('widget' => 'coll_search_form', 'block_display_title' => false, '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>', 'button' => T_('Search'))); // Display a button to view the Recent/New Topics: $Skin->display_button_recent_topics(); } ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('author_link_text' => 'preferredname', 'profile_tabs' => array('block_start' => '<nav><ul class="nav nav-tabs profile_tabs">', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="active">', 'item_selected_end' => '</li>', 'block_end' => '</ul></nav>'), 'pagination' => array('block_start' => '<div class="center"><ul class="pagination">', 'block_end' => '</ul></div>', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => '<i class="fa fa-angle-double-left"></i>', 'next_text' => '<i class="fa fa-angle-double-right"></i>'), 'skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>', 'register_page_before' => '<div class="evo_panel__register">', 'register_page_after' => '</div>', 'register_form_title' => T_('Register'), 'register_links_attrs' => '', 'register_use_placeholders' => true, 'register_field_width' => 252, 'register_disabled_page_before' => '<div class="evo_panel__register register-disabled">', 'register_disabled_page_after' => '</div>', 'activate_form_title' => T_('Account activation'), 'activate_page_before' => '<div class="evo_panel__activation">', 'activate_page_after' => '</div>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>', 'featured_intro_before' => '<div class="jumbotron">', 'featured_intro_after' => '</div>', 'msgform_form_title' => T_('Sending a message'), 'edit_text_create' => T_('New topic'), 'edit_text_update' => T_('Edit topic'), 'edit_text_copy' => T_('Duplicate topic'))); // Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </main>
} global $number_of_posts_in_cat, $cat, $legend_icons; if (!is_array($legend_icons)) { // Init this array only first time $legend_icons = array(); } // Get ID of single selected category: $single_cat_ID = intval($cat); // Get IDs of several selected categories: $multi_cat_IDs = get_param('cat_array'); if ($single_cat_ID) { $ChapterCache =& get_ChapterCache(); $current_Chapter =& $ChapterCache->get_by_ID($single_cat_ID, false, false); } // Breadcrumbs skin_widget(array('widget' => 'breadcrumb_path', 'block_start' => '<ol class="breadcrumb">', 'block_end' => '</ol><div class="clear"></div>', 'separator' => '', 'item_mask' => '<li><a href="$url$">$title$</a></li>', 'item_active_mask' => '<li class="active">$title$</li>', 'suffix_text' => empty($single_cat_ID) ? T_('Latest topics') : '')); if ($single_cat_ID) { // Display sub-chapters: $ChapterCache =& get_ChapterCache(); $chapters = $ChapterCache->get_chapters($Blog->ID, $single_cat_ID, true); if (count($chapters) > 0) { ?> <div class="panel panel-default forums_list front_panel"> <?php $section_is_started = false; foreach ($chapters as $Chapter) { // Loop through categories: if ($Chapter->meta) { // Meta category $chapters_children = $Chapter->get_children(true); if ($section_is_started) {
<?php /** * This is the template that displays the category directory for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=catdir * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } // --------------------------------- START OF CATEGORY LIST -------------------------------- skin_widget(array('widget' => 'coll_category_list', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false)); // ---------------------------------- END OF CATEGORY LIST ---------------------------------
?> <div class="floatright"> <?php // Optional display params for widgets below $right_menu_params = array('block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '', 'item_end' => '', 'item_selected_start' => '', 'item_selected_end' => '', 'link_selected_class' => 'swhead_item swhead_item_selected', 'link_default_class' => 'swhead_item '); if (is_logged_in()) { // Display the following menus when current user is logged in // Profile link: // Call widget directly (without container): skin_widget(array_merge($right_menu_params, array('widget' => 'profile_menu_link', 'profile_picture_size' => 'crop-top-32x32'))); // Messaging link: // Call widget directly (without container): skin_widget(array_merge($right_menu_params, array('widget' => 'msg_menu_link', 'link_type' => 'messages'))); // Logout link: // Call widget directly (without container): skin_widget(array_merge($right_menu_params, array('widget' => 'menu_link', 'link_type' => 'logout'))); } else { // Display the following menus when current user is NOT logged in // Login link: // Call widget directly (without container): skin_widget(array_merge($right_menu_params, array('widget' => 'menu_link', 'link_type' => 'login'))); // Register link: // Call widget directly (without container): skin_widget(array_merge($right_menu_params, array('widget' => 'menu_link', 'link_type' => 'register', 'link_selected_class' => 'swhead_item_white ' . $right_menu_params['link_selected_class'], 'link_default_class' => 'swhead_item_white ' . $right_menu_params['link_default_class']))); } ?> </div> <div class="clear"></div> </nav>
* To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=postidx * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } // Note: this is a very imperfect sitemap, but it's a start :) echo '<div class="content_sitemap">'; echo '<h3 class="title_widgets">' . T_('Common links') . '</h3>'; // --------------------------------- START OF COMMON LINKS -------------------------------- skin_widget(array('widget' => 'coll_common_links', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'show_recently' => 1, 'show_postidx' => 0, 'show_archives' => 1, 'show_categories' => 0, 'show_mediaidx' => 1, 'show_latestcomments' => 1, 'show_owneruserinfo' => 1, 'show_ownercontact' => 1, 'show_sitemap' => 0)); // ---------------------------------- END OF COMMON LINKS --------------------------------- echo '<h3 class="title_widgets">' . T_('Pages') . '</h3>'; // --------------------------------- START OF PAGE LIST -------------------------------- skin_widget(array('widget' => 'coll_page_list', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'order_by' => 'title', 'order_dir' => 'ASC', 'limit' => NULL)); // ---------------------------------- END OF PAGE LIST --------------------------------- echo '<h3 class="title_widgets">' . T_('Categories') . '</h3>'; // --------------------------------- START OF CATEGORY LIST -------------------------------- skin_widget(array('widget' => 'coll_category_list', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false)); // ---------------------------------- END OF CATEGORY LIST --------------------------------- echo '<h3 class="title_widgets">' . T_('Posts') . '</h3>'; // --------------------------------- START OF POST LIST -------------------------------- skin_widget(array('widget' => 'coll_post_list', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'order_by' => 'title', 'order_dir' => 'ASC', 'limit' => NULL)); // ---------------------------------- END OF POST LIST --------------------------------- echo '</div>';
* @subpackage manual */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $Item, $cat; global $posttypes_specialtypes; // Default params: $params = array_merge(array('feature_block' => false, 'content_mode' => 'auto', 'item_class' => 'bPost', 'image_size' => 'fit-640x480', 'disp_comment_form' => true, 'item_link_type' => 'permalink'), $params); if ($disp == 'single') { // Display the breadcrumb path if (empty($cat)) { // Set a category as main of current Item $cat = $Item->main_cat_ID; } skin_widget(array('widget' => 'breadcrumb_path', 'block_start' => '<div class="breadcrumbs">', 'block_end' => '</div>')); } ?> <div id="<?php $Item->anchor_id(); ?> " class="<?php $Item->div_classes($params); ?> " lang="<?php $Item->lang(); ?> "> <?php
<?php /** * This is the template that displays the search form for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 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('pagination' => array(), 'search_class' => 'extended_search_form', 'search_input_before' => '', 'search_input_after' => '', 'search_submit_before' => '', 'search_submit_after' => '', 'search_use_editor' => false, 'search_author_format' => 'avatar_name', 'search_cell_author_start' => '<div class="search_info dimmed">', 'search_cell_author_end' => '</div>', 'search_date_format' => locale_datefmt()), $params); // ------------------------ START OF SEARCH FORM WIDGET ------------------------ skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => $params['search_class'], 'search_input_before' => $params['search_input_before'], 'search_input_after' => $params['search_input_after'], 'search_submit_before' => $params['search_submit_before'], 'search_submit_after' => $params['search_submit_after'], 'use_search_disp' => 1)); // ------------------------- END OF SEARCH FORM WIDGET ------------------------- // Perform search (after having displayed the first part of the page) & display results: search_result_block(array('pagination' => $params['pagination'], 'use_editor' => $params['search_use_editor'], 'author_format' => $params['search_author_format'], 'cell_author_start' => $params['search_cell_author_start'], 'cell_author_end' => $params['search_cell_author_end'], 'date_format' => $params['search_date_format']));
/** * Get related items (Posts/Pages) * * @param array of params * * @param string Output format, see {@link format_to_output()} * * return: display * * $achillis 2013-11-11 * **/ function get_related_posts($limit = 10) { global $disp; if ($disp == 'page') { ob_start(); skin_widget(array('widget' => 'coll_item_list', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul id="relatedPosts" class="relatedPosts">', 'list_end' => '</ul>', 'item_start' => '<li><h3 class="title">', 'item_end' => '</h3></li>', 'order_dir' => 'DESC', 'order_by' => 'datestart', 'disp_excerpt' => false, 'limit' => $limit, 'item_type' => '1000', 'follow_mainlist' => 'tags', 'block_display_title' => false, 'disp_excerpt' => false)); $rel_posts = ob_get_clean(); } else { ob_start(); skin_widget(array('widget' => 'coll_related_post_list', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul id="relatedPosts" class="relatedPosts">', 'list_end' => '</ul>', 'item_start' => '<li><h3 class="title">', 'item_end' => '</h3></li>', 'order_dir' => 'DESC', 'order_by' => 'datestart', 'disp_excerpt' => false, 'limit' => $limit)); $rel_posts = ob_get_clean(); } $r = '<div class="section clearfix" id="section-relatedPosts">'; if (!empty($rel_posts)) { $r .= '<div id="relatedPosts-wrap"><div class="clearfix">'; $r .= $rel_posts; $r .= '</div></div>'; } else { if ($disp == 'page') { $r .= '<span class="comment_section_title">' . $this->T_('No related Links yet') . '</span>'; } else { $r .= '<span class="comment_section_title">' . $this->T_('No related posts yet') . '</span>'; } } $r .= '</div>'; return $r; }
<?php /** * This is the template that displays the 403 disp content * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $disp_detail, $baseurl, $app_name; echo '<div class="error_403">'; echo '<h2>403 Forbidden</h2>'; echo '<p><a href="' . $baseurl . '">' . $app_name . '</a> cannot resolve the requested URL.</p>'; // You may use this to further customize this page: // echo $disp_detail; echo '</div>'; echo '<div class="error_additional_content">'; // --------------------------------- START OF CLOUD TAG -------------------------------- // Call the coll_search_form widget: skin_widget(array('widget' => 'coll_tag_cloud', 'block_start' => '<div class="tag_cloud">', 'block_end' => '</div>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>')); // ---------------------------------- END OF CLOUD TAG --------------------------------- echo '</div>';
// ---------------------- END OF "Menu" SOCIAL LINKS ---------------------- ?> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: // 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 class="evo_widget $wi_class$">', 'item_end' => '</li>', 'item_selected_start' => '<li class="active evo_widget $wi_class$">', 'item_selected_end' => '</li>', 'item_title_before' => '', 'item_title_after' => '')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> </ul> </div><!-- .collapse --> </nav><!-- .row --> <?php skin_widget(array('widget' => 'coll_search_form', 'block_start' => '<div class="evo_widget $wi_class$ header-main-search-field">', 'block_end' => '</div>', 'block_display_title' => false, 'search_submit_before' => '<span class="hidden">', 'search_submit_after' => '</span>')); ?> <?php // Go Grab the featured post if Special Intro Post is enabled if ($Skin->get_setting('spec_cover_image') == true) { // We have a featured/intro post to display: // Special Cover image placement $cover_image_url = $Item->get_cover_image_url(); if (!empty($cover_image_url)) { ?> <div class="evo_post evo_cover_image" style="background-image: url(<?php echo $cover_image_url; ?> );" class="img-responsive"> <header class="spec_cover_image__header">
<?php // Home page, display full categories list // Go Grab the featured post: $intro_Item =& get_featured_Item('front'); // $intro_Item is used below for comments form $Item = $intro_Item; if (!empty($Item)) { // We have a featured/intro post to display: // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'auto', 'intro_mode' => 'normal', 'item_class' => 'featured_post', 'image_size' => 'fit-640x480', 'disp_comment_form' => false, 'item_link_type' => 'none')); // ----------------------------END ITEM BLOCK ---------------------------- } // --------------------------------- START OF CONTENT HIERARCHY -------------------------------- echo '<h2 class="table_contents">' . T_('Table of contents') . '</h2>'; skin_widget(array('widget' => 'content_hierarchy', 'display_blog_title' => false, 'open_children_levels' => 20, 'class_selected' => '')); // ---------------------------------- END OF CONTENT HIERARCHY --------------------------------- if (!empty($intro_Item)) { global $c, $ReqURI; $c = 1; // Display comments // ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------ skin_include('_item_feedback.inc.php', array('before_section_title' => '<h2 class="comments_list_title">', 'after_section_title' => '</h2>', 'form_title_start' => '<h3 class="comments_form_title">', 'form_title_end' => '</h3>', 'Item' => $intro_Item, 'form_title_text' => T_('Comment form'), 'comments_title_text' => T_('Comments on this chapter'), 'form_comment_redirect_to' => $ReqURI)); // Note: You can customize the default item feedback by copying the generic // /skins/_item_feedback.inc.php file into the current skin folder. // ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) --------------------- } ?> </div> <?php // -------------------------- BODY FOOTER INCLUDED HERE --------------------------
* To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=arcdir * * 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.'); } global $Skins; if (empty($params)) { // Initialize array with params $params = array(); } // Merge the params from current skin $params = array_merge(array('mediaidx_thumb_size' => 'crop-480x320'), $params); $thumb_size_mediaidx = $Skin->get_setting('mediaidx_thumb_size'); $column = ''; if ($Skin->get_setting('mediaidx_grid') == 'one_column') { $column = 'one_column'; } else { if ($Skin->get_setting('mediaidx_grid') == 'two_column') { $column = 'two_column'; } } // --------------------------------- START OF MEDIA INDEX -------------------------------- skin_widget(array('widget' => 'coll_media_index', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'thumb_size' => $thumb_size_mediaidx, 'thumb_layout' => 'list', 'list_start' => '<ul class="evo_image_index clearfix row-height">', 'list_end' => '</ul>', 'item_start' => '<li class="grid-item ' . $column . '"><div class="item">', 'item_end' => '</div></li>', 'disp_image_title' => true, 'order_by' => $Blog->get_setting('orderby'), 'order_dir' => $Blog->get_setting('orderdir'), 'limit' => 1000)); // ---------------------------------- END OF MEDIA INDEX ---------------------------------
</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('widget' => 'colls_list_public', '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>'));
* To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=postidx * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html} * @copyright (c)2003-2013 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins * @subpackage manual */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $MainList; // --------------------------------- START OF COMMON LINKS -------------------------------- skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 1, 'use_search_disp' => 1)); // ---------------------------------- END OF COMMON LINKS --------------------------------- // Display message if no post: display_if_empty(array('before' => '<p class="msg_nothing" style="margin: 2em 0">', 'after' => '</p>', 'msg_empty' => T_('Sorry, we could not find anything matching your request, please try to broaden your search.'))); // --------------------------------- START OF POSTS ------------------------------------- if (isset($MainList) && $MainList->result_num_rows > 0) { // -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) -------------------- mainlist_page_links(array('block_start' => '<p class="center"><strong>', 'block_end' => '</strong></p>', 'prev_text' => '<<', 'next_text' => '>>')); // ------------------------- END OF PREV/NEXT PAGE LINKS ------------------------- echo '<ul class="posts_list" style="margin-top:1em">'; while (mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_list.inc.php', array()); // ----------------------------END ITEM BLOCK ---------------------------- }
</div> <div id="content" class="narrowcolumn"> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?> <?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => '<h2>', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => true, 'format' => 'htmlbody')); // ------------------------------ END OF REQUEST TITLE ----------------------------- // --------------------------------- START OF COMMON LINKS -------------------------------- skin_widget(array('widget' => 'coll_search_form', 'block_start' => '<div style="margin: 1em 0">', 'block_end' => '</div>', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 1)); // ---------------------------------- END OF COMMON LINKS --------------------------------- // Display the search result search_result_block(); ?> </div> <?php // ------------------------- SIDEBAR INCLUDED HERE -------------------------- skin_include('_sidebar.inc.php'); // Note: You can customize the sidebar by copying the // _sidebar.inc.php file into the current skin folder. // ----------------------------- END OF SIDEBAR ----------------------------- ?>
<!-- HEADER --> <!-- Header banner background --> <div id="header-banner"> <!-- This is where css puts the background --> </div> <!-- Header bottom navigation --> <div class="PageTop"> <?php if (true) { ?> <?php // START OF BLOG LIST skin_widget(array('widget' => 'colls_list_public', 'block_start' => '<div class="header-low">', 'block_end' => '</div>', 'block_display_title' => true, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="selected">', 'item_selected_end' => '</li>')); ?> <?php } ?> <?php // ------------------------- "Page Top" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="header-low">', 'block_end' => '</div>', 'block_display_title' => true, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Page Top" CONTAINER ----------------------------- ?> </div> <!-- end header-low/PageTop --> <!-- Buffer to content area --> <div id="buffer"></div>
</div><!-- .main_widger --> <?php } ?> <!-- Social Media --> <?php if ($Skin->get_setting('footer_user_link') == 1) { ?> <div class="footer_social_media"> <div class="container"> <div class="row"> <?php // ------------------------- "Page Top" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_widget(array('widget' => 'user_links', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Page Top" CONTAINER ----------------------------- ?> </div> </div> </div><!-- .col --> <?php } ?> <!-- End Social Media --> <?php } ?> <!-- End Required Access Login --> <?php
<?php /** * This is the template that displays the site map (the real one, not the XML thing) for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=postidx * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins * @subpackage pureforums */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } echo '<table class="forums_table topics_table" cellspacing="0" cellpadding="0">'; // --------------------------------- START OF COMMON LINKS -------------------------------- skin_widget(array('widget' => 'coll_search_form', 'block_start' => '<tr class="ft_search"><td>', 'block_end' => '</td></tr>', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 1, 'button' => T_('Search'))); // ---------------------------------- END OF COMMON LINKS --------------------------------- // Display the search result search_result_block(array('title_prefix_post' => T_('Topic: '), 'title_prefix_comment' => T_('Reply: '), 'title_prefix_category' => T_('Forum: '), 'title_prefix_tag' => T_('Tag: '), 'block_start' => '', 'block_end' => '', 'row_start' => '<tr><td>', 'row_end' => '</td></tr>', 'pagination' => array('block_start' => '<tr class="panel white"><td><div class="navigation">', 'block_end' => '</div></td></tr>', 'page_current_template' => '<strong class="current_page">$page_num$</strong>', 'page_item_before' => '', 'page_item_after' => '', 'prev_text' => T_('Previous'), 'next_text' => T_('Next'), 'prev_class' => 'prev', 'next_class' => 'next'))); echo '</table>';
// Variable Option Disp Mediaidx // ======================================================================== / if ($Skin->get_setting('mediaidx_title') == 1) { $title_image = true; } else { $title_image = false; } $mediaidx_grid = $Skin->get_setting('mediaidx_grid'); $grid = ""; if ($mediaidx_grid == 'one_column') { $grid = "one"; } else { if ($mediaidx_grid == 'three_column') { $grid = 'three'; } } $style = ''; if ($Skin->get_setting('mediaidx_style') == 'box') { $style = 'box '; } $show_title = ''; if ($Skin->get_setting('mediaidx_title') == 1) { $show_title = "title "; } $title_overlay = ''; if ($Skin->get_setting('mediaidx_title_style') == 'hover' && $Skin->get_setting('mediaidx_title') == 1) { $title_overlay = 'title_overlay'; } // --------------------------------- START OF MEDIA INDEX -------------------------------- skin_widget(array('widget' => 'coll_media_index', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'thumb_size' => $params['mediaidx_thumb_size'], 'thumb_layout' => 'list', 'disp_image_title' => $title_image, 'list_start' => '<ul class="evo_image_index">', 'list_end' => '</ul>', 'item_start' => '<li class="grid-item ' . $grid . '"><figure class="' . $style . $show_title . $title_overlay . '">', 'item_end' => '</figure></li>', 'order_by' => $Blog->get_setting('orderby'), 'order_dir' => $Blog->get_setting('orderdir'), 'limit' => 100)); // ---------------------------------- END OF MEDIA INDEX ---------------------------------
$intro_Item =& get_featured_Item('front'); // $intro_Item is used below for comments form $Item = $intro_Item; if (!empty($Item)) { // We have a featured/intro post to display: echo '<div class="evo_content_block">'; // Beginning of posts display // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'auto', 'intro_mode' => 'normal', 'item_class' => 'jumbotron evo_content_block evo_post', 'disp_comment_form' => false, 'item_link_type' => 'none')); // ----------------------------END ITEM BLOCK ---------------------------- echo '</div>'; // End of posts display } // --------------------------------- START OF CONTENT HIERARCHY -------------------------------- echo '<h2 class="table_contents">' . T_('Table of contents') . '</h2>'; skin_widget(array('widget' => 'content_hierarchy', 'display_blog_title' => false, 'open_children_levels' => 20, 'class_selected' => '', 'item_before_opened' => get_icon('collapse'), 'item_before_closed' => get_icon('expand'), 'item_before_post' => get_icon('file_message'))); // ---------------------------------- END OF CONTENT HIERARCHY --------------------------------- if (!empty($intro_Item)) { global $c, $ReqURI; $c = 1; // Display comments echo '<div class="evo_content_block">'; // Beginning of posts display // ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------ skin_include('_item_feedback.inc.php', array_merge(array('before_section_title' => '<h3 class="evo_comment__list_title">', 'after_section_title' => '</h3>', 'Item' => $intro_Item, 'form_title_text' => T_('Comment form'), 'comments_title_text' => T_('Comments on this chapter'), 'form_comment_redirect_to' => $ReqURI), $Skin->get_template('disp_params'))); // Note: You can customize the default item feedback by copying the generic // /skins/_item_feedback.inc.php file into the current skin folder. // ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) --------------------- echo '</div>'; // End of posts display }
* @subpackage bootstrap_manual */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $cat; // Display message if no post: display_if_empty(); if ($Item =& mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" echo '<div class="evo_content_block">'; // Beginning of posts display if (empty($cat)) { // Set a category as main of current Item $cat = $Item->main_cat_ID; // Display the breadcrumbs only when global $cat is empty before line above // Otherwise it is already displayed in header file skin_widget(array('widget' => 'breadcrumb_path', 'block_start' => '<ol class="breadcrumb">', 'block_end' => '</ol>', 'separator' => '', 'item_mask' => '<li><a href="$url$">$title$</a></li>', 'item_active_mask' => '<li class="active">$title$</li>')); } if ($Skin->get_setting('page_navigation')) { // Display navigation between posts in the same category: // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_text' => '<span aria-hidden="true">←</span> $title$', 'prev_end' => '</li>', 'separator' => ' ', 'next_start' => '<li class="next">', 'next_text' => '$title$ <span aria-hidden="true">→</span>', 'next_end' => '</li>', 'block_end' => '</ul>', 'target_blog' => $Blog->ID, 'post_navigation' => 'same_category', 'featured' => false)); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- } // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_block.inc.php', array_merge(array('content_mode' => 'auto', 'item_class' => 'evo_post evo_content_block'), $Skin->get_template('disp_params'))); // ----------------------------END ITEM BLOCK ---------------------------- echo '</div>'; // End of posts display }
// Display container and contents: skin_container(NT_('Mobile: Navigation Menu'), array('block_start' => '<ul id="head-nav">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Navigation Menu" CONTAINER ----------------------------- ?> <?php // ------------------------- "Tools Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Mobile: Tools Menu'), array('block_start' => '<ul id="head-tools">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Tools Menu" CONTAINER ----------------------------- ?> <?php // --------------------------------- START OF BLOG LIST -------------------------------- // Call widget directly (without container): skin_widget(array('widget' => 'colls_list_public', 'block_start' => '<ul id="head-blogs">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ---------------------------------- END OF BLOG LIST --------------------------------- ?> </div> </div> <?php } ?> <?php if (is_logged_in()) { // Display user menu ?> <div class="wptouch-menu-inner" rel="profile"> <ul id="head-account"> <li><a href="<?php
// This is the main template; it may be used to display very different things. // Do inits depending on current $disp: skin_init($disp); // -------------------------- HTML HEADER INCLUDED HERE -------------------------- skin_include('_html_header.inc.php'); // Note: You can customize the default HTML header by copying the generic // /skins/_html_header.inc.php file into the current skin folder. // -------------------------------- END OF HEADER -------------------------------- ?> <div id="prewrap"> <div id="prewrap"> <?php // START OF BLOG LIST skin_widget(array('widget' => 'colls_list_public', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => ' / </li>', 'item_selected_start' => '<li class="selected">', 'item_selected_end' => ' / </li>', 'link_selected_class' => 'selected')); ?> </div> <div id="wrap"> <div id="bannertop"> <div class="topicons"></div> </div> <!-- END BANNERTOP DIV --> <div id="bannermid"> <div class="subtitle"> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>')); // ----------------------------- END OF "Header" CONTAINER ----------------------------- ?> </div> <!-- END SUBTITLE DIV -->
?> <div class="blog_list"> <?php // START OF BLOG LIST skin_widget(array('widget' => 'colls_list_public', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="selected">', 'item_selected_end' => '</li>')); ?> </div> <?php } ?> </div> <!-- end of id="pagetop" --> <div id="topsearch"> <?php skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 0)); ?> </div> <!-- end of id="topsearch" --> </div> <!-- end of class="floatright" --> <div class="clear"></div> </div> <!-- end of id="header" --> <div id="nav"> <ul> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: 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 ----------------------------- ?>
<?php /** * This is the template that displays the tags for a blog * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template. * To display the archive directory, you should call a stub AND pass the right parameters * For example: /blogs/index.php?disp=tags * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } // --------------------------------- START OF CATEGORY LIST -------------------------------- skin_widget(array('widget' => 'coll_tag_cloud', 'block_start' => '', 'block_end' => '', 'block_display_title' => false)); // ---------------------------------- END OF CATEGORY LIST ---------------------------------