diff options
Diffstat (limited to 'mod/editblock.php')
-rw-r--r-- | mod/editblock.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/editblock.php b/mod/editblock.php index 6654a66b5..48136b126 100644 --- a/mod/editblock.php +++ b/mod/editblock.php @@ -80,7 +80,7 @@ function editblock_content(&$a) { $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( - '$title' => t('Edit block') + '$title' => t('Edit Block') )); @@ -147,6 +147,12 @@ function editblock_content(&$a) { '$sourceapp' => t($a->sourcename), )); + + $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 />'; + return $o; } |