git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@46 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-06-29 17:33:59 +00:00
commit aeb6f74161

View file

@ -249,6 +249,16 @@ class ajax_common
$this->send(); $this->send();
} }
/**
* Prompt for confirmation
*/
function prompt_for_confirm ($confirm_msg = 'Точно?')
{
$this->response['prompt_confirm'] = 1;
$this->response['confirm_msg'] = $confirm_msg;
$this->send();
}
/** /**
* Verify mod rights * Verify mod rights
*/ */