Skip to content
Browse files

Making sure post markup is consistent to ease styling.

  • Loading branch information...
1 parent 37ff802 commit 60136cd26ea424de8f125e98448da36def69dba7 Paul Sullivan committed Jan 3, 2010
View
1 upload/lang/English/misc.php
@@ -77,6 +77,7 @@
// Delete multiple posts in topic
'Delete posts' => 'Delete posts',
+'Cannot delete first' => 'First post cannot be selected for deletetion',
'Delete posts comply' => 'Are you sure you want to delete the selected posts?',
'Delete posts redirect' => 'Posts deleted. Redirecting …',
'No posts selected' => 'You must select at least one post to be deleted.'
View
10 upload/moderate.php
@@ -133,8 +133,7 @@
</div>
</fieldset>
</div>
- <p class="buttons"><input type="submit" name="delete_posts_comply" value="<?php echo $lang_misc['Delete'] ?>" /> <a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a>
- </p>
+ <p class="buttons"><input type="submit" name="delete_posts_comply" value="<?php echo $lang_misc['Delete'] ?>" /> <a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a></p>
</form>
</div>
</div>
@@ -327,10 +326,13 @@
<?php echo $cur_post['message']."\n" ?>
<?php if ($cur_post['edited'] != '') echo "\t\t\t\t\t\t".'<p class="postedit"><em>'.$lang_topic['Last edit'].' '.pun_htmlspecialchars($cur_post['edited_by']).' ('.format_time($cur_post['edited']).')</em></p>'."\n"; ?>
</div>
- <?php if ($start_from + $post_count > 1) echo '<p class="multidelete"><label><strong>'.$lang_misc['Select'].'</strong>&nbsp;&nbsp;<input type="checkbox" name="posts['.$cur_post['id'].']" value="1" /></label></p>'."\n" ?>
</div>
</div>
- <div class="clearer"></div>
+ </div>
+ <div class="inbox">
+ <div class="postfoot clearb">
+ <div class="postfootright"><?php echo ($start_from + $post_count > 1) ? '<p class="multidelete"><label><strong>'.$lang_misc['Select'].'</strong>&nbsp;&nbsp;<input type="checkbox" name="posts['.$cur_post['id'].']" value="1" /></label></p>' : '<p>'.$lang_misc['Cannot delete first'].'</p>' ?></div>
+ </div>
</div>
</div>
</div>
View
2 upload/search.php
@@ -557,6 +557,8 @@
</div>
<div class="clearer"></div>
</div>
+ </div>
+ <div class="inbox">
<div class="postfoot clearb">
<div class="postfootright"><ul><li><a href="viewtopic.php?id=<?php echo $search_set[$i]['tid'] ?>"><?php echo $lang_search['Go to topic'] ?></a><?php echo $lang_common['Link separator'] ?></li><li><a href="viewtopic.php?pid=<?php echo $search_set[$i]['pid'].'#p'.$search_set[$i]['pid'] ?>"><?php echo $lang_search['Go to post'] ?></a></li></ul></div>
</div>
View
10 upload/style/Cobalt.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
10 upload/style/Lithium.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
10 upload/style/Mercury.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
10 upload/style/Oxygen.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
10 upload/style/Radium.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
10 upload/style/Sulfur.css
@@ -755,7 +755,8 @@
padding-bottom: 6px;
}
-.pun .postfootright ul, .pun .postfootright div, .pun .postfootleft p {
+.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
+.pun .postfootleft p {
padding: 6px 6px 6px 6px;
}
@@ -837,17 +838,12 @@
border:none
}
-.pun .blockpost .multidelete {
- width: 100%;
- overflow: hidden
- }
-
.pun .blockpost label {
- float: right;
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
+ display: inline-block;
}
.pun .blockpost label * {
View
2 upload/viewtopic.php
@@ -328,6 +328,8 @@
<?php if ($signature != '') echo "\t\t\t\t\t".'<div class="postsignature postmsg"><hr />'.$signature.'</div>'."\n"; ?>
</div>
</div>
+ </div>
+ <div class="inbox">
<div class="postfoot clearb">
<div class="postfootleft"><?php if ($cur_post['poster_id'] > 1) echo '<p>'.$is_online.'</p>'; ?></div>
<div class="postfootright"><?php echo (count($post_actions)) ? '<ul>'.implode($lang_common['Link separator'].'</li>', $post_actions).'</li></ul></div>'."\n" : '<div>&nbsp;</div></div>'."\n" ?>

0 comments on commit 60136cd

Please sign in to comment.
Something went wrong with that request. Please try again.