Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Span from button


ezramod

Recommended Posts

hello , im new in this CMS and i have some problem when i try to edit some button for exemple for review button in product_info.php page i have this code for review button:

  <?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?>

and in website appear this:


<span class="">
<a id="tdb5" href="#" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary ui-state-focus ui-state-hover" role="button">
<span class="ui-button-icon-primary ui-icon ui-icon-comment"/>
<span class="ui-button-text">Comentarii</span>

if read this code you view unnecessary <span> code for exemaple i don't need this span <span class=""> and <span class="ui-button-icon-primary ui-icon ui-icon-comment"/> because i want to create a sample button, in what file is create this button with all this unecessary span? where need to modfy for remove this span?

Sorry for my bad english.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...