diff options
author | cvogeley <christian.vogeley@hotmail.de> | 2014-01-03 12:28:34 -0800 |
---|---|---|
committer | cvogeley <christian.vogeley@hotmail.de> | 2014-01-03 12:28:34 -0800 |
commit | 24850a4ea4676c96b6e0f97b45b23fe12e1c80a2 (patch) | |
tree | b8ce2f3b9ea14bb47b5f09ba64d17a0cc609154b /mod/editwebpage.php | |
parent | 475b24ca9e758b257bde6f81c727178ae8b64bec (diff) | |
parent | 87ff49544376f71cf0f10aef5123886a99b36239 (diff) | |
download | volse-hubzilla-24850a4ea4676c96b6e0f97b45b23fe12e1c80a2.tar.gz volse-hubzilla-24850a4ea4676c96b6e0f97b45b23fe12e1c80a2.tar.bz2 volse-hubzilla-24850a4ea4676c96b6e0f97b45b23fe12e1c80a2.zip |
Merge pull request #254 from cvogeley/master
Webpage fixes for the moment without the fix for page not found after editing a webpage
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r-- | mod/editwebpage.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php index 85bd9e918..00659b4b7 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -112,7 +112,8 @@ function editwebpage_content(&$a) { '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'), '$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'), '$geotag' => $geotag, - '$nickname' => $a->user['nickname'] + '$nickname' => $a->user['nickname'], + '$confirmdelete' => t('Delete webpage?') )); @@ -185,7 +186,7 @@ function editwebpage_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 Webpage') . '</a><br />'; + $o .= '<br /><br /><a class="page-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Webpage') . '</a><br />'; return $o; |