From: Roland Häder Date: Fri, 15 Jul 2011 11:35:36 +0000 (+0000) Subject: Script action-sponsor.php in guest area doesn't display the navigation link 'You... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2efa0c2a12d77f9c0133e6f86a2a83a68700b743;p=mailer.git Script action-sponsor.php in guest area doesn't display the navigation link 'You are here' --- 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)) {