aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editwebpage.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-16 10:43:14 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-16 10:43:14 +0200
commit86ac9c0d6b56651cb79c60a616f8340524d1573e (patch)
tree4f149a01b1c67a68e587c153e655461b95e14e4f /mod/editwebpage.php
parent32f79374b0e1a6d21204d8a51f2c3c60b28c95ca (diff)
downloadvolse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.tar.gz
volse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.tar.bz2
volse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.zip
move share webpage element from editwebpage to webpages and make it shareable with rpost
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;
}