mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Check $tpl_vars['QUESTION'] in print_confirmation() (#977)
This commit is contained in:
parent
65c5e5a275
commit
1af9cfbbb9
3 changed files with 7 additions and 2 deletions
|
@ -1642,6 +1642,11 @@ function print_confirmation($tpl_vars)
|
|||
'CONFIRM_TITLE' => $lang['CONFIRM'],
|
||||
'FORM_METHOD' => 'post'
|
||||
]);
|
||||
|
||||
if (!isset($tpl_vars['QUESTION'])) {
|
||||
$tpl_vars['QUESTION'] = $lang['QUESTION'];
|
||||
}
|
||||
|
||||
$template->assign_vars($tpl_vars);
|
||||
|
||||
print_page('common.tpl');
|
||||
|
|
|
@ -2369,7 +2369,7 @@ $lang['TEMPLATE_DISABLE'] = 'Template disabled';
|
|||
$lang['FOR_NEW_TEMPLATE'] = 'for new patterns!';
|
||||
$lang['CHANGED'] = 'Changed';
|
||||
$lang['REMOVED'] = 'Removed';
|
||||
$lang['QUESTION'] = 'Are you sure want to delete?';
|
||||
$lang['QUESTION'] = 'Confirm are you sure you want to perform this action';
|
||||
|
||||
$lang['CRON_LIST'] = 'Cron list';
|
||||
$lang['CRON_ID'] = 'ID';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue