aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-08-14 20:46:48 +0100
committerThomas Willingham <founder@kakste.com>2013-08-14 20:46:48 +0100
commit608e04c65eb2433a1cece9b5798f8577b611a288 (patch)
treec63c91f20d0bd5fd71e9afda20998d00ea28e3a8 /mod/page.php
parenta0dfd44f9178796eaf55e4a2ab0194c12e7dfd21 (diff)
downloadvolse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.tar.gz
volse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.tar.bz2
volse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.zip
More progress on pages - extend writepages widget, add pagelist widget
Diffstat (limited to 'mod/page.php')
-rw-r--r--mod/page.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/page.php b/mod/page.php
index 1bdc3027a..4b2b95b6a 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -58,7 +58,6 @@ function page_content(&$a) {
dbesc($page_id),
intval(ITEM_WEBPAGE)
);
- logger('r: ' . print_r($r,true));
if(! $r) {
notice( t('Item not found.') . EOL);
@@ -66,16 +65,13 @@ function page_content(&$a) {
}
// Use of widgets should be determined by Comanchie, but we don't have it yet, so...
-
-
if ($perms['write_pages']) {
+ $chan = $a->channel['channel_id'];
$who = $channel_address;
$which = $r[0]['id'];
$o .= writepages_widget($who,$which);
}
-
-
xchan_query($r);
$r = fetch_post_tags($r,true);
$a->profile = array('profile_uid' => $u[0]['channel_id']);