Page 2 of 2

Re: Request (replace search)

Posted: 29 Mar 2010, 23:30
by Steve
IpHeX ยป 29 Mar 2010, 00:33 wrote:Screenie:

Image

Add before:

Code: Select all

<form action="./search.php" method="post" id="search" style="float:right; padding-right:4px;">
				<div>

					<input style="font-size:1.1em;" class="inputbox search tiny" name="keywords" id="keywords" type="text" size="25" title="Search for keywords" value="Search&#8230;" onclick="if(this.value=='Search&#8230;')this.value='';" onblur="if(this.value=='')this.value='Search&#8230;';" /> 
				</div>
</form>
just looks like the viewsource code for stokers forum :geek:

we need some if statements:

Code: Select all

    <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --> your search edits <!-- ENDIF -->
some css to add in the css files pulled from your html edit:

Code: Select all

class="inputbox search tiny"
missing some language edits:
yours:

Code: Select all

title="Search for keywords" value="Search&#8230;" onclick="if(this.value=='Search&#8230;')this.value='';" onblur="if(this.value=='')this.value='Search&#8230;';" /> 
should be:

Code: Select all

title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
or stoker poker pulls his edits and posts them ,if he cant be bothered al fix it. :|