Skip to content

Commit

Permalink
Another couple of markup adjustments missed from previous commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sullivan committed Jan 3, 2010
1 parent ddc7270 commit a956eb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 5 additions & 3 deletions upload/edit.php
Expand Up @@ -166,9 +166,11 @@
<h2><span><?php echo $lang_post['Post preview'] ?></span></h2>
<div class="box">
<div class="inbox">
<div class="postright">
<div class="postmsg">
<?php echo $preview_message."\n" ?>
<div class="postbody">
<div class="postright">
<div class="postmsg">
<?php echo $preview_message."\n" ?>
</div>
</div>
</div>
</div>
Expand Down
14 changes: 6 additions & 8 deletions upload/post.php
Expand Up @@ -471,9 +471,11 @@
<h2><span><?php echo $lang_post['Post preview'] ?></span></h2>
<div class="box">
<div class="inbox">
<div class="postright">
<div class="postmsg">
<?php echo $preview_message."\n" ?>
<div class="postbody">
<div class="postright">
<div class="postmsg">
<?php echo $preview_message."\n" ?>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -592,20 +594,16 @@
<?php

//Set background switching on
$bg_switch = true;
$post_count = 0;

while ($cur_post = $db->fetch_assoc($result))
{
// Switch the background color for every message
$bg_switch = ($bg_switch) ? $bg_switch = false : $bg_switch = true;
$vtbg = ($bg_switch) ? ' roweven' : ' rowodd';
$post_count++;

$cur_post['message'] = parse_message($cur_post['message'], $cur_post['hide_smilies']);

?>
<div class="box<?php echo $vtbg ?>">
<div class="box<?php echo ($post_count % 2 == 0) ? ' roweven' : ' rowodd' ?>">
<div class="inbox">
<div class="postbody">
<div class="postleft">
Expand Down

0 comments on commit a956eb9

Please sign in to comment.