If you want you can change it to:
print Links::SiteHTML::display('my_error', { error => Links::language('MY_BAD_ACTION', $do) });
return;
...and it will show the error page. Then just create a new language variable in the admin panel:
MY_BAD_ACTION
The action '%s' is invalid and cannot be processed.
I'll look at changing this if people want a template based error.
Code:
print $IN->header(); print Links::SiteHTML::display('my_error', { error => Links::language('MY_BAD_ACTION', $do) });
return;
...and it will show the error page. Then just create a new language variable in the admin panel:
MY_BAD_ACTION
The action '%s' is invalid and cannot be processed.
I'll look at changing this if people want a template based error.