aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editblock.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/editblock.php')
-rw-r--r--mod/editblock.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/editblock.php b/mod/editblock.php
index 32ad3de2c..dcb4b42a7 100644
--- a/mod/editblock.php
+++ b/mod/editblock.php
@@ -92,7 +92,8 @@ function editblock_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 block?')
));
@@ -159,7 +160,7 @@ function editblock_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 Block') . '</a><br />';
+ $o .= '<br /><br /><a class="block-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Block') . '</a><br />';
return $o;