diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 19:19:59 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 19:19:59 +0000 |
commit | 0a6e0702c71bb3aa50f0daae21c456c51a362b27 (patch) | |
tree | 8283272b306565743fd00042627cdab26dd85dcb /views/default/layout_elements | |
parent | 901e1173f03a260b6a5cbad0c5e09e9d06a756bb (diff) | |
download | elgg-0a6e0702c71bb3aa50f0daae21c456c51a362b27.tar.gz elgg-0a6e0702c71bb3aa50f0daae21c456c51a362b27.tar.bz2 |
changed img | body media element to icon | body
git-svn-id: http://code.elgg.org/elgg/trunk@7537 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout_elements')
-rw-r--r-- | views/default/layout_elements/media.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/views/default/layout_elements/media.php b/views/default/layout_elements/media.php index 8599d6c8a..5f4e51d57 100644 --- a/views/default/layout_elements/media.php +++ b/views/default/layout_elements/media.php @@ -4,20 +4,20 @@ * * --------------------------------------------------- * | | | - * | image | body | + * | icon | body | * | block | block | * | | | * --------------------------------------------------- * * @uses $vars['body'] HTML content of the body block - * @uses $vars['img'] HTML content of the image block + * @uses $vars['icon'] HTML content of the icon block * @uses $vars['class'] Optional additional class for media element * @uses $vars['body_class'] Optional additional class for body block - * @uses $vars['img_class'] Optional additional class for image block + * @uses $vars['icon_class'] Optional additional class for icon block */ $body = elgg_get_array_value('body', $vars, ''); -$image_block = elgg_get_array_value('img', $vars, ''); +$icon_block = elgg_get_array_value('icon', $vars, ''); $class = 'elgg-media'; $additional_class = elgg_get_array_value('class', $vars, ''); @@ -32,17 +32,17 @@ if ($additional_class) { } $body = "<div class=\"$body_class\">$body</div>"; -$img_class = 'elgg-img'; -$additional_class = elgg_get_array_value('img_class', $vars, ''); +$icon_class = 'elgg-icon'; +$additional_class = elgg_get_array_value('icon_class', $vars, ''); if ($additional_class) { - $img_class = "$img_class $additional_class"; + $icon_class = "$icon_class $additional_class"; } -if ($image_block) { - $image_block = "<div class=\"$img_class\">$image_block</div>"; +if ($icon_block) { + $icon_block = "<div class=\"$icon_class\">$icon_block</div>"; } echo <<<HTML <div class="$class clearfix"> - $image_block$body + $icon_block$body </div> HTML; |