parent
56a6da51a9
commit
5503ebc6e5
|
@ -11,6 +11,6 @@ class Airtime_View_Helper_TrialRemaining extends Zend_View_Helper_Abstract
|
||||||
if($interval->format('%R') == '-'){
|
if($interval->format('%R') == '-'){
|
||||||
return "Trial expired.";
|
return "Trial expired.";
|
||||||
}
|
}
|
||||||
return $interval->format('%a days');
|
return $interval->format('%a');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,19 +32,23 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="listen-control-block">
|
<div class="listen-control-block">
|
||||||
<a class="" href="#"><span>Listen</span></a>
|
<a class="" href="#"><span>Listen</span></a>
|
||||||
</div>
|
</div>
|
||||||
<?php if($this->is_trial){?>
|
|
||||||
<div class="trial-info-block">
|
|
||||||
<ul>
|
|
||||||
<li>Trial remaining</li>
|
|
||||||
<li><?php echo $this->trial_remain?></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
<div class="personal-block">
|
<div class="personal-block">
|
||||||
<ul>
|
<ul>
|
||||||
<li><span class="name"><?php echo $this->user ?></span> | <a href="/Login/logout">Logout</a></li>
|
<li><span class="name"><?php echo $this->user ?></span> | <a href="/Login/logout">Logout</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<?php if($this->is_trial){?>
|
||||||
|
<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="#">Keep going on</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>
|
||||||
|
|
Loading…
Reference in New Issue