From 76dfad931175a2ae0bb00f33d5f332ff8780f962 Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 6 Mar 2020 14:18:57 -0800 Subject: [PATCH] Admin-UI: Fix for $adminMenu attribute 'modal-caption' not functioning. Use 'modal'=>true to enable first. --- e107_tests/tests/unit/e_user_providerTest.php | 2 +- e107_themes/bootstrap3/admin_template.php | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/e107_tests/tests/unit/e_user_providerTest.php b/e107_tests/tests/unit/e_user_providerTest.php index 263ae0e4e..658278758 100644 --- a/e107_tests/tests/unit/e_user_providerTest.php +++ b/e107_tests/tests/unit/e_user_providerTest.php @@ -34,7 +34,7 @@ class e_user_providerTest extends \Codeception\Test\Unit $this->assertIsArray($result); $this->assertContains("Facebook", $result); $this->assertContains("Twitter", $result); - $this->assertCount(42, $result, + $this->assertCount(45, $result, "The number of Hybridauth providers has changed! If this is intentional, note the change " . "in Hybridauth providers in the release changelog and update the count in this test." ); diff --git a/e107_themes/bootstrap3/admin_template.php b/e107_themes/bootstrap3/admin_template.php index d5b0454be..888b566a2 100644 --- a/e107_themes/bootstrap3/admin_template.php +++ b/e107_themes/bootstrap3/admin_template.php @@ -54,7 +54,7 @@ $E_ADMIN_NAVIGATION['button_enav_home'] = '
  • -  {LINK_TEXT}{LINK_BADGE} +  {LINK_TEXT}{LINK_BADGE} {SUB_MENU}
  • '; $E_ADMIN_MENU['button_active'] = '
  • -  {LINK_TEXT}{LINK_BADGE} +  {LINK_TEXT}{LINK_BADGE} {SUB_MENU}
  • '; $E_ADMIN_MENU['start_sub'] = ' -