From 325c5e4e7650329a42f61e9180fe986ef63671b5 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 12 Jan 2014 02:29:03 +0100 Subject: delete confirmation popup for blocks and layouts --- mod/editlayout.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mod/editlayout.php') diff --git a/mod/editlayout.php b/mod/editlayout.php index 86de0e676..838a219c9 100644 --- a/mod/editlayout.php +++ b/mod/editlayout.php @@ -78,7 +78,8 @@ function editlayout_content(&$a) { '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'), '$ispublic' => ' ', // t('Visible to everybody'), '$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 .= '

' . t('Delete Layout') . '
'; + $o .= '

' . t('Delete Layout') . '
'; return $o; -- cgit v1.2.3