1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-16 20:41:27 +02:00

Minor bootstrap css fixes in nextprev

This commit is contained in:
Cameron
2015-02-09 01:08:21 -08:00
parent 00a516b0d3
commit d70b389a8e
2 changed files with 4 additions and 4 deletions

View File

@@ -523,8 +523,8 @@ function nextprev_shortcode($parm = '')
$np_parm['template'] = "[PREV]  [DROPDOWN]  [NEXT]";
$np_parms['prev'] = '  <<  ';
$np_parms['next'] = '  >>  ';
$np_parms['np_class'] = 'tbox npbutton btn';
$np_parms['dropdown_class'] = 'tbox npdropdown';
$np_parms['np_class'] = 'tbox npbutton btn btn-default';
$np_parms['dropdown_class'] = 'tbox npdropdown form-control';
if($cached_parms = getcachedvars('nextprev'))
{

View File

@@ -147,7 +147,7 @@ $NEXTPREV_TEMPLATE['admin_separator'] = ' ';
$NEXTPREV_TEMPLATE['dropdown_start'] = '
<!-- Start of Next/Prev -->
<div class="nextprev form-inline">
<div class="nextprev form-group form-inline">
';
$NEXTPREV_TEMPLATE['dropdown_end'] = '
@@ -167,7 +167,7 @@ $NEXTPREV_TEMPLATE['dropdown_nav_prev'] = '<a class="btn btn-default nextprev-it
$NEXTPREV_TEMPLATE['dropdown_nav_next'] = '&nbsp;<a class="btn btn-default nextprev-item next tbox npbutton" href="{url}" title="{url_label}">{label}</a>';
// '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_items_start'] = '<select class="tbox npdropdown nextprev-select form-control" 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>';