]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-surfbar_member_edit.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / js / js-surfbar_member_edit.php
index 669ce13d8f69bd7cd3447d75c418f0439816f372..6fcdc9802119a50501600cd3fc1a96d876645e5c 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (!isExtensionActive('surfbar')) {
+} elseif ((!isExtensionActive('surfbar')) || (!isGetRequestElementSet('url_views_max')) || (!isGetRequestElementSet('limited'))) {
        return;
 }
 
 // Prepare content
 $content = array(
-       'views_max' => bigintval(getRequestElement('views_max')),
-       'limited'   => bigintval(getRequestElement('limited'))
+       'url_views_max' => getRequestElement('url_views_max'),
+       'limited'       => getRequestElement('limited')
 );
 
 // Simply load the JavaScript here
-loadTemplate('js_surfbar_member_edit', false, $content);
+loadTemplate('js_surfbar_member_edit', FALSE, $content);
 
 // [EOF]
 ?>