From 925fe0b9fc7a7e107ac2ff0bbc15b89cb00fad25 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 6 Apr 2022 12:10:22 -0700 Subject: [PATCH] Bootstrap styling tweaks. --- e107_plugins/blogcalendar_menu/calendar.php | 2 +- .../online/templates/online_menu_template.php | 25 ++++++++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/e107_plugins/blogcalendar_menu/calendar.php b/e107_plugins/blogcalendar_menu/calendar.php index 71ea56af7..81949ae74 100644 --- a/e107_plugins/blogcalendar_menu/calendar.php +++ b/e107_plugins/blogcalendar_menu/calendar.php @@ -105,7 +105,7 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday" $day_style = isset($links[$day_of_month]) ? "indent blogcalendar-day-active " : "forumheader3 blogcalendar-day"; } - $label_style = isset($links[$day_of_month]) ? 'label label-info' : ''; //TODO A pref in admin to choose between info, danger, etc. + $label_style = isset($links[$day_of_month]) ? 'label label-info badge bg-info' : ''; $calendar .= ""; diff --git a/e107_plugins/online/templates/online_menu_template.php b/e107_plugins/online/templates/online_menu_template.php index ace3ebd12..57c5beb73 100644 --- a/e107_plugins/online/templates/online_menu_template.php +++ b/e107_plugins/online/templates/online_menu_template.php @@ -73,13 +73,14 @@ $ONLINE_MENU_TEMPLATE['extended']['enabled'] = " {ONLINE_MEMBERS_REGISTERED}
  • {ONLINE_MOST} -
  • + "; @@ -89,16 +90,16 @@ $ONLINE_MENU_TEMPLATE['extended']['online_member_newest'] = "{SETIMAGE // Shortcode wrappers -$ONLINE_MENU_WRAPPER['extended']['ONLINE_GUESTS'] = "
  • ".LAN_ONLINE_1."{---}
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS'] = "
  • ".LAN_ONLINE_2."{---}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_GUESTS'] = "
  • {LAN=ONLINE}{---}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS'] = "
  • {LAN=ONLINE_2}{---}
  • "; $ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_LIST'] = ""; $ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_LIST_EXTENDED'] = "
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_ONPAGE'] = "
  • ".LAN_ONLINE_3."{---}
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_TOTAL'] = "
  • ".LAN_ONLINE_11."{---}
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBER_NEWEST'] = "
  • ".LAN_ONLINE_6."
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST'] = "".LAN_ONLINE_8."{---}
    "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST_MEMBERS'] = LAN_ONLINE_2."{---}"; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST_GUESTS'] = LAN_ONLINE_1."{---}"; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_ONPAGE'] = "
  • {LAN=ONLINE_3}{---}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_TOTAL'] = "
  • {LAN=ONLINE_11}{---}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBER_NEWEST'] = "
  • {LAN=ONLINE_6}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST'] = "{LAN=ONLINE_8}{---}"; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST_MEMBERS'] = "{LAN=ONLINE_2}{---}"; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST_GUESTS'] = "{LAN=ONLINE_1}{---}"; $ONLINE_MENU_WRAPPER['extended']['ONLINE_MOST_DATESTAMP'] = "{---}"; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_REGISTERED'] = "
  • ".LAN_ONLINE_11."{---}
  • "; -$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBER_PAGE'] = LAN_ONLINE_7." {---}"; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBERS_REGISTERED'] = "
  • {LAN=ONLINE_11}{---}
  • "; +$ONLINE_MENU_WRAPPER['extended']['ONLINE_MEMBER_PAGE'] = "{LAN=ONLINE_7} {---}";