diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-06 16:14:58 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-06 16:14:58 -0700 |
commit | 821bbd41e13e73c5de9cb74b79d2cc54f78eda03 (patch) | |
tree | 64e29cd06c6ac7e86e51243b77cd2ed9488b11bd /mod/webpages.php | |
parent | 04959a095f46272ecfee225e1dd85796f4e0676f (diff) | |
parent | e7b2e315102fa1e94a0f965cc7de88ea217c8783 (diff) | |
download | volse-hubzilla-821bbd41e13e73c5de9cb74b79d2cc54f78eda03.tar.gz volse-hubzilla-821bbd41e13e73c5de9cb74b79d2cc54f78eda03.tar.bz2 volse-hubzilla-821bbd41e13e73c5de9cb74b79d2cc54f78eda03.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod/webpages.php')
-rw-r--r-- | mod/webpages.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mod/webpages.php b/mod/webpages.php index 6aff72a5e..a2a0ebf7b 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -71,7 +71,7 @@ function webpages_content(&$a) { if(feature_enabled($owner,'expert')) { $mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype')); if(! $mimetype) - $mimetype = 'choose'; + $mimetype = 'choose'; } else { $mimetype = 'text/bbcode'; @@ -129,7 +129,7 @@ function webpages_content(&$a) { // Get a list of webpages. We can't display all them because endless scroll makes that unusable, // so just list titles and an edit link. - //TODO - this should be replaced with pagelist_widget + /** @TODO - this should be replaced with pagelist_widget */ $r = q("select * from item_id left join item on item_id.iid = item.id where item_id.uid = %d and service = 'WEBPAGE' order by item.created desc", @@ -157,7 +157,7 @@ function webpages_content(&$a) { $url = z_root() . '/editwebpage/' . $which; $o .= replace_macros(get_markup_template('webpagelist.tpl'), array( - '$listtitle' => t('Webpages'), + '$listtitle' => t('Webpages'), '$baseurl' => $url, '$edit' => t('Edit'), '$pages' => $pages, @@ -169,9 +169,7 @@ function webpages_content(&$a) { '$title_txt' => t('Title'), '$created_txt' => t('Created'), '$edited_txt' => t('Edited') - )); return $o; - } |