Fixes #175 Fixed the layout of responses when using reply at top

The markup is invalid in the source code, but it somehow makes it work. Strange...
This commit is contained in:
Mike Koch 2015-03-22 22:02:38 -04:00
parent 5944ad1731
commit 28196447fb

View File

@ -1892,13 +1892,23 @@ function hesk_printReplyForm() {
$staffClosedOptionStatus['ID'] = $statusRow['ID']; $staffClosedOptionStatus['ID'] = $statusRow['ID'];
?> ?>
<div class="form-inline"><label><input type="checkbox" name="set_priority" value="1" /> <?php echo $hesklang['change_priority']; ?> </label> <div class="form-inline">
<select class="form-control" name="priority"> <label>
<?php echo implode('',$options); ?> <input type="checkbox" name="set_priority" value="1" /> <?php echo $hesklang['change_priority']; ?>
</select></div><br /> </label>
<label><input type="checkbox" name="signature" value="1" checked="checked" /> <?php echo $hesklang['attach_sign']; ?></label> <select class="form-control" name="priority">
(<a href="profile.php"><?php echo $hesklang['profile_settings']; ?></a>)<br /> <?php echo implode('',$options); ?>
<label><input type="checkbox" name="no_notify" value="1" <?php echo ($_SESSION['notify_customer_reply'] && !empty($ticket['email'])) ? '' : 'checked="checked" '; ?> <?php if (empty($ticket['email'])) { echo 'disabled'; } ?>> <?php echo $hesklang['dsen']; ?></label><br/><br/> </select>
</div>
<br />
<label>
<input type="checkbox" name="signature" value="1" checked="checked" /> <?php echo $hesklang['attach_sign']; ?>
</label>
(<a href="profile.php"><?php echo $hesklang['profile_settings']; ?></a>)
<br />
<label>
<input type="checkbox" name="no_notify" value="1" <?php echo ($_SESSION['notify_customer_reply'] && !empty($ticket['email'])) ? '' : 'checked="checked" '; ?> <?php if (empty($ticket['email'])) { echo 'disabled'; } ?>> <?php echo $hesklang['dsen']; ?>
</label><br/><br/>
<?php if (empty($ticket['email'])) { <?php if (empty($ticket['email'])) {
echo '<input type="hidden" name="no_notify" value="1">'; echo '<input type="hidden" name="no_notify" value="1">';
} ?> } ?>
@ -1936,9 +1946,8 @@ function hesk_printReplyForm() {
</ul> </ul>
</div> </div>
<input class="btn btn-default" type="submit" name="save_reply" value="<?php echo $hesklang['sacl']; ?>" <input class="btn btn-default" type="submit" name="save_reply" value="<?php echo $hesklang['sacl']; ?>"
</div> </div>
</div> </div></div>
</form> </form>
<!-- END REPLY FORM --> <!-- END REPLY FORM -->