diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-04-07 08:43:39 +1000 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-04-07 08:43:39 +1000 |
commit | e7b2e315102fa1e94a0f965cc7de88ea217c8783 (patch) | |
tree | 70b345d0055cde9dfaa35ca24de5316000b5ee60 /mod/webpages.php | |
parent | f1e73abd21ac99b00038242b8a4e882e7f6dfc12 (diff) | |
parent | 754ac2cff72b0d9d5d9b389740cc8946ed1e40b2 (diff) | |
download | volse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.tar.gz volse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.tar.bz2 volse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.zip |
Merge pull request #309 from dawnbreak/master
Fix Design Tool navigation for sys channel.
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; - } |