]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bank_deposit.php
More language constants rewritten ({--LANGUAGE--} is for constants)
[mailer.git] / inc / modules / member / what-bank_deposit.php
index ccae2649b9e0b09d82e0eddf96ab4a78ff867707..1344403fa0714ef2d3f53a32081074525fb59fb7 100644 (file)
@@ -4,7 +4,7 @@
  * ================                             Last change: 01/07/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
- * File              : what-                                            *
+ * File              : what-bank_deposit.php                            *
  * -------------------------------------------------------------------- *
  * Short description :                                                  *
  * -------------------------------------------------------------------- *
@@ -37,10 +37,13 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
+       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "bank");
+       return;
 }
 
 // Add description as navigation point
-ADD_DESCR("member", basename(__FILE__));
+ADD_DESCR("member", __FILE__);
 
 // Loads the name-matching template
 LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4));