Removed redundant functions, some Standardisation work
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div id="page-title">
|
||||
<h1><?php echo $o->title(); ?></h1>
|
||||
<h1><?php echo $o->name(Site::language()); ?></h1>
|
||||
<?php echo $o->description(); ?>
|
||||
</div> <!-- /page-title -->
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
<th class="plan-title">Plan Name</th>
|
||||
|
||||
<?php foreach ($o->products() as $po) : ?>
|
||||
<td class="plan-title"><?php echo $po->title(); ?> <small>(<?php echo $po->id; ?>)</small></td>
|
||||
<td class="plan-title"><?php echo $po->name(Site::language()); ?> <small>(<?php echo $po->id; ?>)</small></td>
|
||||
<?php endforeach ?>
|
||||
</tr>
|
||||
|
||||
<tr class="plan-header">
|
||||
<th class="plan-price" >Price</th>
|
||||
<th class="plan-title" >Price</th>
|
||||
|
||||
<?php foreach ($o->products() as $po) : ?>
|
||||
<?php $go = $po->price_best($o->recur_schedule,TRUE); ?>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div id="page-title">
|
||||
<h1><?php echo $o->title(); ?></h1>
|
||||
<h1><?php echo $o->name(Site::language()); ?></h1>
|
||||
<?php echo $o->description(); ?>
|
||||
</div> <!-- /page-title -->
|
||||
|
||||
@@ -23,9 +23,7 @@
|
||||
|
||||
<div class="plan-header">
|
||||
|
||||
<div class="plan-title">
|
||||
<?php echo $po->title(); ?> <small>(<?php echo $po->id; ?>)</small>
|
||||
</div> <!-- /plan-title -->
|
||||
<div class="plan-title"><?php echo $po->name(Site::language()); ?> <small>(<?php echo $po->id; ?>)</small></div>
|
||||
|
||||
<div class="plan-price">
|
||||
<span class="note">$</span><?php echo substr($price,0,strpos($price,'.')); ?><span class="cents"> .<?php echo substr($price,-2,strpos($price,'.')); ?></span><span class="term"><?php echo StaticList_RecurSchedule::get($o->recur_schedule); ?></span>
|
||||
|
Reference in New Issue
Block a user