aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index efaf3c4bf..a5cfd00e6 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -81,7 +81,6 @@ function webpages_content(&$a) {
require_once('include/conversation.php');
$o = profile_tabs($a,true);
- $o .= '<h2>' . t('Webpages') . '</h2>';
$x = array(
'webpage' => ITEM_WEBPAGE,
@@ -95,7 +94,7 @@ function webpages_content(&$a) {
'mimetype' => $mimetype,
'layout' => $layout,
);
-
+
if($_REQUEST['title'])
$x['title'] = $_REQUEST['title'];
if($_REQUEST['body'])
@@ -105,7 +104,6 @@ function webpages_content(&$a) {
$o .= status_editor($a,$x);
-
// 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
@@ -128,6 +126,7 @@ function webpages_content(&$a) {
$url = z_root() . "/editwebpage/" . $which;
// This isn't pretty, but it works. Until I figure out what to do with the UI, it's Good Enough(TM).
return $o . replace_macros(get_markup_template("webpagelist.tpl"), array(
+ '$listtitle' => t('Webpages'),
'$baseurl' => $url,
'$edit' => t('Edit'),
'$pages' => $pages,
@@ -142,5 +141,6 @@ function webpages_content(&$a) {
));
+ $o .= '</div>';
}