aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editlayout.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-01-12 02:29:03 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-01-12 02:29:03 +0100
commit325c5e4e7650329a42f61e9180fe986ef63671b5 (patch)
tree2bb1cb7b53cff6598fc27811019808ab37898e96 /mod/editlayout.php
parentb5fbee67b14e32c85f1548ac1ce7a8cf7f32df2d (diff)
downloadvolse-hubzilla-325c5e4e7650329a42f61e9180fe986ef63671b5.tar.gz
volse-hubzilla-325c5e4e7650329a42f61e9180fe986ef63671b5.tar.bz2
volse-hubzilla-325c5e4e7650329a42f61e9180fe986ef63671b5.zip
delete confirmation popup for blocks and layouts
Diffstat (limited to 'mod/editlayout.php')
-rw-r--r--mod/editlayout.php5
1 files changed, 3 insertions, 2 deletions
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' => '&nbsp;', // 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;