From 77241abbad551de8a8a2fc8781941c59658fb88c Mon Sep 17 00:00:00 2001 From: Kevin Wiliarty Date: Thu, 6 Aug 2015 00:16:19 -0400 Subject: [PATCH] MDL-51013 themes: Suppress navbar button when custom menu is empty --- theme/bootstrapbase/layout/columns1.php | 6 +-- theme/bootstrapbase/layout/columns2.php | 6 +-- theme/bootstrapbase/layout/columns3.php | 6 +-- theme/bootstrapbase/layout/popup.php | 6 +-- theme/bootstrapbase/layout/secure.php | 6 +-- .../bootstrapbase/renderers/core_renderer.php | 37 ++++++++++++++----- theme/clean/layout/columns1.php | 6 +-- theme/clean/layout/columns2.php | 6 +-- theme/clean/layout/columns3.php | 6 +-- theme/clean/layout/secure.php | 6 +-- 10 files changed, 36 insertions(+), 55 deletions(-) diff --git a/theme/bootstrapbase/layout/columns1.php b/theme/bootstrapbase/layout/columns1.php index 5fad0139f35..7c9a8b39e7a 100644 --- a/theme/bootstrapbase/layout/columns1.php +++ b/theme/bootstrapbase/layout/columns1.php @@ -41,11 +41,7 @@ echo $OUTPUT->doctype() ?> shortname, true, array('context' => context_course::instance(SITEID))); ?> - - - - - + navbar_button(); ?> user_menu(); ?>