Upgrades - Template Changes v4.4
Information
Template changes are shown below for v4.4. If you aren't sure, view the current file in the latest zip.
New Files / Folders
content/**theme**/right-panel.php
content/**theme**/fonts/Comfortaa-Light.ttf
content/**theme**/fonts/oswald-cyrillic-400.woff2
content/**theme**/fonts/oswald-cyrillic-ext-400.woff2
content/**theme**/fonts/oswald-latin-400.woff2
content/**theme**/fonts/oswald-latin-ext-400.woff2
content/**theme**/fonts/oswald-vietnamese-400.woff2
content/**theme**/html/captcha.htm
content/**theme**/html/js/wysiwyg.htm
content/**theme**/images/icons/*
content/**theme**/images/plugins/*
content/**theme**/images/balls.gif
content/**theme**/images/favicon.ico
content/**theme**/images/menu-bg.png
content/**theme**/js/functions.js (previously msp.js)
content/**theme**/js/ops.js (previously msops.js)
content/**theme**/js/plugins/i18n-wysiwyg/*
content/**theme**/js/plugins/jquery.jqloader.js
content/**theme**/js/plugins/jquery.trumbowyg.colors.js
content/**theme**/js/plugins/jquery.trumbowyg.highlight.js
content/**theme**/js/plugins/jquery.trumbowyg.js
content/**theme**/js/plugins/prism.js
content/**theme**/fonts/Comfortaa-Light.ttf
content/**theme**/fonts/oswald-cyrillic-400.woff2
content/**theme**/fonts/oswald-cyrillic-ext-400.woff2
content/**theme**/fonts/oswald-latin-400.woff2
content/**theme**/fonts/oswald-latin-ext-400.woff2
content/**theme**/fonts/oswald-vietnamese-400.woff2
content/**theme**/html/captcha.htm
content/**theme**/html/js/wysiwyg.htm
content/**theme**/images/icons/*
content/**theme**/images/plugins/*
content/**theme**/images/balls.gif
content/**theme**/images/favicon.ico
content/**theme**/images/menu-bg.png
content/**theme**/js/functions.js (previously msp.js)
content/**theme**/js/ops.js (previously msops.js)
content/**theme**/js/plugins/i18n-wysiwyg/*
content/**theme**/js/plugins/jquery.jqloader.js
content/**theme**/js/plugins/jquery.trumbowyg.colors.js
content/**theme**/js/plugins/jquery.trumbowyg.highlight.js
content/**theme**/js/plugins/jquery.trumbowyg.js
content/**theme**/js/plugins/prism.js
Footer Template Updates
After the bootbox.js call add:
<script src="<?php echo $this->SYS_BASE_HREF; ?>js/plugins/jquery.jqloader.js"></script>
Change:
msops.js to functions.js
msp.js to ops.js
<script src="<?php echo $this->SYS_BASE_HREF; ?>js/plugins/jquery.jqloader.js"></script>
Change:
msops.js to functions.js
msp.js to ops.js
Updated PLugins
content/**theme**/css/animate.css
content/**theme**/css/bootstrap.css
content/**theme**/css/jquery-ui.css
content/**theme**/js/bootstrap.js
content/**theme**/js/jquery.js
content/**theme**/js/plugins/jquery.bootbox.js
content/**theme**/css/bootstrap.css
content/**theme**/css/jquery-ui.css
content/**theme**/js/bootstrap.js
content/**theme**/js/jquery.js
content/**theme**/js/plugins/jquery.bootbox.js
Other Template Updates
content/**theme**/account-create-ticket.tpl.php
Change:
if ($this->SETTINGS->enableBBCode == 'yes') {
to
if ($this->SETTINGS->editor == 'bb' && $this->SETTINGS->enableBBCode == 'yes') {
After or on line 107 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-create.tpl.php
After or on line 37 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-login.tpl.php
After or on line 29 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-view-ticket-reply.tpl.php
Change:
if ($this->SETTINGS->enableBBCode == 'yes') {
to
if ($this->SETTINGS->editor == 'bb' && $this->SETTINGS->enableBBCode == 'yes') {
Change (2 instances):
if ($this->TICKET_CLOSE_PERMS == 'yes') {
to
if ($this->SETTINGS->viscloseticket == 'yes' && $this->TICKET_CLOSE_PERMS == 'yes') {
content/**theme**/account-view-ticket.tpl.php
Change:
if ($this->TICKET->assignedto != 'waiting' && $this->TICKET->ticketStatus != 'status-lock') {
to
if ($this->TICKET->assignedto != 'waiting' && !in_array($this->TICKET->ticketStatus, ['closed','status-lock'])) {
Change:
if (!in_array($this->TICKET->ticketStatus, array('close','closed'))) {
to
if ($this->TICKET->ticketStatus != 'close') {
Wrap line:
<li><a href="?t=<?php echo $_GET['t']; ?>&cl=yes" title="<?php echo mswSH($this->TXT[23]); ?>"><?php echo $this->TXT[23]; ?></a></li>
in PHP if statement
if ($this->SETTINGS->viscloseticket == 'yes') {
?>
<li><a href="?t=<?php echo $_GET['t']; ?>&cl=yes" title="<?php echo mswSH($this->TXT[23]); ?>"><?php echo $this->TXT[23]; ?></a></li>
<?php
}
content/**theme**/account-view-dispute.tpl.php
Change:
if ($this->TICKET->visitorID == $this->USER_DATA->id) {
to
if ($this->SETTINGS->viscloseticket == 'yes' && $this->TICKET->visitorID == $this->USER_DATA->id) {
content/**theme**/custom-page.tpl.php
Change the "col-lg-4" div to the following:
<?php
define('RIGHT_PANEL_LOAD', 1);
include(dirname(__file__) . '/right-panel.php');
?>
content/**theme**/faq-cat.tpl.php
content/**theme**/faq-question.tpl.php
content/**theme**/faq-search.tpl.php
content/**theme**/main.tpl.php
Add the call to the right panel where applicable:
<?php
define('RIGHT_PANEL_LOAD', 1);
include(dirname(__file__) . '/right-panel.php');
?>
content/**theme**/html/ticket-reply.htm
Change:
<i class="fa fa-{icon} fa-fw"></i>
to
<i class="{icon}"></i>
Change:
if ($this->SETTINGS->enableBBCode == 'yes') {
to
if ($this->SETTINGS->editor == 'bb' && $this->SETTINGS->enableBBCode == 'yes') {
After or on line 107 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-create.tpl.php
After or on line 37 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-login.tpl.php
After or on line 29 add:
<?php echo $this->CAPTCHA; ?>
content/**theme**/account-view-ticket-reply.tpl.php
Change:
if ($this->SETTINGS->enableBBCode == 'yes') {
to
if ($this->SETTINGS->editor == 'bb' && $this->SETTINGS->enableBBCode == 'yes') {
Change (2 instances):
if ($this->TICKET_CLOSE_PERMS == 'yes') {
to
if ($this->SETTINGS->viscloseticket == 'yes' && $this->TICKET_CLOSE_PERMS == 'yes') {
content/**theme**/account-view-ticket.tpl.php
Change:
if ($this->TICKET->assignedto != 'waiting' && $this->TICKET->ticketStatus != 'status-lock') {
to
if ($this->TICKET->assignedto != 'waiting' && !in_array($this->TICKET->ticketStatus, ['closed','status-lock'])) {
Change:
if (!in_array($this->TICKET->ticketStatus, array('close','closed'))) {
to
if ($this->TICKET->ticketStatus != 'close') {
Wrap line:
<li><a href="?t=<?php echo $_GET['t']; ?>&cl=yes" title="<?php echo mswSH($this->TXT[23]); ?>"><?php echo $this->TXT[23]; ?></a></li>
in PHP if statement
if ($this->SETTINGS->viscloseticket == 'yes') {
?>
<li><a href="?t=<?php echo $_GET['t']; ?>&cl=yes" title="<?php echo mswSH($this->TXT[23]); ?>"><?php echo $this->TXT[23]; ?></a></li>
<?php
}
content/**theme**/account-view-dispute.tpl.php
Change:
if ($this->TICKET->visitorID == $this->USER_DATA->id) {
to
if ($this->SETTINGS->viscloseticket == 'yes' && $this->TICKET->visitorID == $this->USER_DATA->id) {
content/**theme**/custom-page.tpl.php
Change the "col-lg-4" div to the following:
<?php
define('RIGHT_PANEL_LOAD', 1);
include(dirname(__file__) . '/right-panel.php');
?>
content/**theme**/faq-cat.tpl.php
content/**theme**/faq-question.tpl.php
content/**theme**/faq-search.tpl.php
content/**theme**/main.tpl.php
Add the call to the right panel where applicable:
<?php
define('RIGHT_PANEL_LOAD', 1);
include(dirname(__file__) . '/right-panel.php');
?>
content/**theme**/html/ticket-reply.htm
Change:
<i class="fa fa-{icon} fa-fw"></i>
to
<i class="{icon}"></i>
CSS Updates
content/**theme**/css/plugins.css
Copy:
All 'Trumbowyg' css parameters.
content/**theme**/css/theme.css
Copy:
Lines 579 to 659
Copy:
All 'Trumbowyg' css parameters.
content/**theme**/css/theme.css
Copy:
Lines 579 to 659
Return to Upgrade Instructions