2010-02-27 19:05:07 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Copyright (c) e107 Inc 2009 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* NEXTPREV shortcode template
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Default (old) page navigation, key prefix 'default'
|
|
|
|
* Shortcodes are lowercase (simple parser)
|
|
|
|
*/
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['default_start'] = '
|
|
|
|
<!-- Start of Next/Prev -->
|
2012-12-03 13:57:02 -08:00
|
|
|
<div class="btn-group nextprev ">
|
2010-02-27 19:05:07 +00:00
|
|
|
';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['default_end'] = '
|
|
|
|
</div>
|
|
|
|
<!-- End of Next/Prev -->
|
|
|
|
';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['default_nav_caption'] = '<span class="nexprev-caption center">{caption}</span> '; XXX - awaiting the new front-end themes & templates
|
2012-12-03 13:57:02 -08:00
|
|
|
$NEXTPREV_TEMPLATE['default_nav_caption'] = ''; // NP_3.' ';
|
2010-02-27 19:05:07 +00:00
|
|
|
|
2012-12-03 13:57:02 -08:00
|
|
|
$NEXTPREV_TEMPLATE['default_nav_first'] = '<a class="btn nextprev-item first" href="{url}" title="{url_label}">{label}</a>';
|
|
|
|
$NEXTPREV_TEMPLATE['default_nav_prev'] = '<a class="btn nextprev-item prev" href="{url}" title="{url_label}">{label}</a>';
|
|
|
|
$NEXTPREV_TEMPLATE['default_nav_last'] = '<a class="btn nextprev-item last" href="{url}" title="{url_label}">{label}</a>';
|
|
|
|
$NEXTPREV_TEMPLATE['default_nav_next'] = '<a class="btn nextprev-item next" href="{url}" title="{url_label}">{label}</a>';
|
2010-02-27 19:05:07 +00:00
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['default_items_start'] = '';
|
2012-12-03 13:57:02 -08:00
|
|
|
$NEXTPREV_TEMPLATE['default_item'] = '<a class="btn nextprev-item" href="{url}" title="{url_label}">{label}</a>';
|
|
|
|
$NEXTPREV_TEMPLATE['default_item_current'] = '<a class="btn nextprev-item current active" href="#" onclick="return false;" title="{url_label}">{label}</a>';
|
2010-02-27 19:05:07 +00:00
|
|
|
$NEXTPREV_TEMPLATE['default_items_end'] = '';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['default_separator'] = '<span class="nextprev-sep"><!-- --></span>';
|
|
|
|
$NEXTPREV_TEMPLATE['default_separator'] = ' ';
|
|
|
|
|
|
|
|
|
2012-12-03 14:30:21 -08:00
|
|
|
// ADMIN TEMPLATE see admin-ui.
|
2012-12-03 13:57:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['admin_start'] = '
|
|
|
|
<!-- Start of Next/Prev -->
|
|
|
|
<div class="btn-group nextprev ">
|
|
|
|
';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['admin_end'] = '
|
|
|
|
</div>
|
|
|
|
<!-- End of Next/Prev -->
|
|
|
|
';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['admin_nav_caption'] = '<span class="nexprev-caption center">{caption}</span> '; XXX - awaiting the new front-end themes & templates
|
|
|
|
$NEXTPREV_TEMPLATE['admin_nav_caption'] = ''; // NP_3.' ';
|
|
|
|
|
2012-12-03 14:30:21 -08:00
|
|
|
$NEXTPREV_TEMPLATE['admin_nav_first'] = '<a class="btn nextprev-item first e-tip" href="{url}" title="{url_label}"><i class="icon-fast-backward"></i></a>';
|
|
|
|
$NEXTPREV_TEMPLATE['admin_nav_prev'] = '<a class="btn nextprev-item prev e-tip" href="{url}" title="{url_label}"><i class="icon-backward"></i></a>';
|
|
|
|
$NEXTPREV_TEMPLATE['admin_nav_last'] = '<a class="btn nextprev-item last e-tip" href="{url}" title="{url_label}"><i class="icon-fast-forward"></i></a>';
|
|
|
|
$NEXTPREV_TEMPLATE['admin_nav_next'] = '<a class="btn nextprev-item next e-tip" href="{url}" title="{url_label}"><i class="icon-forward"></i></a>';
|
2012-12-03 13:57:02 -08:00
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['admin_items_start'] = '';
|
2012-12-03 14:30:21 -08:00
|
|
|
$NEXTPREV_TEMPLATE['admin_item'] = '<a class="btn nextprev-item e-tip" href="{url}" title="{url_label}">{label}</a>';
|
2012-12-03 13:57:02 -08:00
|
|
|
$NEXTPREV_TEMPLATE['admin_item_current'] = '<a class="btn nextprev-item current active" href="#" onclick="return false;" title="{url_label}">{label}</a>';
|
|
|
|
$NEXTPREV_TEMPLATE['admin_items_end'] = '';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['admin_separator'] = '<span class="nextprev-sep"><!-- --></span>';
|
|
|
|
$NEXTPREV_TEMPLATE['admin_separator'] = ' ';
|
|
|
|
|
|
|
|
|
|
|
|
// ######################################
|
|
|
|
|
2010-02-27 19:05:07 +00:00
|
|
|
/*
|
|
|
|
* Dropdown page navigation, key prefix 'dropdown'
|
|
|
|
* Shortcodes are lowercase (simple parser)
|
|
|
|
* TODO - do the slide-down via JS, make it unobtrusive
|
|
|
|
*/
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_start'] = '
|
|
|
|
<!-- Start of Next/Prev -->
|
|
|
|
<div class="nextprev">
|
|
|
|
';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_end'] = '
|
|
|
|
</div>
|
|
|
|
<!-- End of Next/Prev -->
|
|
|
|
';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['default_nav_caption'] = '<span class="nexprev-caption center">{caption}</span> '; XXX - awaiting the new front-end themes & templates
|
|
|
|
$NEXTPREV_TEMPLATE['default_nav_caption'] = NP_3.' ';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_nav_first'] = '';
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_nav_last'] = '';
|
|
|
|
|
|
|
|
// 'tbox npbutton' classes are deprecated!!!
|
2010-02-27 19:08:32 +00:00
|
|
|
$NEXTPREV_TEMPLATE['dropdown_nav_prev'] = '<a class="nextprev-item prev tbox npbutton" href="{url}" title="{url_label}">{label}</a> ';
|
2010-02-27 19:05:07 +00:00
|
|
|
// 'tbox npbutton' classes are deprecated!!!
|
2010-02-27 19:08:32 +00:00
|
|
|
$NEXTPREV_TEMPLATE['dropdown_nav_next'] = ' <a class="nextprev-item next tbox npbutton" href="{url}" title="{url_label}">{label}</a>';
|
2010-02-27 19:05:07 +00:00
|
|
|
|
|
|
|
// 'npdropdown' class is deprecated!!!
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_items_start'] = '<select class="tbox npdropdown nextprev-select" name="pageSelect" onchange="window.location.href=this.options[selectedIndex].value">';
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_item'] = '<option value="{url}">{label}</option>';
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_item_current'] = '<option value="{url}" selected="selected">{label}</option>';
|
|
|
|
$NEXTPREV_TEMPLATE['dropdown_items_end'] = '</select>';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['dropdown_separator'] = '<span class="nextprev-sep"><!-- --></span>';
|
2010-02-27 19:08:32 +00:00
|
|
|
$NEXTPREV_TEMPLATE['dropdown_separator'] = '';
|
2010-02-27 19:05:07 +00:00
|
|
|
|
2011-12-07 21:07:21 +00:00
|
|
|
/**
|
|
|
|
* Default Page core area navigation
|
|
|
|
*/
|
|
|
|
$NEXTPREV_TEMPLATE['page_start'] = '
|
|
|
|
<!-- Start of Next/Prev -->
|
|
|
|
<div class="cpage-nav">
|
|
|
|
';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['page_end'] = '
|
|
|
|
</div>
|
|
|
|
<!-- End of Next/Prev -->
|
|
|
|
';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['page_nav_caption'] = '';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['page_nav_first'] = '';
|
|
|
|
$NEXTPREV_TEMPLATE['page_nav_prev'] = '';
|
|
|
|
$NEXTPREV_TEMPLATE['page_nav_last'] = '';
|
|
|
|
$NEXTPREV_TEMPLATE['page_nav_next'] = '';
|
|
|
|
|
|
|
|
$NEXTPREV_TEMPLATE['page_items_start'] = '';
|
2012-07-21 05:07:21 +00:00
|
|
|
$NEXTPREV_TEMPLATE['page_item'] = "{bullet} <a class='cpage-np' href='{url}' title=\"{url_label}\">{label}</a>";
|
|
|
|
$NEXTPREV_TEMPLATE['page_item_current'] = "{bullet} <a class='cpage-np current' href='#' onclick='return false;' title=\"{url_label}\">{label}</a>";
|
2011-12-07 21:07:21 +00:00
|
|
|
$NEXTPREV_TEMPLATE['page_items_end'] = '';
|
|
|
|
|
|
|
|
//$NEXTPREV_TEMPLATE['default_separator'] = '<span class="nextprev-sep"><!-- --></span>';
|
|
|
|
$NEXTPREV_TEMPLATE['page_separator'] = '<br />';
|
2010-02-27 19:05:07 +00:00
|
|
|
?>
|