Skip to content

Commit

Permalink
Adding ids to some divs around forms to be consistent. Also adding an…
Browse files Browse the repository at this point in the history
… id to the quickpost form. Note: The ID naming scheme is reversed on the quickpostform. This is a bug, but has been left to avoid breaking existing styles.
  • Loading branch information
reines committed Aug 2, 2010
1 parent dfc1c8e commit de01566
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion edit.php
Expand Up @@ -189,7 +189,7 @@
}

?>
<div class="blockform">
<div id="editform" class="blockform">
<h2><span><?php echo $lang_post['Edit post'] ?></span></h2>
<div class="box">
<form id="edit" method="post" action="edit.php?id=<?php echo $id ?>&amp;action=edit" onsubmit="return process_form(this)">
Expand Down
2 changes: 1 addition & 1 deletion post.php
Expand Up @@ -470,7 +470,7 @@
$cur_index = 1;

?>
<div class="blockform">
<div id="postform" class="blockform">
<h2><span><?php echo $action ?></span></h2>
<div class="box">
<?php echo $form."\n" ?>
Expand Down
2 changes: 1 addition & 1 deletion viewtopic.php
Expand Up @@ -400,7 +400,7 @@
<div id="quickpost" class="blockform">
<h2><span><?php echo $lang_topic['Quick post'] ?></span></h2>
<div class="box">
<form method="post" action="post.php?tid=<?php echo $id ?>" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
<form id="quickpostform" method="post" action="post.php?tid=<?php echo $id ?>" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
<div class="inform">
<fieldset>
<legend><?php echo $lang_common['Write message legend'] ?></legend>
Expand Down

0 comments on commit de01566

Please sign in to comment.