Merge pull request #2688 from rabuzarus/2607-drop

frio: provide confirm modal
This commit is contained in:
Tobias Diekershoff 2016-07-26 10:45:52 +02:00 committed by GitHub
commit 18a35e9ceb
6 changed files with 35 additions and 3 deletions

View file

@ -434,7 +434,8 @@ function contacts_content(&$a) {
$a->page['aside'] = '';
return replace_macros(get_markup_template('contact_drop_confirm.tpl'), array(
'$contact' => _contact_detail_for_template($orig_record[0]),
'$header' => t('Drop contact'),
'$contact' => _contact_detail_for_template($orig_record[0]),
'$method' => 'get',
'$message' => t('Do you really want to delete this contact?'),
'$extra_inputs' => $inputs,