diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 16:40:05 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 16:40:05 +0000 |
commit | e036de6ceab5f57b0f502b8400ab05e32e96562b (patch) | |
tree | fa67b394866458609f5d92248eaebb2a9cca943e /mod/pages/views/default | |
parent | e65db3fbab88f0bd98c2e5750f09d139837fdc0e (diff) | |
download | elgg-e036de6ceab5f57b0f502b8400ab05e32e96562b.tar.gz elgg-e036de6ceab5f57b0f502b8400ab05e32e96562b.tar.bz2 |
updated the plugins that have already been updated to 1.8 html/css to use divs rather than p tags in forms
git-svn-id: http://code.elgg.org/elgg/trunk@8163 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views/default')
-rw-r--r-- | mod/pages/views/default/forms/pages/edit.php | 12 | ||||
-rw-r--r-- | mod/pages/views/default/widgets/pages/edit.php | 4 |
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> |