Just to mods I've done:
When client clicks on link in notification email and logs in to client panel the default action is to show all client tickets. I thinks it's better to go directly to ticket the client is requesting. Change file upload/login.php
From:
65 <USERMENTION username="header">@header</USERMENTION>("Location: tickets.php");
To:
65 <USERMENTION username="header">@header</USERMENTION>("Location: view.php?id=$ticketID");
Unassigned ticket can be assigned by clicking one button, instead of choosing the option from the menu and filling the note.
in file upload/include/staff/viewticket.inc.php
Find following code:
28 <table width="100%" cellpadding="2" cellspacing="0" border="0">
29 <tr>
30 <td class="msg" width=50%>
31 Ticket #<?=$ticket->getExtId()?> <a href="tickets.php?id=<?=$id?>" title="Reload"><span class="Icon refresh"> </span></a></td>
32
33 <td class="msg" width=50%>
and replace it with:
28 <table width="100%" cellpadding="2" cellspacing="0" border="0">
29 <tr>
30 <td class="msg" width=50%>
31 Ticket #<?=$ticket->getExtId()?> <a href="tickets.php?id=<?=$id?>" title="Reload"><span class="Icon refresh"> </span></a>
32 <? if(!$ticket->isAssigned() && $ticket->getStatus() != "closed"){ ?>
33 <p>
34 <form action="tickets.php?id=<?=$id?>" name="notes" method="post" enctype="multipart/form-data">
35 <input type="hidden" name="ticket_id" value="<?=$id?>" />
36 <input type="hidden" name="a" value="assign" />
37 <input type="hidden" name="staffId" value="<? echo $thisuser->getId(); ?>" />
38 <input type="hidden" name="assign_message" value="Assigned" />
39 This ticket is unnassigned: <input class="button" type='submit' value='Assign this ticket to me' />
40 </form>
41 </p>
42 <? } ?>
43 </td>