Advertisement
ricbaral

PHP executed inside of HTML comment

Jan 22nd, 2015
2,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.42 KB | None | 0 0
  1. <div class="add-to-cart">
  2.     <!--
  3.    <?php $buttonTitle = $this->__('Add to Cart'); ?>
  4.    <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)">
  5.        <span><span><?php echo $buttonTitle ?></span></span>
  6.    </button>
  7.    -->
  8.     <a class="button" href="<?php echo $producturl ?>">
  9.         <?php echo $this->__('Show Product'); ?>
  10.     </a>
  11. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement