|
From: Jon O. <jon...@us...> - 2007-09-09 20:35:03
|
Update of /cvsroot/mxbb/mx_profilecp/tutorials/samples In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29949 Modified Files: profilcp_new_panel.php profilcp_newmenu_newsub1.php profilcp_newmenu_newsub2.php Log Message: for 2.9.x Index: profilcp_new_panel.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_new_panel.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_new_panel.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_new_panel.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 89,99 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 89,99 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 130,134 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 130,134 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_newmenu_newsub1.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub1.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_newmenu_newsub1.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_newmenu_newsub1.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 68,78 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 68,78 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 109,113 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 109,113 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_newmenu_newsub2.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub2.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_newmenu_newsub2.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_newmenu_newsub2.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 68,78 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 68,78 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 109,113 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 109,113 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); |