File: /include/client/viewticket.inc.php
Find and change:
<div id="reply" style="padding 0 20px 40px;">
<?if($ticket->isClosed()) {?>
<div class="msg">Ticket will be reopened on message post</div>
<?}?>
<form action="view.php?id=<?=$id?>#reply" name="reply" method="post" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?=$ticket->getExtId()?>">
<input type="hidden" name="respid" value="<?=$respID?>">
<input type="hidden" name="a" value="postmessage">
<div align="left">
Enter Message <font class="error">* <?=$errors?></font><br/>
<textarea name="message" id="message" cols="60" rows="7" wrap="soft"><?=$info?></textarea>
</div>
<? if($cfg->allowOnlineAttachments()) {?>
<div align="left">
Attach File<br><input type="file" name="attachment" id="attachment" size=30px value="<?=$info?>" />
<font class="error"> <?=$errors?></font>
</div>
<?}?>
<div align="left" style="padding 0 10px 0;">
<input class="button" type='submit' value='Post Reply' />
<input class="button" type='reset' value='Reset' />
<input class="button" type='button' value='Cancel' onClick='window.location.href="view.php"' />
</div>
</form>
</div>
</div>
<br><br>
To this:
<div id="reply" style="padding 0 20px 40px;">
<?if(!$ticket->isClosed()) {?>
<form action="view.php?id=<?=$id?>#reply" name="reply" method="post" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?=$ticket->getExtId()?>">
<input type="hidden" name="respid" value="<?=$respID?>">
<input type="hidden" name="a" value="postmessage">
<div align="left">
Enter Message <font class="error">* <?=$errors?></font><br/>
<textarea name="message" id="message" cols="60" rows="7" wrap="soft"><?=$info?></textarea>
</div>
<? if($cfg->allowOnlineAttachments()) {?>
<div align="left">
Attach File<br><input type="file" name="attachment" id="attachment" size=30px value="<?=$info?>" />
<font class="error"> <?=$errors?></font>
</div>
<?}?>
<div align="left" style="padding 0 10px 0;">
<input class="button" type='submit' value='Post Reply' />
<input class="button" type='reset' value='Reset' />
<input class="button" type='button' value='Cancel' onClick='window.location.href="view.php"' />
</div>
</form>
</div>
<?php } else { ?>
<p align="center" id="errormessage">This ticket is closed.</p>
<?php } ?>
</div>
<br><br>