aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-04-06 23:51:30 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-04-06 23:52:13 +0200
commit754ac2cff72b0d9d5d9b389740cc8946ed1e40b2 (patch)
tree70b345d0055cde9dfaa35ca24de5316000b5ee60 /mod/webpages.php
parentf1e73abd21ac99b00038242b8a4e882e7f6dfc12 (diff)
downloadvolse-hubzilla-754ac2cff72b0d9d5d9b389740cc8946ed1e40b2.tar.gz
volse-hubzilla-754ac2cff72b0d9d5d9b389740cc8946ed1e40b2.tar.bz2
volse-hubzilla-754ac2cff72b0d9d5d9b389740cc8946ed1e40b2.zip
Fix Design Tool navigation for sys channel.
Fix creating menu for sys channel.
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php8
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;
-
}