diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-16 10:46:59 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-16 10:46:59 +0200 |
commit | b42bb09635c6040945bcc65e7b7e6218870b92ea (patch) | |
tree | f3da1c36c4f5eb016e319629ce049658a0d5a924 | |
parent | 86ac9c0d6b56651cb79c60a616f8340524d1573e (diff) | |
download | volse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.tar.gz volse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.tar.bz2 volse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.zip |
whitespace
-rw-r--r-- | mod/webpages.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mod/webpages.php b/mod/webpages.php index 75803e908..5013d803a 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -142,23 +142,23 @@ function webpages_content(&$a) { foreach($r as $rr) { unobscure($rr); $element_arr = array( - 'type' => 'webpage', - 'title' => $rr['title'], - 'body' => $rr['body'], - 'term' => $rr['term'], - 'created' => $rr['created'], - 'edited' => $rr['edited'], - 'mimetype' => $rr['mimetype'], - 'pagetitle' => $rr['sid'], - 'mid' => $rr['mid'] + 'type' => 'webpage', + 'title' => $rr['title'], + 'body' => $rr['body'], + 'term' => $rr['term'], + 'created' => $rr['created'], + 'edited' => $rr['edited'], + 'mimetype' => $rr['mimetype'], + 'pagetitle' => $rr['sid'], + 'mid' => $rr['mid'] ); $pages[$rr['iid']][] = array( - 'url' => $rr['iid'], - 'pagetitle' => $rr['sid'], - 'title' => $rr['title'], - 'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']), - 'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited']), - 'bb_element' => '[element]' . base64url_encode(json_encode($element_arr)) . '[/element]' + 'url' => $rr['iid'], + 'pagetitle' => $rr['sid'], + 'title' => $rr['title'], + 'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']), + 'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited']), + 'bb_element' => '[element]' . base64url_encode(json_encode($element_arr)) . '[/element]' ); } } |