summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-25 09:01:12 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-25 09:01:12 +0000
commit554a2808a3f337c5a3d578e9b53e6009f1491da6 (patch)
tree06f55647128bac3e52c28390232d53569a959f2d /themes/engines/phptemplate
parent6ea9204889915f098fa713ce8a8449bbe667b91b (diff)
downloadbrdo-554a2808a3f337c5a3d578e9b53e6009f1491da6.tar.gz
brdo-554a2808a3f337c5a3d578e9b53e6009f1491da6.tar.bz2
#78656 by m3avrck. Drupal Core's first CSS hack.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r--themes/engines/phptemplate/comment.tpl.php11
-rw-r--r--themes/engines/phptemplate/node.tpl.php11
2 files changed, 8 insertions, 14 deletions
diff --git a/themes/engines/phptemplate/comment.tpl.php b/themes/engines/phptemplate/comment.tpl.php
index 2456c5819..d9dc3fd36 100644
--- a/themes/engines/phptemplate/comment.tpl.php
+++ b/themes/engines/phptemplate/comment.tpl.php
@@ -1,15 +1,12 @@
-<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; ?>">
-<?php if ($comment->new) : ?>
+<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; ?> clear-block">
+ <?php if ($comment->new) : ?>
<a id="new"></a>
<span class="new"><?php print $new ?></span>
-<?php endif; ?>
+ <?php endif; ?>
-<div class="title"><?php print $title ?></div>
+ <div class="title"><?php print $title ?></div>
<?php print $picture ?>
<div class="author"><?php print $submitted ?></div>
<div class="content"><?php print $content ?></div>
- <?php if ($picture) : ?>
- <br class="clear" />
- <?php endif; ?>
<div class="links"><?php print $links ?></div>
</div>
diff --git a/themes/engines/phptemplate/node.tpl.php b/themes/engines/phptemplate/node.tpl.php
index 028aeb3ce..6da685329 100644
--- a/themes/engines/phptemplate/node.tpl.php
+++ b/themes/engines/phptemplate/node.tpl.php
@@ -1,4 +1,4 @@
-<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
+<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?> clear-block">
<?php if ($page == 0): ?>
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
<?php endif; ?>
@@ -8,11 +8,8 @@
<div class="content">
<?php print $content ?>
</div>
-<?php if ($links): ?>
- <?php if ($picture): ?>
- <br class='clear' />
- <?php endif; ?>
- <div class="links"><?php print $links ?></div>
-<?php endif; ?>
+ <?php if ($links): ?>
+ <div class="links"><?php print $links ?></div>
+ <?php endif; ?>
</div>