]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-surfbar_stopped.php
Marked some unfinished extensions as 'work-in-progress'
[mailer.git] / inc / js / js-surfbar_stopped.php
index 69c25416f8a5528dab7fc04967c5b396f77f4f7d..ba2ef1eeac94f67c8544901bd67568f3845278a7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/20/2009 *
- * ===============                              Last change: 10/20/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 10/20/2009 *
+ * ===================                          Last change: 10/20/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : js-surfbar_stopped.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 *
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+       return;
+}
 
 // Prepare content
 $content = array(
-       'restart'   => bigintval(getRequestElement('restart')),
-       'autostart' => getRequestElement('autostart')
+       'restart'   => bigintval(getRequestParameter('restart')),
+       'autostart' => getRequestParameter('autostart')
 );
 
 // Load template