Skip to content

Commit

Permalink
Replace ):?> by ): ?>
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Jul 8, 2020
1 parent b3bc5b8 commit d15e6ea
Show file tree
Hide file tree
Showing 164 changed files with 365 additions and 365 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if(typeof Bundle=='undefined') {
<script type="text/javascript">
// re-bind form elements onchange
varienWindowOnload(true);
<?php if ($this->isReadonly()):?>
<?php if ($this->isReadonly()): ?>
$('product_bundle_container').select('input', 'select', 'textarea', 'button').each(function(input){
input.disabled = true;
if (input.tagName.toLowerCase() == 'button') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ bOption = new Bundle.Option(optionTemplate);
<?php $_option->setDefaultTitle($this->escapeHtml($_option->getDefaultTitle())); ?>
<?php $_option->setTitle($this->escapeHtml($_option->getTitle())); ?>
optionIndex = bOption.add(<?php echo $_option->toJson() ?>);
<?php if ($_option->getSelections()):?>
<?php if ($_option->getSelections()): ?>
<?php foreach ($_option->getSelections() as $_selection): ?>
<?php $_selection->setName($this->escapeHtml($_selection->getName())); ?>
<?php $_selection->setSku($this->escapeHtml($_selection->getSku())); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
<td class="a-center">
<?php if ($this->canShowPriceInfo($_item)): ?>
<?php if ($this->canReturnItemToStock($_item)) : ?>
<input type="checkbox" name="creditmemo[items][<?php echo $_item->getOrderItemId() ?>][back_to_stock]" value="1"<?php if ($_item->getBackToStock()):?> checked="checked"<?php endif ?> />
<input type="checkbox" name="creditmemo[items][<?php echo $_item->getOrderItemId() ?>][back_to_stock]" value="1"<?php if ($_item->getBackToStock()): ?> checked="checked"<?php endif ?> />
<?php endif ?>
<?php else: ?>
&nbsp;
Expand Down Expand Up @@ -382,7 +382,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<?php echo $option['value'];?>
<?php else: ?>
<?php echo Mage::helper('core/string')->truncate($option['value'], 55, '', $_remainder);?>
<?php if ($_remainder):?>
<?php if ($_remainder): ?>
... <span id="<?php echo $_id = 'id' . uniqid()?>"><?php echo $_remainder ?></span>
<script type="text/javascript">
$('<?php echo $_id ?>').hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function _renderNewTree(config, storeParam)
if (storeParam) {
url = url + storeParam;
}
<?php if ($this->isClearEdit()):?>
<?php if ($this->isClearEdit()): ?>
if (selectedNode) {
url = url + 'id/' + config.parameters.category_id;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<td class="scope-label"><span class="nobr"><?php echo $this->getScopeLabel() ?></span></td>
<?php if ($this->canDisplayUseDefault()): ?>
<td class="value use-default">
<input <?php if ($_element->getReadonly()):?> disabled="disabled"<?php endif ?> type="checkbox" name="use_default[]" id="<?php echo $_element->getHtmlId() ?>_default"<?php if ($this->usedDefault()): ?> checked="checked"<?php endif ?> onclick="<?php echo $elementToggleCode; ?>" value="<?php echo $this->getAttributeCode() ?>"/>
<input <?php if ($_element->getReadonly()): ?> disabled="disabled"<?php endif ?> type="checkbox" name="use_default[]" id="<?php echo $_element->getHtmlId() ?>_default"<?php if ($this->usedDefault()): ?> checked="checked"<?php endif ?> onclick="<?php echo $elementToggleCode; ?>" value="<?php echo $this->getAttributeCode() ?>"/>
<label for="<?php echo $_element->getHtmlId() ?>_default" class="normal"><?php echo $this->__('Use Default Value') ?></label>
</td>
<?php endif ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<?php $_labels = $this->getLabelValues() ?>
<?php foreach ($this->getStores() as $_store): ?>
<td>
<input class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" name="frontend_label[<?php echo $_store->getId() ?>]" value="<?php echo $this->escapeHtml($_labels[$_store->getId()]) ?>"<?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/>
<input class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" name="frontend_label[<?php echo $_store->getId() ?>]" value="<?php echo $this->escapeHtml($_labels[$_store->getId()]) ?>"<?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/>
</td>
<?php endforeach ?>
</tr>
Expand All @@ -81,20 +81,20 @@
<th><?php echo Mage::helper('catalog')->__('Position') ?></th>
<th class="nobr a-center"><?php echo Mage::helper('catalog')->__('Is Default') ?></th>
<th>
<?php if (!$this->getReadOnly()):?>
<?php if (!$this->getReadOnly()): ?>
<?php echo $this->getAddNewButtonHtml() ?>
<?php endif ?>
</th>
</tr>
<tr class="no-display template" id="row-template">
<?php foreach ($this->getStores() as $_store): ?>
<td><input name="option[value][{{id}}][<?php echo $_store->getId() ?>]" value="{{store<?php echo $_store->getId() ?>}}" class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/></td>
<td><input name="option[value][{{id}}][<?php echo $_store->getId() ?>]" value="{{store<?php echo $_store->getId() ?>}}" class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/></td>
<?php endforeach ?>
<td class="a-center"><input class="input-text" type="text" name="option[order][{{id}}]" value="{{sort_order}}" <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/></td>
<td><input class="input-radio" type="radio" name="default[]" value="{{id}}" <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/></td>
<td class="a-center"><input class="input-text" type="text" name="option[order][{{id}}]" value="{{sort_order}}" <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/></td>
<td><input class="input-radio" type="radio" name="default[]" value="{{id}}" <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/></td>
<td class="a-left">
<input type="hidden" class="delete-flag" name="option[delete][{{id}}]" value="" />
<?php if (!$this->getReadOnly()):?>
<?php if (!$this->getReadOnly()): ?>
<?php echo $this->getDeleteButtonHtml() ?>
<?php endif ?>
</td>
Expand All @@ -112,13 +112,13 @@ var optionDefaultInputType = 'radio';
var templateText =
'<tr class="option-row">'+
<?php foreach ($this->getStores() as $_store): ?>
'<td><input name="option[value][{{id}}][<?php echo $_store->getId() ?>]" value="{{store<?php echo $_store->getId() ?>}}" class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/><\/td>'+
'<td><input name="option[value][{{id}}][<?php echo $_store->getId() ?>]" value="{{store<?php echo $_store->getId() ?>}}" class="input-text<?php if ($_store->getId()==0): ?> required-option<?php endif ?>" type="text" <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/><\/td>'+
<?php endforeach ?>
'<td><input class="input-text" type="text" name="option[order][{{id}}]" value="{{sort_order}}" <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/><\/td>'+
'<td class="a-center"><input class="input-radio" type="{{intype}}" name="default[]" value="{{id}}" {{checked}} <?php if ($this->getReadOnly()):?> disabled="disabled"<?php endif ?>/><\/td>'+
'<td><input class="input-text" type="text" name="option[order][{{id}}]" value="{{sort_order}}" <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/><\/td>'+
'<td class="a-center"><input class="input-radio" type="{{intype}}" name="default[]" value="{{id}}" {{checked}} <?php if ($this->getReadOnly()): ?> disabled="disabled"<?php endif ?>/><\/td>'+
'<td class="a-left" id="delete_button_container_{{id}}">'+
'<input type="hidden" class="delete-flag" name="option[delete][{{id}}]" value="" />'+
<?php if (!$this->getReadOnly()):?>
<?php if (!$this->getReadOnly()): ?>
'<?php echo Mage::helper('core')->jsQuoteEscape($this->getDeleteButtonHtml()) ?>'+
<?php endif ?>
'<\/td>'+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<?php $_product = $this->getProduct(); ?>
<?php $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes()); ?>
<?php $_skipSaleableCheck = Mage::helper('catalog/product')->getSkipSaleableCheck(); ?>
<?php if (($_product->isSaleable() || $_skipSaleableCheck) && count($_attributes)):?>
<?php if (($_product->isSaleable() || $_skipSaleableCheck) && count($_attributes)): ?>
<div id="catalog_product_composite_configure_fields_configurable" class="<?php echo $this->getIsLastFieldset() ? 'last-fieldset' : '' ?>">
<h4><?php echo Mage::helper('catalog')->__('Associated Products') ?></h4>
<div class="product-options">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var productOption = {
}
}
var inputs = $$('div.product-custom-options button', 'div.product-custom-options input', 'div.product-custom-options select', 'div.product-custom-options textarea');
<?php if ($this->isReadonly()):?>
<?php if ($this->isReadonly()): ?>
for (var i=0, l = inputs.length; i < l; i ++) {
inputs[i].disabled = true;
if (inputs[i].tagName.toLowerCase()=='button') {
Expand Down Expand Up @@ -348,4 +348,4 @@ productOptionScope.bindScopeCheckbox();
//]]>
</script>

<div><?php if (!$this->isReadonly()):?><input type="hidden" name="affect_product_custom_options" value="1" /><?php endif ?></div>
<div><?php if (!$this->isReadonly()): ?><input type="hidden" name="affect_product_custom_options" value="1" /><?php endif ?></div>
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var tierPriceControl = {
$('tier_price_row_' + data.index + '_cust_group').value = data.group;
$('tier_price_row_' + data.index + '_website').value = data.website_id;

<?php if ($this->isShowWebsiteColumn() && !$this->isAllowChangeWebsite()):?>
<?php if ($this->isShowWebsiteColumn() && !$this->isAllowChangeWebsite()): ?>
var wss = $('tier_price_row_' + data.index + '_website');
var txt = wss.options[wss.selectedIndex].text;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<?php if (!$this->isReadonly()):?>
<?php if (!$this->isReadonly()): ?>
<div class="entry-edit">
<div id="assign_product_warrning" style="display: none;">
<ul class="messages">
Expand Down Expand Up @@ -67,7 +67,7 @@
</fieldset>
</div>
<div class="no-display" id="<?php echo $this->getHtmlId() ?>_attribute_template">
<div class="<?php if (!$this->isReadonly()):?>attribute-name-container <?php endif ?>left">
<div class="<?php if (!$this->isReadonly()): ?>attribute-name-container <?php endif ?>left">
'{{frontend_label}}'
</div>
<div class="values-container right">
Expand Down Expand Up @@ -95,7 +95,7 @@
<option value="1"><?php echo Mage::helper('catalog')->__('Percentage') ?></option>
</select>
</div>
<?php if ($this->getShowUseDefaultPrice()):?>
<?php if ($this->getShowUseDefaultPrice()): ?>
<div class="attribute-values-container">
&nbsp;<input id="__id___default" type="checkbox" <?php if ($this->isAttributesPricesReadonly() || $this->getCanEditPrice() === false): ?> disabled="disabled" <?php endif ?> class="attribute-use-default-value"> <label for="__id___default" class="normal"><?php echo Mage::helper('catalog')->__('Use Default Value') ?></label>
</div>
Expand All @@ -110,7 +110,7 @@
</div>
<?php if ($this->getShowUseDefaultPrice()) : ?>
<div class="attribute-values-container no-display">
<input id="__id___default" type="checkbox" <?php if ($this->isReadonly() || $this->getCanEditPrice() === false):?> disabled="disabled" <?php endif ?> class="attribute-use-default-value">
<input id="__id___default" type="checkbox" <?php if ($this->isReadonly() || $this->getCanEditPrice() === false): ?> disabled="disabled" <?php endif ?> class="attribute-use-default-value">
</div>
<?php endif ?>
<?php endif ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="tree-store-scope">
<?php foreach ($this->getWebsiteCollection() as $_website): ?>
<div class="website-name">
<input name="product[website_ids][]" value="<?php echo $_website->getId() ?>" <?php if ($this->isReadonly()):?> disabled="disabled"<?php endif ?> class="checkbox website-checkbox" id="product_website_<?php echo $_website->getId() ?>" type="checkbox"<?php if ($this->hasWebsite($_website->getId())): ?> checked="checked"<?php endif ?> />
<input name="product[website_ids][]" value="<?php echo $_website->getId() ?>" <?php if ($this->isReadonly()): ?> disabled="disabled"<?php endif ?> class="checkbox website-checkbox" id="product_website_<?php echo $_website->getId() ?>" type="checkbox"<?php if ($this->hasWebsite($_website->getId())): ?> checked="checked"<?php endif ?> />
<big><strong><label for="product_website_<?php echo $_website->getId() ?>"><?php echo $this->escapeHtml($_website->getName()) ?></label></strong></big>
</div>
<div class="webiste-groups" id="product_website_<?php echo $_website->getId() ?>_data">
Expand Down
Loading

0 comments on commit d15e6ea

Please sign in to comment.