Updated copyright year.
[mailer.git] / inc / js / js-uberwach.php
index a73fe0779e3b5b27ed1e4310a242e846c606267c..46f3e57dffd976357bfb90c54a905f2ef32f3409 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 07/31/2009 *
- * ===============                              Last change: 07/31/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 07/31/2009 *
+ * ===================                          Last change: 10/20/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : js-uberwach.php                                  *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : JavaScript-Tag fuer ext-uberwach.php             *
  * -------------------------------------------------------------------- *
- * $Revision:: 1075                                                   $ *
- * $Date:: 2009-07-27 22:18:23 +0200 (Mon, 27 Jul 2009)               $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: quix0r                                                   $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
+ * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
-} // END - if
+       die();
+} elseif (!isExtensionActive('uberwach')) {
+       return;
+}
 
 // Simply load the JavaScript here
-LOAD_TEMPLATE('js_uberwach');
+loadTemplate('js_uberwach');
 
+// [EOF]
 ?>