Changeset 2311661
- Timestamp:
- 05/25/2020 02:17:33 PM (6 years ago)
- Location:
- do-that-task
- Files:
-
- 2 edited
-
tags/1.4.9/template/index.php (modified) (1 diff)
-
trunk/template/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
do-that-task/tags/1.4.9/template/index.php
r2311635 r2311661 455 455 <?php 456 456 if(isset($subscription['plans'])){ 457 foreach ($subscription['plans'] as $key => $value) {?> 457 foreach ($subscription['plans'] as $key => $value) { 458 if($value['amount']>0):?> 458 459 <option value="<?= $value['amount'].'-'.$value['bonus'];?>"><?= $value['amount'].$currency.' a '.strtolower($subscription['period']).' + '.$value['bonus'].'% bonus'?></option> 459 <?php }460 <?php endif; } 460 461 }?> 461 462 <option value="custom"><?= __("Custom amount",DTT_TEXT_DOMAIN);?></option> -
do-that-task/trunk/template/index.php
r2311635 r2311661 455 455 <?php 456 456 if(isset($subscription['plans'])){ 457 foreach ($subscription['plans'] as $key => $value) {?> 457 foreach ($subscription['plans'] as $key => $value) { 458 if($value['amount']>0):?> 458 459 <option value="<?= $value['amount'].'-'.$value['bonus'];?>"><?= $value['amount'].$currency.' a '.strtolower($subscription['period']).' + '.$value['bonus'].'% bonus'?></option> 459 <?php }460 <?php endif; } 460 461 }?> 461 462 <option value="custom"><?= __("Custom amount",DTT_TEXT_DOMAIN);?></option>
Note: See TracChangeset
for help on using the changeset viewer.