mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r46
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@46 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
688d528901
commit
aeb6f74161
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue