]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-surfbar_frame_top.php
Language id renamed, some network query amounts added
[mailer.git] / inc / js / js-surfbar_frame_top.php
index 9c9240b1450dde58a079d5b8b00a12031065c8d7..cc9c63e55c73cad143e55c238f62312db75362b9 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -46,17 +46,16 @@ if (!defined('__SECURITY')) {
 SURFBAR_INIT();
 
 // Init data
-SURFBAR_DETERMINE_NEXT_ID(getRequestParameter('url_id'));
+SURFBAR_DETERMINE_NEXT_ID(getRequestElement('url_id'));
 
 // Check reload-locks
 SURFBAR_CHECK_RELOAD_FULL();
 
-// Update stats
-SURFBAR_UPDATE_SALT_STATS();
-
 // Prepare content
 $content = array(
-       'url_id' => bigintval(getRequestParameter('url_id'))
+       'url_id' => bigintval(getRequestElement('url_id')),
+       'check'  => SURFBAR_GENERATE_VALIDATION_CODE(getRequestElement('url_id'), SURFBAR_GET_LAST_SALT()),
+       'salt'   => SURFBAR_GET_LAST_SALT(),
 );
 
 // Load template