aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/views/default/forms/pages/edit.php12
-rw-r--r--mod/pages/views/default/widgets/pages/edit.php4
2 files changed, 8 insertions, 8 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index e4188a29b..793e5c39e 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * Page edit form.
+ * Page edit form body
*
* @package ElggPages
*/
@@ -8,24 +8,24 @@
$variables = elgg_get_config('pages');
foreach ($variables as $name => $type) {
?>
-<p>
+<div>
<label><?php echo elgg_echo("pages:$name") ?></label><br />
<?php echo elgg_view("input/$type", array(
'internalname' => $name,
'value' => $vars[$name],
));
?>
-</p>
+</div>
<?php
}
$cats = elgg_view('categories', $vars);
if (!empty($cats)) {
- echo "<p>$cats</p>";
+ echo $cats;
}
-echo '<p>';
+echo '<div>';
if ($vars['guid']) {
echo elgg_view('input/hidden', array(
'internalname' => 'page_guid',
@@ -45,4 +45,4 @@ if ($vars['parent_guid']) {
echo elgg_view('input/submit', array('value' => elgg_echo('save')));
-echo '</p>';
+echo '</div>';
diff --git a/mod/pages/views/default/widgets/pages/edit.php b/mod/pages/views/default/widgets/pages/edit.php
index a67f76ab0..69710e50a 100644
--- a/mod/pages/views/default/widgets/pages/edit.php
+++ b/mod/pages/views/default/widgets/pages/edit.php
@@ -18,7 +18,7 @@ $params = array(
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('pages:num'); ?>:
<?php echo $dropdown; ?>
-</p>
+</div>