Add _pro macros to a bunch of billing page stuff

This commit is contained in:
Albert Santoni 2015-09-04 11:17:01 -04:00
parent d4287e9abd
commit 274881c6e0
3 changed files with 26 additions and 26 deletions

View file

@ -168,8 +168,8 @@ $(document).ready(function() {
</script>
<div class="ui-widget prefpanel clearfix padded-strong billing-panel">
<H2><?=_("Account Plans")?></H2>
<H4><?=_("Upgrade today to get more listeners and storage space!")?></H4>
<H2><?=_pro("Account Plans")?></H2>
<H4><?=_pro("Upgrade today to get more listeners and storage space!")?></H4>
<div class="pricing-grid">
<table>
<tr>
@ -252,9 +252,9 @@ $(document).ready(function() {
</table>
</div>
<!--
<p> <a target="_blank" href="https://www.airtime.pro/pricing"><?=_("View Plans")?></a> (Opens in a new window)</p>
<p> <a target="_blank" href="https://www.airtime.pro/pricing"><?=_pro("View Plans")?></a> (Opens in a new window)</p>
-->
<p id="current_plan"><span>Your Current Plan:</span>
<p id="current_plan"><span><?php echo(_pro('Your Current Plan:')); ?></span>
<?php
$currentProduct = Billing::getClientCurrentAirtimeProduct();
echo($currentProduct["name"]);
@ -262,7 +262,7 @@ echo($currentProduct["name"]);
?>
</p>
<h3>Choose a plan:</h3>
<h3>echo(_pro('Choose a plan: ')); ?></h3>
<form id="<?php echo $form->getId(); ?>" method="<?php echo $form->getMethod() ?>" action="<?php echo
$form->getAction()?>" enctype="<?php echo $form->getEncType();?>">
@ -275,7 +275,7 @@ echo($currentProduct["name"]);
<?php echo $form->newproductbillingcycle ?>
</div>
<div id="billingcycle_disclaimer">
Save 15% on annual plans (Hobbyist plan excluded).
Save 15% on annual plans (Hobbyist plan excluded).
</div>
<div class="clearfix"></div>
<div id="subtotal_box">
@ -288,7 +288,7 @@ echo($currentProduct["name"]);
VAT will be added below if you are an EU resident without a valid VAT number.
</div>
<h3>Enter your payment details:</h3>
<h3><?=_pro("Please enter your payment details:");?></h3>
<?php if (isset($this->errorMessage)) {?>
<div class="errors"><?php echo $this->errorMessage ?></div>
<?php }?>

View file

@ -6,7 +6,7 @@
<div class="trial-box-calendar-gray"><?php echo _("days") ?></div>
</div>
<div class="trial-box-button">
<a title="<?php echo sprintf(_("Purchase an %s Pro plan!"), PRODUCT_NAME)?>" href="/billing/upgrade"><?php echo _("My Account") ?></a>
<a title="<?php echo sprintf(_pro("Purchase an %s plan!"), SAAS_PRODUCT_BRANDING_NAME)?>" href="/billing/upgrade"><?php echo _pro("My Account") ?></a>
</div>
</div>
<?php }?>