aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editwebpage.php
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-16 15:41:43 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-16 15:41:43 -0700
commit507d04a98772ca73d9d1c1b4fb324159cff1d8ae (patch)
treec506762303a8f5940b3d443b6675a7a3c9fa8c68 /mod/editwebpage.php
parentf09df061303f2f237865441a8d1dde133b33f5f2 (diff)
parent10cc643f650b5ff0954ff988fbf768ea5e061571 (diff)
downloadvolse-hubzilla-507d04a98772ca73d9d1c1b4fb324159cff1d8ae.tar.gz
volse-hubzilla-507d04a98772ca73d9d1c1b4fb324159cff1d8ae.tar.bz2
volse-hubzilla-507d04a98772ca73d9d1c1b4fb324159cff1d8ae.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r--mod/editwebpage.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index e30a33171..55cd3b4ef 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -221,21 +221,6 @@ logger('canwrite: ' . (perm_is_allowed($owner, get_observer_hash(), 'post_photos
if(($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash))
$o .= '<br /><br /><a class="page-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Webpage') . '</a><br />';
-
- $x = array(
- 'type' => 'webpage',
- 'title' => $itm[0]['title'],
- 'body' => $itm[0]['body'],
- 'term' => $itm[0]['term'],
- 'created' => $itm[0]['created'],
- 'edited' => $itm[0]['edited'],
- 'mimetype' => $itm[0]['mimetype'],
- 'pagetitle' => $page_title,
- 'mid' => $itm[0]['mid']
- );
-
- $o .= EOL . EOL . t('Share') . EOL . '<textarea onclick="this.select();" class="shareable_element_text" >[element]' . base64url_encode(json_encode($x)) . '[/element]</textarea>' . EOL . EOL;
-
return $o;
}