]> 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 4a91118fcdf9f4e11ef700ae7233585c69d13ade..6fcdc9802119a50501600cd3fc1a96d876645e5c 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * 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                  *
+ * 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 *
  * it under the terms of the GNU General Public License as published by *
 // 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(getRequestParameter('views_max')),
-       'limited'   => bigintval(getRequestParameter('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]
 ?>