Upgrades - Template Changes v4.2

Information

Template changes are shown below for v4.2. If you aren't sure, view the current file in the latest zip. Changes are compared to the original theme folder only.

New Files / Folders

content/**theme**/account-close.tpl.php

Nav Menu Updates

1 Find the opening "if" statement:

if ($this->SETTINGS->disputes == 'yes') {

2 AFTER it's closing }, add the following:

if ($this->SETTINGS->visclose == 'yes') {
?>
<div><a href="<?php echo $this->SETTINGS->scriptpath; ?>/?p=close"><i class="fa fa-times fa-fw"></i> <?php echo $this->PB_TXT_LNG[5]; ?></a></div>
<?php
}

Other Template Updates

1 Open content/**theme**/account-profile.tpl.php. AFTER the closing </ol> tag, add the following:

<?php
// Show this message if password needs changing..
if ($this->ACCOUNT['system2'] == 'forcepasschange') {
?>
<div class="row">
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <div class="panel panel-danger">
      <div class="panel-body">
        <i class="fa fa-warning fa-fw"></i> <b><?php echo $this->TXT[16][2]; ?></b>
      </div>
    </div>
  </div>
</div>
<?php
} ?>

CSS Updates

1 Open content/**theme**/css/theme.css. At the bottom add:

.delconfirmbar {
  border-top: 1px solid #f77;
  border-bottom: 1px solid #f77;
  margin-bottom:20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 0;
  border-left:0;
  border-right:0;
}

Javascript Updates

1 Open the latest content/**/js/msops.js file in a text editor.

2 Copy and paste the closeAcc function into your content/**/js/msops.js file.

Return to Upgrade Instructions