
Originally Posted by
davewest
The button code is
Code:
<br class="clearBoth" />
<?php if (BOX_DISPLAY_SUBMIT_LINK == 'true') { ?>
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_LINKS_SUBMIT, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_LINK, BUTTON_SUBMIT_LINK_ALT) . '</a>'; ?></div>
<?php }else{ ?>
<h2 class="buttonRow forward">Sorry, We are not taking Links at this time.</h2>
<?php } ?>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
<br class="clearBoth" />
Okay, the problem is in tpl_links_default.php line 118. It has the following code:
Code:
<br class="clearBoth" />
<div class="forward"><?php echo '<a href="' . zen_href_link(FILENAME_LINKS_SUBMIT, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_LINK, BUTTON_SUBMIT_LINK_ALT) . '</a>'; ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
<br class="clearBoth" />
swapping the above code for the code you supplied fixed my problem. For those clicking on my live link listed previously, you will not see the problem since its now been fixed.
Is this plugin hosted on github? Do you want me to submit the edited tpl_links_default.php for merging?