kleptine
This should work. In the configuration manager, under tplmod, in the page tools option box, enter 'revert'. Then in action.php, at the end of the file, enter the following:
if($act == 'revert') {
$event->data = 'login';
return 1;
}
above the following lines:
$event->data = 'show';
return 1;
Any illegal attempts to revert pages will be redirected to the login page.
So the end of the file will look like this:
if($act == 'revert') {
$event->data = 'login';
return 1;
}
$event->data = 'show';
return 1;