If you've tried to use some template variables with the rate_error.html form, and have not had success... go to the very bottom of rate.cgi and change the very last call to &site_html_rate_failure to:
$rec->{error} = "Sorry, you've already rated this resource once recently." ;
&site_html_rate_failure ( $rec, $dynamic);
}
You added one line, and changed the passed paramters in the existing one. These are the last lines of code in the program.
Nothing else needs to be changed.
Code:
else { $rec->{error} = "Sorry, you've already rated this resource once recently." ;
&site_html_rate_failure ( $rec, $dynamic);
}
You added one line, and changed the passed paramters in the existing one. These are the last lines of code in the program.
Nothing else needs to be changed.