You have if (THIS_SCRIPT == 'inlinemod.php') when it should just be 'inlinemod'.
I think you could do something like
Code:
eval(standard_error(fetch_error('reason_blank')));
and then make an error phrase with varname reason_blank. I havem't tried it but other errors seem to work that way. I'm not sure if that sends the user back to the previous page or if they'd have to use the back button.