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/file/views | |
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/file/views')
-rw-r--r-- | mod/file/views/default/forms/file/upload.php | 26 | ||||
-rw-r--r-- | mod/file/views/default/widgets/filerepo/edit.php | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php index 2ab1ce3e5..06b97388b 100644 --- a/mod/file/views/default/forms/file/upload.php +++ b/mod/file/views/default/forms/file/upload.php @@ -21,35 +21,35 @@ if ($guid) { } ?> -<p> +<div> <label><?php echo $file_label; ?></label><br /> <?php echo elgg_view('input/file', array('internalname' => 'upload')); ?> -</p> -<p> +</div> +<div> <label><?php echo elgg_echo('title'); ?></label><br /> <?php echo elgg_view('input/text', array('internalname' => 'title', 'value' => $title)); ?> -</p> -<p> +</div> +<div> <label><?php echo elgg_echo('description'); ?></label> <?php echo elgg_view('input/longtext', array('internalname' => 'description', 'value' => $desc)); ?> -</p> -<p> +</div> +<div> <label><?php echo elgg_echo('tags'); ?></label> <?php echo elgg_view('input/tags', array('internalname' => 'tags', 'value' => $tags)); ?> -</p> +</div> <?php $categories = elgg_view('input/categories', $vars); if ($categories) { - echo "<p>$categories</p>"; + echo $categories; } ?> -<p> +<div> <label><?php echo elgg_echo('access'); ?></label><br /> <?php echo elgg_view('input/access', array('internalname' => 'access_id', 'value' => $access_id)); ?> -</p> -<p> +</div> +<div> <?php echo elgg_view('input/hidden', array('internalname' => 'container_guid', 'value' => $container_guid)); @@ -66,4 +66,4 @@ if ($guid) { echo elgg_view('input/submit', array('value' => elgg_echo("save"))); ?> -</p> +</div> diff --git a/mod/file/views/default/widgets/filerepo/edit.php b/mod/file/views/default/widgets/filerepo/edit.php index 7da7e9401..6de77fc78 100644 --- a/mod/file/views/default/widgets/filerepo/edit.php +++ b/mod/file/views/default/widgets/filerepo/edit.php @@ -19,7 +19,7 @@ $params = array( $dropdown = elgg_view('input/dropdown', $params); ?> -<p> +<div> <?php echo elgg_echo('file:num_files'); ?>: <?php echo $dropdown; ?> -</p> +</div> |