From 2efa0c2a12d77f9c0133e6f86a2a83a68700b743 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 15 Jul 2011 11:35:36 +0000 Subject: [PATCH] Script action-sponsor.php in guest area doesn't display the navigation link 'You are here' --- inc/modules/guest/action- | 2 +- inc/modules/guest/action-sponsor.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index ff7b1c2f41..9da192b5a6 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -49,7 +49,7 @@ addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('')) && (!isAdmin())) { displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}'); return; -} +} // END - if // Load the include file $inc = sprintf("inc/modules/guest/what-%s.php", getWhat()); diff --git a/inc/modules/guest/action-sponsor.php b/inc/modules/guest/action-sponsor.php index d722817bb8..5585482f50 100644 --- a/inc/modules/guest/action-sponsor.php +++ b/inc/modules/guest/action-sponsor.php @@ -42,6 +42,14 @@ if (!defined('__SECURITY')) { return; } +// Add description as navigation point +addYouAreHereLink('guest', __FILE__); + +if ((!isExtensionActive('sponsor')) && (!isAdmin())) { + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}'); + return; +} // END - if + // Load the include file $inc = sprintf("inc/modules/guest/what-%s.php", getWhat()); if (isIncludeReadable($inc)) { -- 2.39.5