aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-01 18:22:31 -0700
committerfriendica <info@friendica.com>2013-09-01 18:22:31 -0700
commitcbab62c95efdd3ab306736a430698313b6b2a320 (patch)
tree5f67ee43ec3523a4e611b1f9ab475ae895d89f25 /mod/webpages.php
parentde3345f5f39f080e00c2572b48a53d85c7f65b5c (diff)
downloadvolse-hubzilla-cbab62c95efdd3ab306736a430698313b6b2a320.tar.gz
volse-hubzilla-cbab62c95efdd3ab306736a430698313b6b2a320.tar.bz2
volse-hubzilla-cbab62c95efdd3ab306736a430698313b6b2a320.zip
add layouts and editlayout and rework the page logic in mod/item
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index fb133eccf..f3e1cd2f7 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -45,7 +45,7 @@ function webpages_content(&$a) {
// Nickname is set to the observers xchan, and profile_uid to the owners. This lets you post pages at other people's channels.
require_once ('include/conversation.php');
$x = array(
- 'webpage' => 1,
+ 'webpage' => ITEM_WEBPAGE,
'is_owner' => true,
'nickname' => $a->profile['channel_address'],
'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),