]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-uberwach.php
Naming convention applied to language strings, new API function added:
[mailer.git] / inc / js / js-uberwach.php
index bf07a96fccadafd261c9f9e7230a05a0b85b85ca..1e08f572721bebebcae1be6574f8864eb394fb30 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 07/31/2009 *
- * ===============                              Last change: 10/20/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 07/31/2009 *
+ * ===================                          Last change: 10/20/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : js-uberwach.php                                  *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -39,7 +40,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('uberwach')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_uberwach');