diff options
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r-- | mod/editwebpage.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php index 273c6a465..ea07a3758 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -85,7 +85,7 @@ function editwebpage_content(&$a) { $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( - '$title' => t('Edit post') + '$title' => t('Edit Webpage') )); @@ -153,6 +153,11 @@ function editwebpage_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 Webpage') . '</a><br />'; + return $o; } |