1
just adds a new function so i can specify my own error messages:
function error_text($error, $pages=1){
global $xoopsConfig, $xoopsUser, $xoopsRequestUri, $xoopsModule, $xoopsLogger, $HTTP_SERVER_VARS;
echo "";
exit();
}
after initializing the errorhandler to $eh, you would call the function like so:
$eh->error_text("Please enter value for WHATEVER");
small feature, doesn't hurt XOOPS core at all, just adds to it
if this or something similar could be implemented in the future (if not already and i just don't know about it...), that'd be great