projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fdb7674
)
All JavaScript files can now secured against calls without proper installation of...
author
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 04:11:19 +0000
(
04:11
+0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 04:11:19 +0000
(
04:11
+0000)
inc/js/js-
patch
|
blob
|
history
inc/js/js-order_send.php
patch
|
blob
|
history
inc/js/js-surfbar_member_book.php
patch
|
blob
|
history
inc/js/js-surfbar_member_edit.php
patch
|
blob
|
history
inc/js/js-surfbar_stopped.php
patch
|
blob
|
history
inc/js/js-uberwach.php
patch
|
blob
|
history
diff --git
a/inc/js/js-
b/inc/js/js-
index 56b4ffdaccf380687f804b1c1dd147363d1b9653..037857acddf5357ada32b366fe868343dd1d76ef 100644
(file)
--- a/
inc/js/js-
+++ b/
inc/js/js-
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('')) {
+ return;
+}
// [EOF]
?>
// [EOF]
?>
diff --git
a/inc/js/js-order_send.php
b/inc/js/js-order_send.php
index b44d43d8fe99e650252de471fdac23b37d3c527e..916faaba6008abca21ff5897a7a9352180cacaff 100644
(file)
--- a/
inc/js/js-order_send.php
+++ b/
inc/js/js-order_send.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('order')) {
+ return;
+}
// Simply load the JavaScript here
loadTemplate('js_order_sent');
// Simply load the JavaScript here
loadTemplate('js_order_sent');
diff --git
a/inc/js/js-surfbar_member_book.php
b/inc/js/js-surfbar_member_book.php
index 1b74ecc5f1fde133e74b2f9a5af1166efb5be34e..33085a33c8288d90fe43b1de90ee68959b688e7a 100644
(file)
--- a/
inc/js/js-surfbar_member_book.php
+++ b/
inc/js/js-surfbar_member_book.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+ return;
+}
// Simply load the JavaScript here
loadTemplate('js_surfbar_member_book');
// Simply load the JavaScript here
loadTemplate('js_surfbar_member_book');
diff --git
a/inc/js/js-surfbar_member_edit.php
b/inc/js/js-surfbar_member_edit.php
index 6d0c53a54ac02df5538602874081c9002b6faa5b..cffc6b92e5f2de09532a6cae4f5121a96c72b464 100644
(file)
--- a/
inc/js/js-surfbar_member_edit.php
+++ b/
inc/js/js-surfbar_member_edit.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+ return;
+}
// Prepare content
$content = array(
// Prepare content
$content = array(
diff --git
a/inc/js/js-surfbar_stopped.php
b/inc/js/js-surfbar_stopped.php
index 69c25416f8a5528dab7fc04967c5b396f77f4f7d..2f3c987b2166a3c70802f72643c62afddb105a09 100644
(file)
--- a/
inc/js/js-surfbar_stopped.php
+++ b/
inc/js/js-surfbar_stopped.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+ return;
+}
// Prepare content
$content = array(
// Prepare content
$content = array(
diff --git
a/inc/js/js-uberwach.php
b/inc/js/js-uberwach.php
index bf07a96fccadafd261c9f9e7230a05a0b85b85ca..e85f11e28464f61e5c590686e3b36cdd77507cb7 100644
(file)
--- a/
inc/js/js-uberwach.php
+++ b/
inc/js/js-uberwach.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('uberwach')) {
+ return;
+}
// Simply load the JavaScript here
loadTemplate('js_uberwach');
// Simply load the JavaScript here
loadTemplate('js_uberwach');