mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Bootstrap styling fixes.
This commit is contained in:
@@ -115,6 +115,13 @@ function nextprev_shortcode($parm = '')
|
||||
$tprefix = 'dropdown';
|
||||
//$parm['amount'] = 'all';
|
||||
}
|
||||
|
||||
if($tprefix == 'default' && deftrue('BOOTSTRAP'))
|
||||
{
|
||||
$tprefix = 'bootstrap';
|
||||
}
|
||||
|
||||
|
||||
$tprefix .= '_';
|
||||
|
||||
if($parm['amount'] === 'all')
|
||||
|
@@ -10,6 +10,9 @@
|
||||
* Shortcodes are lowercase (simple parser)
|
||||
*/
|
||||
|
||||
|
||||
// XXX LEGACY DEFAULT.
|
||||
|
||||
$NEXTPREV_TEMPLATE['default_start'] = '
|
||||
<!-- Start of Next/Prev -->
|
||||
<div class="btn-group nextprev ">
|
||||
@@ -36,8 +39,55 @@ $NEXTPREV_TEMPLATE['default_items_end'] = '';
|
||||
//$NEXTPREV_TEMPLATE['default_separator'] = '<span class="nextprev-sep"><!-- --></span>';
|
||||
$NEXTPREV_TEMPLATE['default_separator'] = ' ';
|
||||
|
||||
|
||||
/* ****************** Default when Bootstrap is enabled ************** */
|
||||
|
||||
$NEXTPREV_TEMPLATE['bootstrap_start'] = "<!-- Start of Next/Prev -->\n<div class='pagination'>\n<ul>";
|
||||
$NEXTPREV_TEMPLATE['bootstrap_end'] = "</ul></div><!-- End of Next/Prev -->";
|
||||
$NEXTPREV_TEMPLATE['bootstrap_nav_caption'] = '';
|
||||
|
||||
$NEXTPREV_TEMPLATE['bootstrap_nav_first'] = '<li><a class="first" href="{url}" title="{url_label}">{label}</a></li>';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_nav_prev'] = '<li><a class="prev" href="{url}" title="{url_label}">{label}</a></li>';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_nav_last'] = '<li><a class="last" href="{url}" title="{url_label}">{label}</a></li>';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_nav_next'] = '<li><a class="next" href="{url}" title="{url_label}">{label}</a></li>';
|
||||
|
||||
$NEXTPREV_TEMPLATE['bootstrap_items_start'] = '';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_item'] = '<li><a href="{url}" title="{url_label}">{label}</a></li>';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_item_current'] = '<li class="active disabled"><a href="#" onclick="return false;" title="{url_label}">{label}</a></li>';
|
||||
$NEXTPREV_TEMPLATE['bootstrap_items_end'] = '';
|
||||
|
||||
$NEXTPREV_TEMPLATE['bootstrap_separator'] = '';
|
||||
|
||||
|
||||
/* ************************************************************ */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Basic template - as used in admin theme-manager - find themes.
|
||||
//XXX FIXME - use $NEXTPREV_TEMPLATE['basic']['start'] format.??
|
||||
|
||||
|
@@ -167,7 +167,7 @@ $sc_style['SIGNUP_EMAIL_CONFIRM']['post'] = "
|
||||
</tr>";
|
||||
|
||||
$sc_style['SIGNUP_XUP']['pre'] = "<div class='center' style='display:block;padding:10px'>";
|
||||
$sc_style['SIGNUP_XUP']['post'] = "<h2 class='divider'><span>OR</span></h2></div>";
|
||||
$sc_style['SIGNUP_XUP']['post'] = "<h2 class='signup-divider'><span>OR</span></h2></div>";
|
||||
|
||||
if(!defined($COPPA_TEMPLATE))
|
||||
{
|
||||
|
Reference in New Issue
Block a user