Alpha Release
Call it what you will...Alpha, beta, testing...1st pass...here's my first pass take on a "header" modify.
On a ticket, there's now a new tab at the bottom, change header. It lets you edit the name, email, phone and subject only. THERE IS NO VALIDATION!!!!!! That means sql injection errors are possible....by the administrator.
It's limited to only administrators (though easy enough to change to whomever - manager, etc - see the change department routine)...use that as the code base to follow if you will.
It's had limited testing in my environment, having changed about 25 tickets now. It works for me. I hope you get the same mileage.
Please backup your database...backup your code before applying this group of files.
Tickets.zip contains tickets.php which goes in scp folder
class.ticket.zip contains class.ticket.php which goes in include folder
tickets.inc.zip and viewtickets.inc.zip expand to their respective .php files which go into the include/staff folder.
I know there's a modest delay in getting these files released. I'll also post them over at my own web site http://davebour.com(http://davebour.com).
The article itself with the link to the downloads is located at http://davebour.com/latest/osticket-a-modify-header-option.html(http://davebour.com/latest/osticket-a-modify-header-option.html)
The reason for the main link is there's another article (at least one as of this posting) on the other mods I did too.
Once again, please backup before you use this. You assume all responsibility for it. That said, I'd love feedback, good/bad/indifferent on it.
Take care all.
D.
[tickets.zip](https://forum.osticket.com/assets/files/migrated/e/78bbbc20047eef0f2a5850d220b54d3.zip)
[class.ticket.zip](https://forum.osticket.com/assets/files/migrated/7/9c776412842d8e2b77cabd9bee9090e.zip)
[tickets.inc.zip](https://forum.osticket.com/assets/files/migrated/b/6fa8422e0de989e9bd0fcdbc99935cf.zip)
[viewticket.inc.zip](https://forum.osticket.com/assets/files/migrated/5/b37632e2a83425c721119bbebfc7aa0.zip)