]> git.mxchange.org Git - mailer.git/commitdiff
Script action-sponsor.php in guest area doesn't display the navigation link 'You...
authorRoland Häder <roland@mxchange.org>
Fri, 15 Jul 2011 11:35:36 +0000 (11:35 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 15 Jul 2011 11:35:36 +0000 (11:35 +0000)
inc/modules/guest/action-
inc/modules/guest/action-sponsor.php

index ff7b1c2f41b3dda174875f63368c9a89f9aa3e9c..9da192b5a600fa562b7044b7f07e72b34f5b81f4 100644 (file)
@@ -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());
index d722817bb8b6f54f76fdd27968435c2efeae8f14..5585482f50eae8e11ea4fff702ec47541d58ecc5 100644 (file)
@@ -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)) {