Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1739
 
1843
 
1843
 
account_password.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account_password.php 1739 2007-12-20 00:52:16Z hpdl $
   3+  $Id: account_password.php 1843 2008-12-12 13:32:10Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2003 osCommerce
   8+  Copyright (c) 2008 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
     
 !
2020 // needs to be included earlier to set the success message in the messageStack
  2121   require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_PASSWORD);
  2222 
<> 23 -  if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) {
   23+  if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {
2424     $password_current = tep_db_prepare_input($HTTP_POST_VARS['password_current']);
  2525     $password_new = tep_db_prepare_input($HTTP_POST_VARS['password_new']);
  2626     $password_confirmation = tep_db_prepare_input($HTTP_POST_VARS['password_confirmation']);
     
 !
8787 <!-- left_navigation_eof //-->
  8888     </table></td>
  8989 <!-- body_text //-->
<> 90 -    <td width="100%" valign="top"><?php echo tep_draw_form('account_password', tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL'), 'post', 'onSubmit="return check_form(account_password);"') . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
   90+    <td width="100%" valign="top"><?php echo tep_draw_form('account_password', tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL'), 'post', 'onSubmit="return check_form(account_password);"', true) . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<_ 9191       <tr>
  9292         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  9393           <tr>