CRE Loaded Community

Banner


Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: creloaded 6.2 patch 13
PostPosted: Sun May 01, 2011 5:28 pm 
Offline
CRE Newbie

Joined: Tue Apr 12, 2011 2:59 am
Posts: 10
Hi, I have a template which is built on the above version. Now, IBP says it has html errors and I am currently trying to fix the following error:

Line 171, Column 199: there is no attribute "BORDER"
…images/buttons/english/go.gif" border="0" alt="Search" title=" Search " class…

I have spotted this line in templates/mytempl/boxes/search.php


Code:
$info_box_contents = array();
  $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),
                               'align' => 'left',
                              'text' => '
                              <br style="line-height:8px">
                           ' . BOX_SEARCH_TEXT . '<br>
                           <br style="line-height:8px">
                           <div class="vam">' .tep_draw_input_field('keywords', '', 'size="10" maxlength="30" class="input_search"') . '<br><br> ' . tep_hide_session_id() . tep_template_image_submit('go.gif', BOX_HEADING_SEARCH, ' class="button_search">' . "</div"));


My Question: I understand BOX_HEADING_SEARCH determines the alt value. I am not able to understand where the border ="0" is set. Can anyone please help.


Top
 Profile  
 
 Post subject: Re: creloaded 6.2 patch 13
PostPosted: Mon May 02, 2011 2:20 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
Try changing the last part to:

Code:
tep_template_image_submit('go.gif', BOX_HEADING_SEARCH, 'class="button_search"')' . '</div>';);


Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: creloaded 6.2 patch 13
PostPosted: Wed May 04, 2011 5:17 pm 
Offline
CRE Newbie

Joined: Tue Apr 12, 2011 2:59 am
Posts: 10
Thanks very much.. I cant believe. Just fixing that has brought my total 25 errors to 4 errors. wow!


Top
 Profile  
 
 Post subject: Re: creloaded 6.2 patch 13
PostPosted: Thu May 05, 2011 3:17 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
sribarrow wrote:
Thanks very much.. I cant believe. Just fixing that has brought my total 25 errors to 4 errors. wow!

What r the other 4?
Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 17, 2012 8:39 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy