Skip to content

Commit

Permalink
replace <?php else:?> by <?php else: ?>
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Jun 7, 2020
1 parent 2e172da commit 9743c85
Show file tree
Hide file tree
Showing 33 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<?php if (count($_selections) == 1 && $_option->getRequired()): ?>
<?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" price="<?php echo $this->getSelectionPrice($_selections[0]) ?>"'/>
<?php else:?>
<?php else: ?>
<ul class="options-list">
<?php foreach($_selections as $_selection): ?>
<li><input class="change-container-classname checkbox bundle-option-<?php echo $_option->getId() ?> <?php if ($_option->getRequired()) echo 'validate-one-required-by-name' ?>" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" type="checkbox" name="bundle_option[<?php echo $_option->getId() ?>][]"<?php if ($this->_isSelected($_selection)) echo ' checked="checked"' ?><?php if (!$_selection->isSaleable() && !$_skipSaleableCheck) echo ' disabled="disabled"' ?> value="<?php echo $_selection->getSelectionId() ?>" onclick="ProductConfigure.bundleControl.changeSelection(this)" price="<?php echo $this->getSelectionPrice($_selection) ?>"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<?php if ($this->_showSingle()): ?>
<?php echo $this->getSelectionTitlePrice($_selections[0]) ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" price="<?php echo $this->getSelectionPrice($_selections[0]) ?>" />
<?php else:?>
<?php else: ?>
<ul class="options-list">
<?php if (!$_option->getRequired()): ?>
<li><input type="radio" class="radio" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php echo ($_default && $_default->isSalable())?'':' checked="checked" ' ?> value="" onclick="ProductConfigure.bundleControl.changeSelection(this)"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<?php if ($this->_showSingle()): ?>
<?php echo $this->getSelectionTitlePrice($_selections[0]) ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" price="<?php echo $this->getSelectionPrice($_selections[0]) ?>"/>
<?php else:?>
<?php else: ?>
<select id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select change-container-classname" onchange="ProductConfigure.bundleControl.changeSelection(this)">
<option value=""><?php echo $this->__('Choose a selection...') ?></option>
<?php foreach ($_selections as $_selection): ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax

<?php if ($this->getUseLinkForAsLowAs()):?>
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
<?php else:?>
<?php else: ?>
<span class="minimal-price-link">
<?php endif ?>
<span class="label"><?php echo $this->__('As low as:') ?></span>
Expand All @@ -376,7 +376,7 @@ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax
</span>
<?php if ($this->getUseLinkForAsLowAs()):?>
</a>
<?php else:?>
<?php else: ?>
</span>
<?php endif ?>
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
<?php if ($this->getIsSuccess()):?>
<h1><?php echo $this->__('Verification Successful');?></h1>
<p><?php echo $this->__('Please continue with placing order.')?></p>
<?php else:?>
<?php else: ?>
<h4><?php echo $this->__('Verification Failed');?></h4>
<p><?php echo $this->__('The card has failed verification with the issuer bank.')?> <strong><?php echo $this->__('Order cannot be placed.')?></strong></p>
<?php endif ?>
<?php else:?>
<?php else: ?>
<h4><?php echo $this->__('Verification cannot be processed');?></h4>
<p><?php echo $this->__('There has been wrong payment information submitted or time limit has expired. Please, try again.')?> <strong><?php echo $this->__('Order cannot be placed.')?></strong></p>
<?php endif ?>
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<?php endif ?>
<label for="<?php echo $htmlId?>"><?php echo $this->getElementHtml($element) ?><strong><?php echo $this->getElementLabelTextHtml($element)?></strong>&nbsp;&ndash; <?php echo $this->escapeHtml($this->getElementComment($element))?></label>
</td>
<?php else:?>
<?php else: ?>
<td>
<?php if ($this->hasInheritElement($element)): ?>
<div><?php echo $this->getInheritElementHtml($element) ?><?php echo $this->getInheritElementLabelHtml($element) ?></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<strong><?php echo $this->formatPrice($this->getTotal()->getValue()) ?></strong>
</td>
</tr>
<?php else:?>
<?php else: ?>
<tr>
<td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
<strong><?php echo $this->getTotal()->getTitle() ?></strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<?php echo $this->formatPrice($this->getShippingIncludeTax()) ?>
</td>
</tr>
<?php else:?>
<?php else: ?>
<tr>
<td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
<?php echo $this->escapeHtml($this->getTotal()->getTitle()) ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<?php foreach ($this->getTotals('footer') as $_code => $_total): ?>
<?php if ($_total->getBlockName()): ?>
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
<?php else:?>
<?php else: ?>
<tr class="<?php echo $_code?>">
<td <?php echo $this->getLabelProperties()?> class="label">
<strong><?php echo $this->escapeHtml($_total->getLabel()); ?></strong>
Expand All @@ -61,19 +61,19 @@
<?php foreach ($_totals as $_code => $_total): ?>
<?php if ($_total->getBlockName()): ?>
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
<?php else:?>
<?php else: ?>
<tr class="<?php echo $_code?>">
<td <?php echo $this->getLabelProperties()?> class="label">
<?php if ($_total->getStrong()):?>
<strong><?php echo $this->escapeHtml($_total->getLabel()); ?></strong>
<?php else:?>
<?php else: ?>
<?php echo $this->escapeHtml($_total->getLabel()); ?>
<?php endif ?>
</td>
<?php if ($_total->getStrong()):?>
<td <?php echo $this->getValueProperties()?> class="emph">
<strong><?php echo $this->formatValue($_total) ?></strong>
<?php else:?>
<?php else: ?>
<td <?php echo $this->getValueProperties()?>>
<?php echo $this->formatValue($_total) ?>
<?php endif ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<address><?php echo nl2br($this->escapeHtml($this->getObjectData($row, 'value')))?></address>
<?php endforeach ?>

<?php else:?>
<?php else: ?>

<table cellspacing="0" class="form-list">
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<li style="background-color:#FFD;">
<img src="<?php echo $this->getSkinUrl('images/fam_bullet_error.gif');?>" class="v-middle" style="margin-right:5px"/>
<?php echo $this->__("Warning: Please do not close the window during importing/exporting data");?>
<?php else:?>
<?php else: ?>
<img src="<?php echo $this->getSkinUrl('images/error_msg_icon.gif');?>" class="v-middle" style="margin-right:5px"/>
<?php echo $this->__("No profile loaded...");?>
<?php endif ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<?php if (count($_selections) == 1 && $_option->getRequired()): ?>
<?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
<?php else:?>
<?php else: ?>
<ul class="options-list">
<?php foreach($_selections as $_selection): ?>
<li><input onclick="bundle.changeSelection(this)" class="change-container-classname checkbox bundle-option-<?php echo $_option->getId() ?> <?php if ($_option->getRequired()) echo 'validate-one-required-by-name' ?>" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" type="checkbox" name="bundle_option[<?php echo $_option->getId() ?>][]"<?php if ($this->_isSelected($_selection)) echo ' checked="checked"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?> value="<?php echo $_selection->getSelectionId() ?>"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<?php $tierPriceHtml = $this->getTierPriceHtml($_selections[0]); ?>
<?php endif ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
<?php else:?>
<?php else: ?>
<ul class="options-list">
<?php if (!$_option->getRequired()): ?>
<li><input type="radio" onclick="bundle.changeSelection(this)" class="radio" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php echo ($_default && $_default->isSalable())?'':' checked="checked" ' ?> value=""/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<?php $tierPriceHtml = $this->getTierPriceHtml($_selections[0]); ?>
<?php endif ?>
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
<?php else:?>
<?php else: ?>
<select onchange="bundle.changeSelection(this)" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select change-container-classname">
<option value=""><?php echo $this->__('Choose a selection...') ?></option>
<?php foreach ($_selections as $_selection): ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<?php endif ?>
//]]>
</script>
<?php else:?>
<?php else: ?>
<script type="text/javascript">
//<![CDATA[
if (typeof CentinelAuthenticateController != 'undefined') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
window.parent.CentinelAuthenticateController.success();
//]]>
</script>
<?php else:?>
<?php else: ?>
<h4><?php echo $this->__('Verification Failed');?></h4>
<p><?php echo $this->__('The card has failed verification with the issuer bank.')?> <strong><?php echo $this->__('Order cannot be placed.')?></strong></p>
<?php endif ?>
<?php else:?>
<?php else: ?>
<h4><?php echo $this->__('Verification cannot be processed');?></h4>
<p><?php echo $this->__('There has been wrong payment information submitted or the time limit has expired. Please, try again.')?> <strong><?php echo $this->__('Order cannot be placed.')?></strong></p>
<?php endif ?>
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
<?php if ($_a->getIsHtml()):?>
<?php echo $_a->getContent() ?>
<?php else:?>
<?php else: ?>
<?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
<?php endif ?>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
<?php if ($_a->getIsHtml()):?>
<?php echo $_a->getContent() ?>
<?php else:?>
<?php else: ?>
<?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
<?php endif ?>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
<li class="control">
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif ?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
</li>
<?php else:?>
<?php else: ?>
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
<?php endif ?>
<?php echo $this->getChildHtml('form.additional.info'); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
<li class="control">
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif ?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
<?php else:?>
<?php else: ?>
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
<?php endif ?>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
<?php else:?>
<?php else: ?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
<?php endif ?>
<div class="quick-access">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
<li class="control">
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif ?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
</li>
<?php else:?>
<?php else: ?>
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
<?php endif ?>
<?php echo $this->getChildHtml('form.additional.info'); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
<?php foreach ($this->getTotals() as $_code => $_total): ?>
<?php if ($_total->getBlockName()): ?>
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
<?php else:?>
<?php else: ?>
<tr class="<?php echo $_code?>">
<td <?php echo $this->getLabelProperties()?>>
<?php if ($_total->getStrong()):?>
<strong><?php echo $this->escapeHtml($_total->getLabel());?></strong>
<?php else:?>
<?php else: ?>
<?php echo $this->escapeHtml($_total->getLabel());?>
<?php endif ?>
</td>
<td <?php echo $this->getValueProperties()?>>
<?php if ($_total->getStrong()):?>
<strong><?php echo $this->formatValue($_total) ?></strong>
<?php else:?>
<?php else: ?>
<?php echo $this->formatValue($_total) ?>
<?php endif ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<address><?php echo nl2br($this->escapeHtml($this->getObjectData($row, 'value')))?></address>
<?php endforeach ?>

<?php else:?>
<?php else: ?>

<table class="info-table">
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
</td>
</tr>
<?php else:?>
<?php else: ?>
<tr>
<td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
<strong><?php echo $this->getTotal()->getTitle() ?></strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<?php echo $this->helper('checkout')->formatPrice($this->getShippingIncludeTax()) ?>
</td>
</tr>
<?php else:?>
<?php else: ?>
<tr>
<td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
<?php echo $this->escapeHtml($this->getTotal()->getTitle()) ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simpleP

<?php if ($this->getUseLinkForAsLowAs()):?>
<span class="minimal-price-link">
<?php else:?>
<?php else: ?>
<span class="minimal-price-link">
<?php endif ?>
<span class="label"><?php echo $this->__('As low as:') ?></span>
Expand All @@ -377,7 +377,7 @@ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simpleP
</span>
<?php if ($this->getUseLinkForAsLowAs()):?>
</span>
<?php else:?>
<?php else: ?>
</span>
<?php endif ?>
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<?php endif ?>
</div>
<?php echo $this->getChildHtml('extra_buttons') ?>
<?php else:?>
<?php else: ?>
<?php if ($_product->isSaleable() && $this->hasOptions() && $this->getChildChildHtml('container1') ):?>
<div class="options-container-small">
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
<?php foreach ($this->getTotals() as $_code => $_total): ?>
<?php if ($_total->getBlockName()): ?>
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
<?php else:?>
<?php else: ?>
<tr class="<?php echo $_code?>">
<td>
<?php if ($_total->getStrong()):?>
<strong><?php echo $this->escapeHtml($_total->getLabel());?></strong>
<?php else:?>
<?php else: ?>
<?php echo $this->escapeHtml($_total->getLabel());?>
<?php endif ?>
</td>
<td>
<?php if ($_total->getStrong()):?>
<strong><?php echo $this->formatValue($_total) ?></strong>
<?php else:?>
<?php else: ?>
<?php echo $this->formatValue($_total) ?>
<?php endif ?>
</td>
Expand Down
Loading

0 comments on commit 9743c85

Please sign in to comment.