diff options
author | Thomas Willingham <founder@kakste.com> | 2013-08-14 20:46:48 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-08-14 20:46:48 +0100 |
commit | 608e04c65eb2433a1cece9b5798f8577b611a288 (patch) | |
tree | c63c91f20d0bd5fd71e9afda20998d00ea28e3a8 /mod/page.php | |
parent | a0dfd44f9178796eaf55e4a2ab0194c12e7dfd21 (diff) | |
download | volse-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.php | 6 |
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']); |