Reviewer Decision confirmation control - version 1.x!

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Reviewer Decision confirmation control - version 1.x!

Postby ramon » Thu Nov 17, 2005 6:57 am

Dear OJSers,

Some reviewers do not read what they are doing, and confirming the first decision option (which is Accept), sending the email, and then, later on, whishing to change that decision.

I have created a little script in the submit button that shows the value selected to the Reviewer. If he accepts the value, the email form is opened, else, it returns to the confirmation form.

A simple feedback to the those not so attentive...

Change ojs/admin/include/table2.php, near line 240:
Here's the code

Code: Select all

[b]Replace or comment the line starting with the minus sign'-'[/b]
- echo "<input type=\"button\" class=\"button\" value=\""._tr('SUBMIT_REVIEW')."\" onClick=\"return(openMailPopup('../include/sendemail.php?emailid=6&articleid=$id&revid=$roleid&toeditor=true', 'true'))\"" . ($row["dtDateConfirmedDeclined"] == "" ? " disabled=\"disabled\"" : "") . " />";

[b]with this line starting from the plus sign  '+' (do not type in the signs...!)   [/b]         

<input type ="button" class="button" value="<? echo _tr('SUBMIT_REVIEW'); ?>" onClick="var theValue = document.theform.nRecommendation.options[document.theform.nRecommendation['selectedIndex']]; if( confirm ('<? echo _tr('DEFAULT_STANDARD_EMAIL_SUBJECT_3'); ?>\n<? echo _tr('DECISION') ;?>: '+theValue.text) == true) return (openMailPopup('../include/sendemail.php?emailid=6&articleid=$id&revid=$roleid&toeditor=true', 'true'));" <? echo ($row["dtDateConfirmedDeclined"] == '' ?  'disabled="disabled"' : '')  ?> />

No new variables created, and may be included (if not already) to version 2.x in many ways...

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests