delete confirmation popup for blocks and layouts
This commit is contained in:
@@ -78,7 +78,8 @@ function editlayout_content(&$a) {
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
'$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'),
|
||||
'$geotag' => $geotag,
|
||||
'$nickname' => $a->user['nickname']
|
||||
'$nickname' => $a->user['nickname'],
|
||||
'$confirmdelete' => t('Delete layout?')
|
||||
));
|
||||
|
||||
|
||||
@@ -143,7 +144,7 @@ function editlayout_content(&$a) {
|
||||
$ob = get_observer_hash();
|
||||
|
||||
if(($itm[0]['author_xchan'] === $ob) || ($itm[0]['owner_xchan'] === $ob))
|
||||
$o .= '<br /><br /><a href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Layout') . '</a><br />';
|
||||
$o .= '<br /><br /><a class="layout-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Layout') . '</a><br />';
|
||||
|
||||
return $o;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user