Version of script: 2.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
I've tried editing the code in new_ticket and Print.php, but it does not seem to work.
Write your message below:
(Sorry for not entering the above information, it's all internal so you would have no profit if I did give you the information. )
I would like to have 2 message fields when I create a new ticket. Ive tried editing new ticket.php to:
Code: Select all
<!-- ticket info -->
<table border="0" width="100%">
<tr>
<td style="text-align:right" width="150"><?php echo $hesklang['subject']; ?>: <font class="important">*</font></td>
<td width="80%"><input type="text" name="subject" size="40" maxlength="40" value="<?php if (isset($_SESSION['as_subject'])) {echo stripslashes(hesk_input($_SESSION['as_subject']));} ?>" /></td>
</tr>
<tr>
<td style="text-align:right" width="150" valign="top"><?php echo $hesklang['message']; ?>: <font class="important">*</font></td>
<td width="50%"><textarea name="message" rows="16" cols="60"><?php if (isset($_SESSION['as_message'])) {echo stripslashes(hesk_input($_SESSION['as_message']));} ?></textarea><br /><br />
<td width="50%"><textarea name="message2" rows="16" cols="60"><?php if (isset($_SESSION['as_message2'])) {echo stripslashes(hesk_input($_SESSION['as_message2']));} ?></textarea><br /><br />
</td>
</tr>
</table>
Code: Select all
echo <<<EOC
<b>$hesklang[message]:</b><br />
$ticket[message] <br>
$ticket[message2] <br>
I would like the fields to be displayed under eachother, and I want them to be displayed on print.php as well.
With the code I have edited, It displays 2 fields, side by side, but when i enter something in the second field, it doesn't show up in the admin_ticket.php page. Also, when I click printing preview, it doesn't show up.
Anybody?