-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lewis Goddard
committed
Dec 7, 2013
1 parent
1b40739
commit df6343a
Showing
3 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
<?php | ||
|
||
if(isset($_POST['dear']) || isset($_POST['subject']) || isset($_POST['message']) || isset($_POST['regards']) || isset($_POST['replyto'])) { // Something is jammed | ||
if(isset($_POST['dear']) || isset($_POST['subject']) || isset($_POST['message']) || isset($_POST['regards'])) { // Something is jammed | ||
echo '<div class="warning error">'; | ||
if(!isset($_POST['dear'])) echo 'dear'; | ||
if(!isset($_POST['subject'])) echo 'subject'; | ||
if(!isset($_POST['message'])) echo 'message'; | ||
if(!isset($_POST['regards'])) echo 'regards'; | ||
if(!isset($_POST['replyto'])) echo 'replyto'; | ||
echo '</div>'; | ||
} | ||
|
||
|
@@ -38,12 +37,6 @@ | |
<div class="col span_6_of_12"><input type="text" name="regards" placeholder="Hurricane 3-40U" required /></div> | ||
<div class="col span_3_of_12"><br></div> | ||
</div> | ||
<div class="section group"> | ||
<div class="col span_1_of_12"><br></div> | ||
<div class="col span_2_of_12"><label for="replyto"><h3>Reply To</h3></label></div> | ||
<div class="col span_6_of_12"><input type="email" name="replyto" placeholder="[email protected]" required /></div> | ||
<div class="col span_3_of_12"><br></div> | ||
</div> | ||
<div class="section group"> | ||
<div class="col span_3_of_12"><br></div> | ||
<div class="col span_6_of_12"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters