Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Issue with header in theme  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

wannieb

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Issue with header in theme
« on: July 11, 2006, 01:41:01 pm »

I am having issue with the header section in my theme, I have a search facility within the header for the main site and the form it is in called "SearchForm". The problem is with the search button.

html coding
********
<td width="118" align="right" valign="top" class="search"><form name="SearchForm" method="post" action="/cgi-bin/htsearch">
    <input type="text" name="words" id="searchinput" size="10" maxlength="50"><input type="hidden" name="exclude2" value=""><input type="hidden" name="restrict" value=""><input type="hidden" name="config" value="worldn"><input type="hidden" name="format2" value="builtin-long"><input type="hidden" name="sort" value="score"><input type="hidden" name="exclude" value="">
    <input type="submit" name="submit" value=">>" id="searchbut"> 
    </form></td>
*******

It is the "<input type="submit" name="submit" value=">>" id="searchbut">" which I have the problem with. In my normal pages and if I view the header file on its own the value">>" looks the right size, however when viewing the header file in the gallery it is different smaller. I can not see anything which could be interferring in it.

Any suggestions
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Issue with header in theme
« Reply #1 on: July 11, 2006, 02:04:12 pm »

this is CSS issue your theme has a CSS entry for input tag
you should edit that entry or add a style properties to your input tag of search form
a direct link to your issue would be helpful
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Issue with header in theme
« Reply #2 on: July 11, 2006, 11:22:25 pm »

Try
Code: [Select]
<input type="submit" name="submit" value="&raquo;" id="searchbut" />or
Code: [Select]
<input type="submit" name="submit" value="&gt;&gt;" id="searchbut" />Not related to Coppermine though, but an html basic: you need to escape < and > to make them not be mistaken by the browser for tag start and end delimiters.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.