<div class="bPosts<?php echo in_array($disp, array('catdir', 'posts', 'single', 'page', 'mediaidx')) ? ' full_width' : ''; ?> "> <!-- =================================== START OF MAIN AREA =================================== --> <?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' => false, 'format' => 'htmlbody', 'arcdir_text' => T_('Index'), 'catdir_text' => '', 'category_text' => T_('Gallery') . ': ', 'categories_text' => T_('Galleries') . ': ', 'user_text' => '')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <?php // Go Grab the featured post: if ($Item =& get_featured_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' => 'full', 'intro_mode' => 'normal', 'item_class' => 'featured_post', 'Item' => $Item)); // ----------------------------END ITEM BLOCK ---------------------------- } ?> <?php if ($disp == 'single' || $disp == 'page') {
?> "> <main><!-- This is were a link like "Jump to main content" would land --> <!-- =================================== START OF MAIN AREA =================================== --> <?php if (!empty($cat)) { // Display breadcrumbs if some category is selected skin_widget(array('widget' => 'breadcrumb_path', 'block_start' => '<nav><ol class="breadcrumb">', 'block_end' => '</ol></nav>', 'separator' => '', 'item_mask' => '<li><a href="$url$">$title$</a></li>', 'item_active_mask' => '<li class="active">$title$</li>')); } ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h1 class="page_title">', 'title_after' => '</h1>', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'category_text' => '', 'categories_text' => '', 'catdir_text' => '', 'front_text' => '', 'posts_text' => '', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '', 'display_edit_links' => false)); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', $Skin->get_template('disp_params')); // 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>
skin_include('_left_navigation_bar.inc.php'); // -------------------------------- END OF LEFT NAVIGATION BAR ------------------- ?> <!-- =================================== START OF MAIN AREA =================================== --> <div class="bPosts"> <?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' => '<h1 class="page_title">', 'title_after' => '</h1>', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'edit_text_create' => T_('Post a new topic'), 'edit_text_update' => T_('Edit post'), 'category_text' => '', 'categories_text' => '', 'catdir_text' => '')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // Display message if no post: display_if_empty(); echo '<div id="styled_content_block">'; // Beginning of posts display if ($Item =& mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_block.inc.php', array('content_mode' => 'auto', 'image_size' => 'fit-640x480')); // ----------------------------END ITEM BLOCK ---------------------------- } echo '</div>';
// Don't display the messages here because they are displayed inside wrapper to have the same width as form // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- } ?> <?php // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<nav><ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_end' => '</li>', 'next_start' => '<li class="next">', 'next_end' => '</li>', 'block_end' => '</ul></nav>')); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2 class="title_main_content">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '', 'display_edit_links' => false)); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // Go Grab the featured post: if (!in_array($disp, array('single', 'page')) && ($Item =& get_featured_Item())) { // We have a featured/intro post to display: $masonry = ''; if ($Skin->get_setting('layout_posts') == 'masonry') { $masonry = 'masonry_intro'; } $intro_item_style = ''; $LinkOwner = new LinkItem($Item); $LinkList = $LinkOwner->get_attachment_LinkList(1, 'cover'); if (!empty($LinkList) && ($Link =& $LinkList->get_next()) && ($File =& $Link->get_File()) && $File->exists() && $File->is_image()) {
<div class="evo_main_area"> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?> <?php // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<table class="prevnext_post"><tr>', 'prev_start' => '<td>', 'prev_end' => '</td>', 'next_start' => '<td class="right">', 'next_end' => '</td>', 'block_end' => '</tr></table>')); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> <?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => '<h2 class="evo_req_title">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'format' => 'htmlbody')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <!-- =================================== START OF MAIN AREA =================================== --> <?php // ------------------------------------ START OF POSTS ---------------------------------------- // Go Grab the featured post: if ($Item =& get_featured_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-400x320')); // ----------------------------END ITEM BLOCK ---------------------------- } // Display message if no post:
// Note: You can customize the default BODY header by copying the generic // /skins/_body_header.inc.php file into the current skin folder. // -------------------------------- END OF BODY HEADER --------------------------- ?> <!-- =================================== START OF MAIN AREA =================================== --> <div class="bPosts full_width"> <?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' => '<h1 class="page_title">', 'title_after' => '</h1>', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('_access_denied.disp.php'); // 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 --------------------------- ?> </div> <?php // -------------------------- BODY FOOTER INCLUDED HERE -------------------------- skin_include('_body_footer.inc.php');
"> <head> <?php skin_content_meta(); /* Charset for static pages */ ?> <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?> <?php $Plugins->trigger_event('SkinBeginHtmlHead'); ?> <title><?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('auto_pilot' => 'seo_title', 'arcdir_text' => T_('Index'), 'catdir_text' => T_('Albums'), 'category_text' => T_('Album') . ': ', 'categories_text' => T_('Albums') . ': ')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> </title> <meta name="description" content="<?php $Blog->disp('shortdesc', 'htmlattr'); ?> " /> <meta name="keywords" content="<?php $Blog->disp('keywords', 'htmlattr'); ?> " /> <?php robots_tag(); ?> <meta name="generator" content="b2evolution <?php
</nav><!-- .row --> <main><!-- This is were a link like "Jump to main content" would land --> <!-- ================================= START OF MAIN AREA ================================== --> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="row"><div class="col-xs-12 action_messages">', 'block_end' => '</div></div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?> <?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => '<div class="row"><div class="col-xs-12><h2>', 'title_after' => '</h2></div></div>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'format' => 'htmlbody', 'arcdir_text' => T_('Index'), 'catdir_text' => '', 'category_text' => T_('Gallery') . ': ', 'categories_text' => T_('Galleries') . ': ', 'user_text' => '', 'display_edit_links' => false)); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <div class="row"> <div class="col-xs-12"> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('mediaidx_thumb_size' => $Skin->get_setting('mediaidx_thumb_size'), 'author_link_text' => 'preferredname', 'item_class' => 'evo_post evo_content_block', 'item_type_class' => 'evo_post__ptyp_', 'item_status_class' => 'evo_post__', 'login_page_before' => '<div class="login_block"><div class="evo_details">', 'login_page_after' => '</div></div>', 'register_page_before' => '<div class="login_block"><div class="evo_details">', 'register_page_after' => '</div></div>', 'display_abort_link' => $Blog->get_setting('allow_access') == 'public')); // 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 --------------------------- ?>
<div id="contentleft"> <?php // ------------------------- SIDEBAR INCLUDED HERE -------------------------- skin_include('_sidebar_left.inc.php'); // Note: You can customize the left sidebar by copying the // _sidebar_left.inc.php file into the current skin folder. // ----------------------------- END OF SIDEBAR ----------------------------- ?> <div id="content"> <?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => '<h2 class="sectionhead">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => true, 'format' => 'htmlbody', 'user_text' => '')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('author_link_text' => 'preferredname')); // Note: you can customize any of the sub templates included here by
<div> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?> <?php if ($disp == 'edit') { // Add or Edit a post $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', 'edit_text_create' => T_('Post a new topic'), 'edit_text_update' => T_('Edit post'), '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'), 'user_text' => '')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('profile_avatar_before' => '<div class="profile_avatar">', 'profile_avatar_after' => '</div>', 'disp_edit_categories' => false, 'notify_my_text' => T_('Notify me by email whenever a reply is published on one of <strong>my</strong> topics.'), 'notify_moderator_text' => T_('Notify me by email whenever a reply is posted in a forum where I am a moderator.'), 'user_itemlist_title' => T_('Topics created by %s'), 'user_itemlist_no_results' => T_('User has not created any topics'), 'user_commentlist_title' => T_('Replies posted by %s'), 'user_commentlist_no_results' => T_('User has not posted any replies'), 'user_commentlist_col_post' => T_('Reply on:'))); // 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 --------------------------- ?> </div> <?php
<head> <?php skin_content_meta(); /* Charset for static pages */ ?> <meta name="google-site-verification" content="K_CGe6EqESOb6WZq12HKH0FdGujGadrwaPAu6fQilQk" /> <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?> <?php $Plugins->trigger_event('SkinBeginHtmlHead'); ?> <title><?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('auto_pilot' => 'seo_title', 'title_single_before' => $Blog->get('shortname') . ' - ')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> </title> <meta name="description" content="<?php $Blog->disp('shortdesc', 'htmlattr'); ?> " /> <meta name="keywords" content="<?php $Blog->disp('keywords', 'htmlattr'); ?> " /> <?php robots_tag(); ?> <meta name="generator" content="b2evolution <?php
" lang="<?php locale_lang(); ?> "> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <?php skin_content_meta(); /* Charset for static pages */ ?> <?php $Plugins->trigger_event('SkinBeginHtmlHead'); ?> <title><?php $Blog->disp('name', 'htmlhead'); request_title(' - ', '', ' - ', 'htmlhead'); ?> </title> <?php skin_base_tag(); /* To fix relative links! */ ?> <meta name="contributor" content="b2evo skin Underground - design by Andrew Hreschak (blog.thedarksighed.com)" /> <meta name="rating" content="General" /> <meta name="generator" content="b2evolution <?php echo $app_version; ?> " /> <link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp('rss2_url', 'raw'); ?>
} // -------------------------- HTML HEADER INCLUDED HERE -------------------------- skin_include('_html_header.inc.php', array()); // -------------------------------- END OF HEADER -------------------------------- // ---------------------------- SITE HEADER INCLUDED HERE ---------------------------- // If site headers are enabled, they will be included here: skin_include('_body_header.inc.php'); // ------------------------------- END OF SITE HEADER -------------------------------- ?> <section class="search-box"> <div class="container"> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2 class="title_search_box">', 'title_after' => '</h2>', 'search_text' => T_($Skin->get_setting('search_title')), 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => 'test', 'users_text' => '', 'display_edit_links' => false)); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php if ($Skin->get_setting('search_field') == 1) { // ------------------------ START OF SEARCH FORM WIDGET ------------------------ skin_widget(array('widget' => 'coll_search_form', 'block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'compact_search_form', 'search_input_before' => '', 'search_input_after' => '', 'search_submit_before' => '', 'search_submit_after' => '', 'use_search_disp' => 1, 'button' => T_($Skin->get_setting('search_button_text')))); // ------------------------- END OF SEARCH FORM WIDGET ------------------------- } ?> </div> </section> <main id="main-content"> <div class="container">
?> <!-- ================================= START OF MAIN AREA ================================== --> <?php if (!in_array($disp, array('login', 'lostpassword', 'register', 'activateinfo', 'access_requires_login'))) { // Don't display the messages here because they are displayed inside wrapper to have the same width as form // ------------------------- 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' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '', 'display_edit_links' => false, 'catdir_text' => T_('Categories'), 'arcdir_text' => T_('Archives'))); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // Go Grab the featured post: if (!in_array($disp, array('single', 'page')) && ($Item =& get_featured_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' => 'full', 'intro_mode' => 'normal', 'item_class' => $Item->is_intro() ? 'evo_intro_post' : 'evo_featured_post')); // ----------------------------END ITEM BLOCK ---------------------------- } ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
<!-- =================================== START OF MAIN AREA =================================== --> <div class="bPosts"> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- if (!empty($cat)) { // Display breadcrumbs if some category is selected skin_widget(array('widget' => 'breadcrumb_path', 'block_start' => '<div class="breadcrumbs">', 'block_end' => '</div>')); } ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h1 class="page_title">', 'title_after' => '</h1>', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'category_text' => '', 'categories_text' => '', 'catdir_text' => '', 'front_text' => '')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?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 ---------------------------- }
// Don't display the messages here because they are displayed inside wrapper to have the same width as form // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- } ?> <?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')));
// Don't display the messages here because they are displayed inside wrapper to have the same width as form // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- } ?> <?php // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<nav><ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_end' => '</li>', 'next_start' => '<li class="next">', 'next_end' => '</li>', 'block_end' => '</ul></nav>')); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2 class="title_mediaidx">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '', 'display_edit_links' => false, 'arcdir_text' => T_('Index'), 'catdir_text' => '', 'category_text' => T_('Gallery') . ': ', 'categories_text' => T_('Galleries') . ': ')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('author_link_text' => 'preferredname', 'item_class' => 'evo_post evo_content_block', 'item_type_class' => 'evo_post__ptyp_', 'item_status_class' => 'evo_post__', 'login_page_before' => '<div class="login_block"><div class="evo_details">', 'login_page_after' => '</div></div>', 'register_page_before' => '<div class="login_block"><div class="evo_details">', 'register_page_after' => '</div></div>', 'display_abort_link' => $Blog->get_setting('allow_access') == 'public')); // 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 --------------------------- ?> </div><!-- .col --> <?php
// TODO: dh> should be a centralized setting. Maybe through the Skin class, if type is "feed"? echo '<?xml version="1.0" encoding="' . $io_charset . '"?' . '>'; ?> <!-- generator="<?php echo $app_name; ?> /<?php echo $app_version; ?> " --> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title><?php $Blog->disp('name', 'xml'); // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => ' - ', 'title_after' => '', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => true, 'format' => 'xml')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> </title> <link><?php $Blog->disp('url', 'xml'); ?> </link> <atom:link rel="self" type="application/rss+xml" href="<?php $Blog->disp('rss2_url', 'xmlattr'); ?> " /> <description><?php $Blog->disp('shortdesc', 'xml'); ?> </description>
"> <head profile="http://gmpg.org/xfn/11"> <?php skin_content_meta(); /* Charset for static pages */ ?> <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?> <?php $Plugins->trigger_event('SkinBeginHtmlHead'); ?> <title><?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title($params); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> </title> <?php skin_description_tag(); ?> <?php skin_keywords_tag(); ?> <?php skin_opengraph_tags(); ?> <?php robots_tag(); ?>
messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- } // Start of wrapper for front page area, in order to have the $Messages outside this block echo '<div class="front_main_content">'; ?> <?php // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_end' => '</li>', 'next_start' => '<li class="next">', 'next_end' => '</li>', 'block_end' => '</ul>')); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2>', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // Go Grab the featured post: if ($Item =& get_featured_Item()) { // We have a featured/intro post to display: // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ echo '<div class="panel panel-default"><div class="panel-body">'; skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'auto', 'intro_mode' => 'normal')); echo '</div></div>'; // ----------------------------END ITEM BLOCK ---------------------------- } ?>
?> <?php // ------------------- MESSAGES GENERATED FROM ACTIONS ------------------- if (empty($preview)) { $Messages->disp(); } // ------------------------------- END OF MESSAGES -------------------------- ?> <?php // -------------------- TITLE FOR THE CURRENT REQUEST -------------------- if ($disp != 'single') { request_title('<h2 class="pagetitle">', '</h2>'); } // ----------------------------- END OF REQUEST TITLE ----------------------- ?> <p> <?php if ($disp == 'posts') { $Blog->disp('longdesc', 'htmlbody'); } ?> </p> <?php // ------------------------ START OF POSTS LOOP -------------------------- if (isset($MainList)) {
<div class="row"> <div class="col-md-12"> <main><!-- This is were a link like "Jump to main content" would land --> <!-- ================================= START OF MAIN AREA ================================== --> <?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 class="page_title">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ')); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$'); // 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> </div><!-- .col -->
</a></h1> </div> <div class="bPosts"> <!-- =================================== START OF MAIN AREA =================================== --> <?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' => '<h2> </h2>', 'glue' => ' - ', 'format' => 'htmlbody')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$'); // 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 --------------------------- ?> </div>
<div class="main"><!-- InstanceBeginEditable name="Main" --> <!-- =================================== START OF MAIN AREA =================================== --> <div class="bPosts"> <h2>#1: <a href="<?php $Blog->disp('blogurl', 'raw'); ?> "><?php echo $Blog->disp('name', 'htmlbody'); ?> </a></h2> <?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 ----------------------------- ?> <?php // ------------------------------------ START OF POSTS ---------------------------------------- // Display message if no post: display_if_empty(); while ($Item =& mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" ?> <?php // ------------------------------ DATE SEPARATOR ------------------------------ $MainList->date_if_changed(array('before' => '<h2>', 'after' => '</h2>', 'date_format' => '#')); ?>
"> <head> <?php skin_content_meta(); /* Charset for static pages */ ?> <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?> <?php $Plugins->trigger_event('SkinBeginHtmlHead'); ?> <title><?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('auto_pilot' => 'seo_title')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> </title> <meta name="description" content="<?php $Blog->disp('shortdesc', 'htmlattr'); ?> " /> <meta name="keywords" content="<?php $Blog->disp('keywords', 'htmlattr'); ?> " /> <?php robots_tag(); ?> <meta name="generator" content="b2evolution <?php