Upgrades - Template Changes v4.3

Information

Template changes are shown below for v4.3. If you aren`t sure, view the current file in the latest zip.

New Locations

The cron job files will need updating to run from the following:

control/cron/close-tickets.php
control/cron/db-backup.php
control/cron/email-digest.php

New Files / Folders

content/**theme**/html/custom-fields/input-calendar.htm
content/**theme**/html/js/date-picker.htm
content/**theme**/html/js/draft.htm

Header Template Updates

None

Footer Template Updates

None

Nav Menu Updates

None

Other Template Updates

content/**theme**/account-view-dispute.tpl.php

Find line 60
if ($this->TICKET->ticketStatus == 'open' && $this->REPLY_PERMISSIONS == 'yes') {

Change to:
if (!in_array($this->TICKET->ticketStatus, array('close','closed')) && $this->REPLY_PERMISSIONS == 'yes') {

Find line 188:
if ($this->TICKET->ticketStatus == 'open' && $this->REPLY_PERMISSIONS == 'yes' &&

Change to:
if (!in_array($this->TICKET->ticketStatus, array('close','closed')) && $this->REPLY_PERMISSIONS == 'yes' &&

Find line 203:
} elseif (in_array($this->TICKET->replyStatus, array('admin','start')) && $this->SETTINGS->disputeAdminStop == 'yes') {

Change to:
} elseif (in_array($this->LAST_REPLY_INFO[2], array('visitor')) && $this->SETTINGS->disputeAdminStop == 'yes') {
content/**theme**/account-view-ticket.tpl.php

Find line 33:
if ($this->TICKET->ticketStatus == 'open') {

Change to:
if (!in_array($this->TICKET->ticketStatus, array('close','closed'))) {

Find line 131:
if ($this->TICKET->ticketStatus == 'open' && $this->TICKET->assignedto != 'waiting') {

Change to:
if (!in_array($this->TICKET->ticketStatus, array('close','closed')) && $this->TICKET->assignedto != 'waiting') {
content/**theme**/account-view-dispute.tpl.php
content/**theme**/account-view-ticket.tpl.php


Find line 129 & 186
if (!in_array($this->TICKET->ticketStatus, array('close','closed')) && $this->TICKET->assignedto != 'waiting') {

Change to:
if (!in_array($this->TICKET->ticketStatus, array('close','closed','status-lock')) && $this->TICKET->assignedto != 'waiting') {

after:
case 'waiting':
$msg = $this->TXT[20];
break;

add:
case 'status-lock':
$msg = $this->TXT2[0][0];
break;
content/**theme**/account-view-ticket-reply.tpl.php

after:
<div class="panel-footer">

add:
<div class="pull-right draftarea" id="draft_<?php echo $this->TICKET->id; ?>"></div>
content/**theme**/account-create-ticket.tpl.php after:
<div class="panel-footer">

add:
<div class="pull-right draftarea" id="draft_add"></div>

CSS Updates

None

Javascript Updates

None

Return to Upgrade Instructions