]> git.mxchange.org Git - mailer.git/commitdiff
All JavaScript files can now secured against calls without proper installation of...
authorRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2009 04:11:19 +0000 (04:11 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2009 04:11:19 +0000 (04:11 +0000)
inc/js/js-
inc/js/js-order_send.php
inc/js/js-surfbar_member_book.php
inc/js/js-surfbar_member_edit.php
inc/js/js-surfbar_stopped.php
inc/js/js-uberwach.php

index 56b4ffdaccf380687f804b1c1dd147363d1b9653..037857acddf5357ada32b366fe868343dd1d76ef 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('')) {
+       return;
+}
 
 // [EOF]
 ?>
index b44d43d8fe99e650252de471fdac23b37d3c527e..916faaba6008abca21ff5897a7a9352180cacaff 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('order')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_order_sent');
index 1b74ecc5f1fde133e74b2f9a5af1166efb5be34e..33085a33c8288d90fe43b1de90ee68959b688e7a 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_surfbar_member_book');
index 6d0c53a54ac02df5538602874081c9002b6faa5b..cffc6b92e5f2de09532a6cae4f5121a96c72b464 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+       return;
+}
 
 // Prepare content
 $content = array(
index 69c25416f8a5528dab7fc04967c5b396f77f4f7d..2f3c987b2166a3c70802f72643c62afddb105a09 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+       return;
+}
 
 // Prepare content
 $content = array(
index bf07a96fccadafd261c9f9e7230a05a0b85b85ca..e85f11e28464f61e5c590686e3b36cdd77507cb7 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('uberwach')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_uberwach');