Page 1 of 1

Removing Priority Field

Posted: Tue Sep 29, 2009 6:20 am
by SupportCenter
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Im using the latest version. Wanted to know simply how to remove the priority field from the ticket. Im getting too many people that think their support ticket is more important then everyone else.

So what they dont get as an option they cant use it. Thanks Mr. PHP :)

Posted: Tue Sep 29, 2009 5:18 pm
by Klemen
In index.php change

Code: Select all

	<tr>
	<td style="text-align:right" width="150"><?php echo $hesklang['priority']; ?>: <font class="important">*</font></td>
	<td width="80%"><select name="priority">
	<option value="3" <?php if(isset($_SESSION['c_priority']) && $_SESSION['c_priority']==3) {echo 'selected="selected"';} ?>><?php echo $hesklang['low']; ?></option>
	<option value="2" <?php if(isset($_SESSION['c_priority']) && $_SESSION['c_priority']==2) {echo 'selected="selected"';} ?>><?php echo $hesklang['medium']; ?></option>
	<option value="1" <?php if(isset($_SESSION['c_priority']) && $_SESSION['c_priority']==1) {echo 'selected="selected"';} ?>><?php echo $hesklang['high']; ?></option>
	</select></td>
	</tr>
	</table>
to this:

Code: Select all

</table>
<input type="hidden" name="priority" value="3" />