From: <ir...@us...> - 2012-09-05 03:57:26
|
Revision: 10140 http://xoops.svn.sourceforge.net/xoops/?rev=10140&view=rev Author: irmtfan Date: 2012-09-05 03:57:20 +0000 (Wed, 05 Sep 2012) Log Message: ----------- fix onsubmit js in admin mode viewpost and viewtopic Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewpost.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-09-04 17:31:14 UTC (rev 10139) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-09-05 03:57:20 UTC (rev 10140) @@ -1,3 +1,8 @@ +date 2012-09-05 +================================================ +1- minor bug fix: mistype in viewtopic and viewpost admin mode submit button when admin dont select any action +in newbb_viewpost.html and newbb_viewtopic.html + date 2012-09-01 ================================================ 1- add toggle $quickreply['expand'] to find quickreply hide/see Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewpost.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewpost.html 2012-09-04 17:31:14 UTC (rev 10139) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewpost.html 2012-09-05 03:57:20 UTC (rev 10140) @@ -21,7 +21,8 @@ <{if $viewer_level gt 1}> <div class="right" id="admin"> <{if $mode gt 1}> - <form name="form_posts_admin" action="action.post.php" method="POST" onsubmit="javascript: if(window.document.forum_posts_admin.op.value < 1){return false;}"> + <!-- irmtfan mistype forum_posts_admin => form_posts_admin --> + <form name="form_posts_admin" action="action.post.php" method="POST" onsubmit="javascript: if(window.document.form_posts_admin.op.value < 1){return false;}"> <{$smarty.const._ALL}>: <input type="checkbox" name="post_check" id="post_check" value="1" onclick="xoopsCheckAll('form_posts_admin', 'post_check');" /> <select name="op"> <option value="0"><{$smarty.const._SELECT}></option> Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-09-04 17:31:14 UTC (rev 10139) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-09-05 03:57:20 UTC (rev 10140) @@ -53,9 +53,11 @@ <!-- irmtfan hardcode removed style="float: right; text-align: right;" --> <div class="icon_right" id="admin"> <{if $mode gt 1}> - <form name="form_posts_admin" action="topicmanager.php" method="POST" onsubmit="javascript: if(window.document.forum_posts_admin.op.value < 1){return false;}"> + <!-- irmtfan mistype forum_posts_admin => form_posts_admin --> + <form name="form_posts_admin" action="topicmanager.php" method="POST" onsubmit="javascript: if(window.document.form_posts_admin.op.value < 1){return false;}"> <{$smarty.const._ALL}>: <input type="checkbox" name="post_check" id="post_check" value="1" onclick="xoopsCheckAll('form_posts_admin', 'post_check');" /> - <select name="mode"> + <!-- irmtfan mistype mode => op --> + <select name="op"> <option value="0"><{$smarty.const._SELECT}></option> <option value="delete"><{$smarty.const._DELETE}></option> <{if $status eq "pending"}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |