]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-surfbar_frame_top.php
Added more wrapper, commented out another noisy debug line
[mailer.git] / inc / js / js-surfbar_frame_top.php
index 1fa95763a75c15adf7f0ba74d2ccb98aaf7e2527..2013426452398db8242bdf715504dc3f72f5fa7a 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 - 2012 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 *
@@ -45,20 +43,19 @@ if (!defined('__SECURITY')) {
 }
 
 // Init surfbar
-SURFBAR_INIT();
+initSurfbar();
 
 // Init data
-SURFBAR_DETERMINE_NEXT_ID(getRequestParameter('url_id'));
+determineSurfbarNextId(getRequestElement('url_id'));
 
 // Check reload-locks
-SURFBAR_CHECK_RELOAD_FULL();
-
-// Update stats
-SURFBAR_UPDATE_SALT_STATS();
+isSurfbarReloadFull();
 
 // Prepare content
 $content = array(
-       'url_id' => bigintval(getRequestParameter('url_id'))
+       'url_id' => bigintval(getRequestElement('url_id')),
+       'check'  => generateSurfbarValidationCode(getRequestElement('url_id'), gerSurfbarLastSalt()),
+       'salt'   => gerSurfbarLastSalt(),
 );
 
 // Load template