Esempio n. 1
0
<?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>';
Esempio n. 2
0
<?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
 * @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' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 1));
// ---------------------------------- END OF COMMON LINKS ---------------------------------
// Display the search result
search_result_block(array('use_editor' => true, 'author_format' => 'login', 'cell_author_start' => '<p class="small text-muted">', 'cell_author_end' => '</p>', 'date_format' => 'F jS, Y'));
Esempio n. 3
0
<?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
 */
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' => 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: ')));
Esempio n. 4
0
<?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 -----------------------------
?>


<?php 
Esempio n. 5
0
<?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']));
Esempio n. 6
0
<?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 bootstrap_forums
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
echo '<div class="forums_table_search">';
// --------------------------------- START OF COMMON LINKS --------------------------------
skin_widget(array('widget' => 'coll_search_form', 'block_start' => '<div class="panel panel-default"><div class="panel-heading">', 'block_end' => '</div></div>', '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' => '<div class="evo_search_list">', 'block_end' => '</div>', 'row_start' => '<div class="evo_search_list__row">', 'row_end' => '</div>', 'pagination' => $params['pagination']));
echo '</div>';