|
From: Jon O. <jon...@us...> - 2006-06-29 19:07:10
|
Update of /cvsroot/mxbb/mx_quotations/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19541/modules/mx_quotations/includes Modified Files: mx_quotations_add.php mx_quotations_del.php mx_quotations_edit.php Log Message: code cleanup Index: mx_quotations_add.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/includes/mx_quotations_add.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_quotations_add.php 5 Apr 2006 23:04:08 -0000 1.8 --- mx_quotations_add.php 29 Jun 2006 19:06:57 -0000 1.9 *************** *** 8,12 **** * */ ! if ( !defined( 'IN_PORTAL' ) ) { --- 8,12 ---- * */ ! if ( !defined( 'IN_PORTAL' ) ) { *************** *** 55,66 **** $template->set_filenames( array( "mx_quotations_add" => "mx_quotations_add.tpl" ) ); ! $template->assign_vars( array( 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'add' ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_ADD_QUOTE' => $lang['Add_Quote'], ! 'L_SUBMIT' => $lang['Submit'] ! ) ! ); $template->pparse( "mx_quotations_add" ); } --- 55,67 ---- $template->set_filenames( array( "mx_quotations_add" => "mx_quotations_add.tpl" ) ); ! $template->assign_vars( array( ! 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'add' ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_ADD_QUOTE' => $lang['Add_Quote'], ! 'L_SUBMIT' => $lang['Submit'] ! )); $template->pparse( "mx_quotations_add" ); } + ?> \ No newline at end of file Index: mx_quotations_del.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/includes/mx_quotations_del.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_quotations_del.php 5 Apr 2006 23:04:08 -0000 1.7 --- mx_quotations_del.php 29 Jun 2006 19:06:57 -0000 1.8 *************** *** 63,76 **** $template->set_filenames( array( "mx_quotations_del" => "mx_quotations_del.tpl" ) ); ! $template->assign_vars( array( 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'del', 'quote_id', $HTTP_GET_VARS['quote_id'] ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_DELETE_QUOTE' => $lang['Delete_Quote'], ! 'L_DELETE' => $lang['Delete'], ! 'L_CANCEL' => $lang['Cancel'], ! 'QUOTE' => $quote, ! 'AUTHOR' => $author ! ) ! ); $template->pparse( "mx_quotations_del" ); --- 63,76 ---- $template->set_filenames( array( "mx_quotations_del" => "mx_quotations_del.tpl" ) ); ! $template->assign_vars( array( ! 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'del', 'quote_id', $HTTP_GET_VARS['quote_id'] ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_DELETE_QUOTE' => $lang['Delete_Quote'], ! 'L_DELETE' => $lang['Delete'], ! 'L_CANCEL' => $lang['Cancel'], ! 'QUOTE' => $quote, ! 'AUTHOR' => $author ! )); $template->pparse( "mx_quotations_del" ); *************** *** 78,79 **** --- 78,80 ---- $db->sql_freeresult( $result1 ); } + ?> \ No newline at end of file Index: mx_quotations_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/includes/mx_quotations_edit.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_quotations_edit.php 5 Apr 2006 23:04:08 -0000 1.8 --- mx_quotations_edit.php 29 Jun 2006 19:06:57 -0000 1.9 *************** *** 8,12 **** * */ ! if ( !defined( 'IN_PORTAL' ) ) { --- 8,12 ---- * */ ! if ( !defined( 'IN_PORTAL' ) ) { *************** *** 78,90 **** $template->set_filenames( array( "mx_quotations_edit" => "mx_quotations_edit.tpl" ) ); ! $template->assign_vars( array( 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'edit', 'quote_id', $HTTP_GET_VARS['quote_id'] ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_EDIT_QUOTE' => $lang['Edit_Quote'], ! 'L_SUBMIT' => $lang['Submit'], ! 'QUOTE' => $quote, ! 'AUTHOR' => $author ! ) ! ); $template->pparse( "mx_quotations_edit" ); --- 78,90 ---- $template->set_filenames( array( "mx_quotations_edit" => "mx_quotations_edit.tpl" ) ); ! $template->assign_vars( array( ! 'U_ACTION' => mx_url( 'page', $HTTP_GET_VARS['page'], 'quote_action', 'edit', 'quote_id', $HTTP_GET_VARS['quote_id'] ), ! 'L_QUOTE' => $lang['Quote'], ! 'L_AUTHOR' => $lang['Author'], ! 'L_EDIT_QUOTE' => $lang['Edit_Quote'], ! 'L_SUBMIT' => $lang['Submit'], ! 'QUOTE' => $quote, ! 'AUTHOR' => $author ! )); $template->pparse( "mx_quotations_edit" ); *************** *** 92,93 **** --- 92,94 ---- $db->sql_freeresult( $result1 ); } + ?> \ No newline at end of file |