aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-16 10:46:59 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-16 10:46:59 +0200
commitb42bb09635c6040945bcc65e7b7e6218870b92ea (patch)
treef3da1c36c4f5eb016e319629ce049658a0d5a924
parent86ac9c0d6b56651cb79c60a616f8340524d1573e (diff)
downloadvolse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.tar.gz
volse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.tar.bz2
volse-hubzilla-b42bb09635c6040945bcc65e7b7e6218870b92ea.zip
whitespace
-rw-r--r--mod/webpages.php30
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]'
);
}
}