Пример #1
0
	</div>
	<?php 
$Blog->longdesc(array('before' => '<hr><small>', 'after' => '</small>'));
?>

	<hr>

	<?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' => '', 'prev_start' => '', 'prev_end' => ' :', 'next_start' => ': ', 'next_end' => '', 'block_end' => ''));
// ------------------------- 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' => true, 'format' => 'htmlbody', 'user_text' => ''));
// ------------------------------ 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 "}"
Пример #2
0
    skin_include('_item_feedback.inc.php', array('before_section_title' => '<h3 id="comments">', 'after_section_title' => '</h3>', 'form_title_start' => '<h3 class="comment_form_title">', 'form_title_end' => '</h3>'));
    // 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) ---------------------
    ?>

		<?php 
    locale_restore_previous();
    // Restore previous locale (Blog locale)
}
?>

	<div class="space"></div>
	<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<div id="navigation">', 'prev_start' => '<div class="floatleft">', 'prev_end' => '</div> <!-- end of class="floatleft" -->', 'next_start' => '<div class="floatright">', 'next_end' => '</div> <!-- end of class="floatright" -->', 'block_end' => '</div> <!-- end of id="navigation" -->'));
// ------------------------- END OF PREV/NEXT POST LINKS -------------------------
?>

			</div> <!-- end of id="primaryContent" -->
		</div> <!-- end of id="primaryContentContainer" -->

<?php 
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include('_sidebar_right.inc.php');
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>

	</div> <!-- end of id="content" -->
Пример #3
0
?>
		
<div class="container main-page-content">

<div class="row">

	<div class="<?php 
echo $Skin->get_column_class_single();
?>
">

		<main><!-- This is were a link like "Jump to main content" would land -->
		
		<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<nav><ul class="pager special_pager_layout">', '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 -------------------------
?>

		<!-- ================================= 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 
Пример #4
0
?>
</h2>
	</div>
	<hr />
	<!-- =================================== START OF MAIN AREA =================================== -->
	<div id="page">
		<div class="bPosts">
		<?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('template' => '$next$$prev$', 'block_start' => '<table class="prevnext_post"><tr>', 'prev_start' => '<td class="right">', 'prev_end' => '</td>', 'next_start' => '<td>', 'next_end' => '</td>', 'block_end' => '</tr></table>', 'prev_text' => '$title$&raquo;', 'next_text' => '&laquo;$title$'));
// ------------------------- 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, 'format' => 'htmlbody'));
// ----------------------------- END OF REQUEST TITLE ----------------------------
?>

		<?php 
// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
mainlist_page_links(array('block_start' => '<p class="center">' . T_('Pages:') . ' <strong>', 'block_end' => '</strong></p>'));
// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
?>
		<?php 
Пример #5
0
?>

		<?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 
if ($disp == 'single') {
    // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
    item_prevnext_links(array('block_start' => '<div class="single_page_navigation center">', 'next_text' => '<i class="fa fa-caret-right" title="' . T_('Next') . '"></i>', 'prev_text' => '<i class="fa fa-caret-left" title="' . T_('Previous') . '"></i>', 'page_item_current_before' => '<span class="active">', 'page_item_current_after' => '</span>', 'block_end' => '</div><div class="clear"></div>'));
    // ------------------------- END OF PREV/NEXT POST LINKS -------------------------
}
?>

		<?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="page_navigation center">', 'next_text' => '<i class="fa fa-caret-right" title="' . T_('Next') . '"></i>', 'prev_text' => '<i class="fa fa-caret-left" title="' . T_('Previous') . '"></i>', 'page_item_current_before' => '<span class="active">', 'page_item_current_after' => '</span>', 'block_end' => '</div><div class="clear"></div>'), 'url_link_position' => 'top', 'parent_link_position' => 'top', '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">&times;</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' => '', 'featured_intro_after' => '', 'msgform_form_title' => T_('Sending a message')));
// 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 -->
Пример #6
0
 * @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">&larr;</span> $title$', 'prev_end' => '</li>', 'separator' => ' ', 'next_start' => '<li class="next">', 'next_text' => '$title$ <span aria-hidden="true">&rarr;</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
}
Пример #7
0
	<?php 
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>'));
// --------------------------------- END OF MESSAGES ---------------------------------
?>

	<?php 
// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
mainlist_page_links(array('block_start' => '<div class="nav_right">', 'block_end' => '</div>', 'links_format' => '$next$ $prev$', 'prev_text' => '<img src="img/prev.gif" width="29" height="29" alt="' . T_('Previous') . '" title="' . T_('Previous') . '" />', 'next_text' => '<img src="img/next.gif" width="29" height="29" alt="' . T_('Next') . '" title="' . T_('Next') . '" />', 'no_prev_text' => '', 'no_next_text' => '<img src="' . $rsc_url . '/img/blank.gif" width="29" height="29" alt="" class="no_nav" />'));
// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
?>

	<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('template' => '$next$$prev$', 'block_start' => '<div class="nav_right">', 'next_start' => '', 'next_text' => '<img src="img/next.gif" width="29" height="29" alt="' . T_('Next') . '" title="' . T_('Next') . '" />', 'next_no_item' => '<img src="' . $rsc_url . '/img/blank.gif" width="29" height="29" alt="" class="no_nav" />', 'next_end' => ' ', 'prev_start' => '', 'prev_text' => '<img src="img/prev.gif" width="29" height="29" alt="' . T_('Previous') . '" title="' . T_('Previous') . '" />', 'prev_no_item' => '', 'prev_end' => '', 'block_end' => '</div>'));
// ------------------------- END OF PREV/NEXT POST LINKS -------------------------
?>

	<?php 
// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
request_title(array('title_before' => '<h2>', 'title_after' => '</h2>', 'title_none' => '<h2>&nbsp;</h2>', 'glue' => ' - ', 'title_single_disp' => false, 'format' => 'htmlbody', 'arcdir_text' => T_('Index'), 'catdir_text' => T_('Albums'), 'category_text' => T_('Album') . ': ', 'categories_text' => T_('Albums') . ': '));
// ------------------------------ 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 "}"
// Author info:
echo '<div class="ft_author_info">' . T_('Started by');
$Item->author(array('link_text' => 'auto', 'after' => ''));
echo ', ' . mysql2date('D M j, Y H:i', $Item->datecreated);
echo '</div>';
?>
		</th>
	</tr>
	<tr class="panel">
		<td colspan="2" valign="middle" align="center"><?php 
// Buttons to post/reply
$post_buttons = $Skin->get_post_button($current_cat, $Item);
echo $post_buttons;
if (!$Item->is_featured()) {
    // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
    item_prevnext_links(array('block_start' => '<div class="posts_navigation">', 'separator' => ' :: ', 'block_end' => '</div>', 'target_blog' => $Blog->ID, 'post_navigation' => 'same_category', 'featured' => false));
    // ------------------------- END OF PREV/NEXT POST LINKS -------------------------
}
?>
</td>
	</tr>
	<tr class="ft_post_info">
		<td><?php 
$Item->author(array('link_text' => 'auto'));
?>
</td>
		<td><?php 
// We want to display the post date:
$Item->issue_time(array('before' => '', 'after' => ' &nbsp; &nbsp; ', 'time_format' => 'D M j, Y H:i'));
?>
			<a href="<?php 
Пример #9
0
			<span class="nav_album_title">
				<?php 
    $single_Item->title(array('link_type' => 'permalink', 'before' => '', 'after' => ''));
    ?>
				<?php 
    if ($Skin->enabled_status_banner($single_Item->status)) {
        // Status banner
        $single_Item->format_status(array('template' => '<div class="evo_status evo_status__$status$ badge">$status_title$</div>'));
    }
    $single_Item->edit_link(array('before' => '', 'after' => '', 'text' => get_icon('edit'), 'title' => T_('Edit title/description...')));
    ?>
			</span><!-- .nav_album_title -->
		
			<?php 
    // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
    item_prevnext_links(array('template' => '$prev$$next$', 'block_start' => '<ul class="pager hidden-xs">', 'next_class' => 'next', 'next_start' => '<li class="next">', 'next_text' => 'Next', 'next_no_item' => '', 'next_end' => '</li>', 'prev_class' => 'previous', 'prev_start' => '<li class="previous">', 'prev_text' => 'Previous', 'prev_no_item' => '', 'prev_end' => '', 'block_end' => '</ul>'));
    // ------------------------- END OF PREV/NEXT POST LINKS -------------------------
    ?>
		
			<div class="clear"></div>
			
			</nav><!-- .nav_album -->
			</div><!-- .col -->
		</div><!-- .row -->
		<?php 
}
// ------------------- END OF NAVIGATION BAR FOR ALBUM(POST) -------------------
?>

	<?php 
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
Пример #10
0
    ?>

		<div class="single-post-meta-bottom">
				<?php 
    $Item->categories(array('before' => ' ' . T_('Categories') . ': ', 'after' => '.', 'include_main' => true, 'include_other' => true, 'include_external' => true, 'link_categories' => true));
    ?>

				<?php 
    // List all tags attached to this post:
    $Item->tags(array('before' => '<br />' . T_('Tags') . ': ', 'after' => ' ', 'separator' => ', '));
    ?>
		</div>

		<?php 
    // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
    item_prevnext_links(array('block_start' => '<ul id="post-options">', 'prev_start' => '<li>', 'prev_text' => '', 'prev_end' => '</li>', 'prev_class' => 'oprev', 'next_start' => '<li>', 'next_text' => '', 'next_end' => '</li>', 'next_class' => 'onext', 'block_end' => '</ul>'));
    // ------------------------- END OF PREV/NEXT POST LINKS -------------------------
    ?>

	</div>


	<?php 
    // ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
    skin_include('_item_feedback.inc.php', array('author_link_text' => 'auto'));
    // 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) ---------------------
    ?>

	<?php 
Пример #11
0
    skin_include('_item_feedback.inc.php', array('before_section_title' => '<h3 id="commentstitle">', 'after_section_title' => '</h3>', 'form_title_start' => '<h3 class="comment_form_title">', 'form_title_end' => '</h3>'));
    // 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> <!-- end of id="comments" -->

		<?php 
    locale_restore_previous();
    // Restore previous locale (Blog locale)
}
?>

	<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<div id="nextprevious">', 'prev_start' => '<div class="floatleft">', 'prev_end' => '</div> <!-- end of class="floatleft" -->', 'next_start' => '<div class="floatright">', 'next_end' => '</div> <!-- end of class="floatright" -->', 'block_end' => '<div class="cleared"></div></div> <!-- end of id="nextprevious" -->'));
// ------------------------- END OF PREV/NEXT POST LINKS -------------------------
?>

	</div> <!-- end of id="content" -->
	</div> <!-- end of id="contentwrapper" -->


<?php 
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include('_sidebar_right.inc.php');
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>
Пример #12
0
">RSS Feed</a></li>
    </ul>
  </div>
  <div class="clear"></div>
  <div id="container">
    <div id="main">
      <?php 
// MESSAGES GENERATED FROM ACTIONS
messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>'));
// Display search results
global $ASearch_plugin;
if (is_object($ASearch_plugin)) {
    $ASearch_plugin->display_results();
}
// PREV/NEXT POST LINKS (SINGLE POST MODE)
item_prevnext_links(array('block_start' => '<div class="navigation">', 'prev_start' => '<div class="left">', 'prev_end' => '</div>', 'next_start' => '<div class="right">', 'next_end' => '</div>', 'block_end' => '</div>'));
// TITLE FOR THE CURRENT REQUEST
request_title(array('title_before' => '<h2 class="request_title">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody'));
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' => 'bPost bFeatured', 'image_size' => 'fit-400x320'));
}
// START OF POSTS
// Display message if no post:
display_if_empty(array('before' => '<div class="bPost display_empty">', 'after' => '</div>'));
while ($Item =& mainlist_get_item()) {
    // ITEM BLOCK INCLUDED HERE
    skin_include('_item_block.inc.php', array('content_mode' => 'auto', 'image_size' => 'fit-400x320'));
}
// PREV/NEXT PAGE LINKS (POST LIST MODE)
Пример #13
0
      <!-- main content: primary + sidebar(s) -->
      <div id="main">
        <div id="main-inside" class="clearfix">
          <!-- primary content -->
          <div id="primary-content">
            <div class="blocks">
              <?php 
// MESSAGES GENERATED FROM ACTIONS
messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>'));
// Display search results
global $ASearch_plugin;
if (is_object($ASearch_plugin)) {
    $ASearch_plugin->display_results();
}
// PREV/NEXT POST LINKS (SINGLE POST MODE)
item_prevnext_links(array('block_start' => '<div class="single-navigation clear-block">', 'block_end' => '</div>', 'prev_start' => '<div class="alignleft">', 'prev_end' => '</div>', 'next_start' => '<div class="alignright">', 'next_end' => '</div>'));
// TITLE FOR THE CURRENT REQUEST
request_title(array('title_before' => '<h2 class="request_title">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody'));
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' => 'post clearfix bFeatured', 'image_size' => 'fit-520x390'));
}
// START OF POSTS
// Display message if no post:
display_if_empty(array('before' => '<div class="bPost display_empty">', 'after' => '</div>'));
while ($Item =& mainlist_get_item()) {
    // ITEM BLOCK INCLUDED HERE
    skin_include('_item_block.inc.php', array('content_mode' => 'auto', 'image_size' => 'fit-520x390', 'item_class' => 'post clearfix'));
}
// PREV/NEXT PAGE LINKS (POST LIST MODE)
Пример #14
0
// /skins/_html_header.inc.php file into the current skin folder.
// -------------------------------- END OF HEADER --------------------------------
?>
<!-- =================================== START OF MAIN AREA =================================== -->
<div id="contentwrap">
<div class="Content">

	<?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>', '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:
Пример #15
0
	<?php 
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>'));
// --------------------------------- END OF MESSAGES ---------------------------------
?>

	<?php 
// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
mainlist_page_links(array('block_start' => '<div class="nav_right">', 'block_end' => '</div>', 'links_format' => '$next$ $prev$', 'prev_text' => '<span class="pb_icon prev" title="' . T_('Previous') . '"></span>', 'next_text' => '<span class="pb_icon next" title="' . T_('Next') . '"></span>', 'no_prev_text' => '', 'no_next_text' => get_icon('pixel', 'imgtag', array('size' => array(29, 29), 'xy' => array(13, 13), 'class' => 'no_nav'))));
// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
?>

	<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('template' => '$next$$prev$', 'block_start' => '<div class="nav_right">', 'next_start' => '', 'next_text' => '<span class="pb_icon next" title="' . T_('Next') . '"></span>', 'next_no_item' => get_icon('pixel', 'imgtag', array('size' => array(29, 29), 'xy' => array(13, 13), 'class' => 'no_nav')), 'next_end' => ' ', 'prev_start' => '', 'prev_text' => '<span class="pb_icon prev" title="' . T_('Previous') . '"></span>', 'prev_no_item' => '', 'prev_end' => '', 'block_end' => '</div>'));
// ------------------------- END OF PREV/NEXT POST LINKS -------------------------
?>

	<?php 
// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
request_title(array('title_before' => '<h2>', 'title_after' => '</h2>', 'title_none' => '<h2>&nbsp;</h2>', 'glue' => ' - ', 'title_single_disp' => false, 'format' => 'htmlbody', 'arcdir_text' => T_('Index'), 'catdir_text' => T_('Galleries'), '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'));
Пример #16
0
		<!-- ================================= 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 ---------------------------------
}
// 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">';
Пример #17
0
"></a>

	<span class="nav_album_title">
	<?php 
        $single_Item->title(array('link_type' => 'permalink'));
        $single_Item->edit_link(array('before' => ' ', 'after' => '', 'text' => get_icon('edit'), 'title' => T_('Edit title/description...')));
        if ($Skin->enabled_status_banner($single_Item->status)) {
            // Status banner
            $single_Item->format_status(array('template' => '<div class="post_status"><div class="floatright"><span class="note status_$status$"><span>$status_title$</span></span></div></div>'));
        }
        ?>
	</span>

<?php 
        // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
        item_prevnext_links(array('template' => '$prev$$next$', 'block_start' => '<div class="roundbutton_group nav_album_arrows">', 'next_class' => 'roundbutton rbtn_black', 'next_start' => '', 'next_text' => '<span class="arrow_right_white"></span>', 'next_no_item' => '<span class="roundbutton rbtn_black"><span class="arrow_right_grey"></span></span>', 'next_end' => '', 'prev_class' => 'roundbutton rbtn_black', 'prev_start' => '', 'prev_text' => '<span class="arrow_left_white"></span>', 'prev_no_item' => '<span class="roundbutton rbtn_black"><span class="arrow_left_grey"></span></span>', 'prev_end' => '', 'block_end' => '</div>'));
        // ------------------------- END OF PREV/NEXT POST LINKS -------------------------
        ?>

<div class="nav_album_number">
<?php 
        printf(T_('%s photos'), $single_Item->get_number_of_images());
        ?>
</div>

<div class="clear"></div></div>
<?php 
    }
}
// ------------------- END OF NAVIGATION BAR FOR ALBUM(POST) -------------------
?>
Пример #18
0
	<?php 
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include('$disp$', array('disp_posts' => '', 'disp_single' => '', 'disp_page' => '', 'author_link_text' => 'preferredname'));
// 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><!-- END text -->
</div><!-- END leftside -->
<div class="rightside">
	<div id="sidebar">
		<ul>
		<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<li class="prevnext">', 'prev_start' => 'Previous Post:<br />', 'prev_end' => '<br /><br />', 'next_start' => 'Next Post:<br />', 'next_end' => '<br /><br />', 'block_end' => '</li>'));
?>
	<?php 
// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
// Display container contents:
skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>'));
// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
?>
		</ul>

		<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'img/powered-by-b2evolution-138x39-895C46.gif', 'img_width' => 138, 'img_height' => 39));
?>
	</div>
</div> <!-- END RS DIV -->
Пример #19
0
				<main id="main-content"><!-- This is were a link like "Jump to main content" would land -->
					<!-- ================================= 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 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<nav><ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_text' => '<i class="fa fa-long-arrow-left"></i> $title$', 'prev_end' => '</li>', 'separator' => ' ', 'next_start' => '<li class="next">', 'next_text' => '$title$ <i class="fa fa-long-arrow-right"></i>', '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_head_post">', '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 
// -------------- 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">&times;</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"><div class="intro_background_image"></div>', 'featured_intro_after' => '</div>', 'msgform_form_title' => T_('Sending a message')));
// 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 ---------------------------