|
From: Meik S. <acy...@us...> - 2007-09-22 18:29:39
|
Update of /cvsroot/phpbb/phpBB2/includes/mcp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9449/mcp Modified Files: mcp_ban.php mcp_notes.php mcp_post.php mcp_warn.php Log Message: #i62 - #i65 gone through every javascript invocation and making sure we adhere to our coding guidelines. Index: mcp_ban.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/mcp/mcp_ban.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mcp_ban.php 22 Jul 2007 20:10:09 -0000 1.14 --- mcp_ban.php 22 Sep 2007 18:29:39 -0000 1.15 *************** *** 143,147 **** 'U_ACTION' => $this->u_action, ! 'U_FIND_USER' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp_ban&field=ban'), )); --- 143,147 ---- 'U_ACTION' => $this->u_action, ! 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp_ban&field=ban'), )); Index: mcp_post.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/mcp/mcp_post.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** mcp_post.php 21 Sep 2007 15:05:04 -0000 1.59 --- mcp_post.php 22 Sep 2007 18:29:39 -0000 1.60 *************** *** 177,181 **** 'U_EDIT' => ($auth->acl_get('m_edit', $post_info['forum_id'])) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f={$post_info['forum_id']}&p={$post_info['post_id']}") : '', 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp_chgposter&field=username&select_single=true'), - 'UA_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp_chgposter&field=username&select_single=true', false), 'U_MCP_APPROVE' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $post_info['forum_id'] . '&p=' . $post_id), 'U_MCP_REPORT' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $post_info['forum_id'] . '&p=' . $post_id), --- 177,180 ---- Index: mcp_warn.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/mcp/mcp_warn.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** mcp_warn.php 19 Aug 2007 13:36:54 -0000 1.49 --- mcp_warn.php 22 Sep 2007 18:29:39 -0000 1.50 *************** *** 72,76 **** $template->assign_vars(array( 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true'), - 'UA_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true', false), 'U_POST_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_user'), )); --- 72,75 ---- Index: mcp_notes.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/mcp/mcp_notes.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** mcp_notes.php 22 Jul 2007 20:10:09 -0000 1.39 --- mcp_notes.php 22 Sep 2007 18:29:39 -0000 1.40 *************** *** 43,51 **** $template->assign_vars(array( 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true'), - 'UA_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true', false), 'U_POST_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes'), ! 'L_TITLE' => $user->lang['MCP_NOTES']) ! ); $this->tpl_name = 'mcp_notes_front'; --- 43,50 ---- $template->assign_vars(array( 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true'), 'U_POST_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes'), ! 'L_TITLE' => $user->lang['MCP_NOTES'], ! )); $this->tpl_name = 'mcp_notes_front'; |