summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-07 00:46:02 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-07 00:46:02 -0600
commit121fcab5c81fd4f942eea11577e4381ab4d86ddc (patch)
tree98419589085e071ec9a49e2c54f0ffe03c27b6bf /modules
parent617076e8970872ba0355caeadb70cbf6735f2a39 (diff)
Replaced most clear fix hacks with generic class.
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/views/admin_comments.html.php2
-rw-r--r--modules/gallery/views/admin_themes.html.php8
-rw-r--r--modules/user/views/admin_users.html.php2
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 62c64d12..e32a843f 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -38,7 +38,7 @@
<h1> <?= t("Manage Comments") ?> </h1>
<!-- @todo: Highlight active menu option -->
- <div id="g-admin-comments-menu">
+ <div id="g-admin-comments-menu" class="g-clearfix">
<?= $menu ?>
</div>
diff --git a/modules/gallery/views/admin_themes.html.php b/modules/gallery/views/admin_themes.html.php
index 714b3af8..a75d9f04 100644
--- a/modules/gallery/views/admin_themes.html.php
+++ b/modules/gallery/views/admin_themes.html.php
@@ -14,7 +14,7 @@
<div id="g-site-theme">
<h2> <?= t("Gallery theme") ?> </h2>
- <div class="g-block g-selected">
+ <div class="g-block g-selected g-clearfix">
<img src="<?= url::file("themes/{$site}/thumbnail.png") ?>"
alt="<?= html::clean_attribute($themes[$site]->name) ?>" />
<h3> <?= $themes[$site]->name ?> </h3>
@@ -29,7 +29,7 @@
<? foreach ($themes as $id => $info): ?>
<? if (!$info->site) continue ?>
<? if ($id == $site) continue ?>
- <div class="g-block">
+ <div class="g-block g-clearfix">
<a href="<?= url::site("admin/themes/preview/site/$id") ?>" class="g-dialog-link" title="<?= t("Theme Preview: %theme_name", array("theme_name" => $info->name))->for_html_attr() ?>">
<img src="<?= url::file("themes/{$id}/thumbnail.png") ?>"
alt="<?= html::clean_attribute($info->name) ?>" />
@@ -52,7 +52,7 @@
<div id="g-admin-theme">
<h2> <?= t("Admin theme") ?> </h2>
- <div class="g-block g-selected">
+ <div class="g-block g-selected g-clearfix">
<img src="<?= url::file("themes/{$admin}/thumbnail.png") ?>"
alt="<?= html::clean_attribute($themes[$admin]->name) ?>" />
<h3> <?= $themes[$admin]->name ?> </h3>
@@ -67,7 +67,7 @@
<? foreach ($themes as $id => $info): ?>
<? if (!$info->admin) continue ?>
<? if ($id == $admin) continue ?>
- <div class="g-block">
+ <div class="g-block g-clearfix">
<a href="<?= url::site("admin/themes/preview/admin/$id") ?>" class="g-dialog-link" title="<?= t("Theme Preview: %theme_name", array("theme_name" => $info->name))->for_html_attr() ?>">
<img src="<?= url::file("themes/{$id}/thumbnail.png") ?>"
alt="<?= html::clean_attribute($info->name) ?>" />
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index 28daff29..a127bc15 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -103,7 +103,7 @@
</div>
</div>
-<div id="g-group-admin" class="g-block">
+<div id="g-group-admin" class="g-block g-clearfix">
<a href="<?= url::site("admin/users/add_group_form") ?>"
class="g-dialog-link g-button g-right ui-icon-left ui-state-default ui-corner-all"
title="<?= t("Create a new group")->for_html_attr() ?>">