CC-3712 : Trial end date overlaps with Airtime Clock
This commit is contained in:
parent
d47514c4db
commit
78fe946e57
3 changed files with 15 additions and 15 deletions
|
@ -9,14 +9,14 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<?php echo $this->partial('partialviews/trialBox.phtml', array("is_trial"=>$this->isTrial(), "trial_remain"=> $this->trialRemaining())) ?>
|
||||||
<div id="Panel">
|
<div id="Panel">
|
||||||
<div class="logo"></div>
|
<div class="logo"></div>
|
||||||
<?php echo $this->versionNotify();
|
<?php echo $this->versionNotify();
|
||||||
$sss = $this->SourceSwitchStatus();
|
$sss = $this->SourceSwitchStatus();
|
||||||
$scs = $this->SourceConnectionStatus();
|
$scs = $this->SourceConnectionStatus();
|
||||||
?>
|
?>
|
||||||
<?php echo $this->partial('partialviews/header.phtml', array("is_trial"=>$this->isTrial(), "trial_remain"=> $this->trialRemaining(),
|
<?php echo $this->partial('partialviews/header.phtml', array("live_dj_switch"=>$sss['live_dj'], "live_dj_connection"=>$scs['live_dj'], "master_dj_switch"=>$sss['master_dj'], "master_dj_connection"=>$scs['master_dj'],
|
||||||
"live_dj_switch"=>$sss['live_dj'], "live_dj_connection"=>$scs['live_dj'], "master_dj_switch"=>$sss['master_dj'], "master_dj_connection"=>$scs['master_dj'],
|
|
||||||
"scheduled_play_switch"=>$sss['scheduled_play'])) ?>
|
"scheduled_play_switch"=>$sss['scheduled_play'])) ?>
|
||||||
<?php $partial = array('menu.phtml', 'default');
|
<?php $partial = array('menu.phtml', 'default');
|
||||||
$this->navigation()->menu()->setPartial($partial); ?>
|
$this->navigation()->menu()->setPartial($partial); ?>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<?php echo $this->navigation()->menu() ?>
|
<?php echo $this->navigation()->menu() ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wrapper" id="content"><?php echo $this->layout()->content ?></div>
|
<div class="wrapper" id="content"><?php echo $this->layout()->content ?></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -61,17 +61,5 @@
|
||||||
<li class="time-zone"><span id="time-zone"></span></li>
|
<li class="time-zone"><span id="time-zone"></span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php if($this->trial_remain != '' && $this->trial_remain != "Trial expired."){?>
|
|
||||||
<div class="trial-box">
|
|
||||||
<p>Your trial expires in</p>
|
|
||||||
<div class="trial-box-calendar">
|
|
||||||
<span class="trial-box-calendar-white"><?php echo $this->trial_remain?></span>
|
|
||||||
<div class="trial-box-calendar-gray">days</div>
|
|
||||||
</div>
|
|
||||||
<div class="trial-box-button">
|
|
||||||
<a title="Purchase your copy of Airtime" href="https://account.sourcefabric.com/clientarea.php" target="_blank">My Account</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="jquery_jplayer_1" class="jp-jplayer" style="width:0px; height:0px;"></div>
|
<div id="jquery_jplayer_1" class="jp-jplayer" style="width:0px; height:0px;"></div>
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php if($this->trial_remain != '' && $this->trial_remain != "Trial expired."){?>
|
||||||
|
<div class="trial-box">
|
||||||
|
<p>Your trial expires in</p>
|
||||||
|
<div class="trial-box-calendar">
|
||||||
|
<span class="trial-box-calendar-white"><?php echo $this->trial_remain?></span>
|
||||||
|
<div class="trial-box-calendar-gray">days</div>
|
||||||
|
</div>
|
||||||
|
<div class="trial-box-button">
|
||||||
|
<a title="Purchase your copy of Airtime" href="https://account.sourcefabric.com/clientarea.php" target="_blank">My Account</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php }?>
|
Loading…
Add table
Add a link
Reference in a new issue