diff options
author | Jason Oster <parasytic@users.sourceforge.net> | 2010-02-09 21:43:09 +0000 |
---|---|---|
committer | Jason Oster <parasytic@users.sourceforge.net> | 2010-02-09 21:43:09 +0000 |
commit | 5c3fb0015c5e4a8b36008704904b85fff59b158d (patch) | |
tree | d4dbf6563dff0c0558eb1ee917bc610f2fd126b8 | |
parent | bfbc49d04a31f2e416c105cab57eec638d3547c4 (diff) | |
download | phpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.tar.gz phpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.tar.bz2 phpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.zip |
Update search box style on search page
-rw-r--r-- | search.php | 10 | ||||
-rw-r--r-- | templates/default/search.tpl | 12 |
2 files changed, 12 insertions, 10 deletions
@@ -23,13 +23,15 @@ if (isset($_GET['query']) && $_GET['query'] != '') { $search_box = ''; $search_box .= + '<div style="width: 160px;">'."\n". '<form action="search.php" method="get">'."\n". - '<input type="hidden" name="cpath" value="'.$cpath.'">'."\n". + '<input type="hidden" name="cpath" value="'.$cpath.'">'."\n". '<input type="hidden" name="cal" value="'.$cal.'">'."\n". '<input type="hidden" name="getdate" value="'.$getdate.'">'."\n". - '<input type="text" size="15" name="query" value="'.$query.'">'."\n". - '<INPUT type="image" src="templates/'.$phpiCal_config->template.'/images/search.gif" border=0 height="19" width="18" name="submit" value="Search">'."\n". - '</form>'; + '<input type="text" style="width: 130px;" name="query" value="'.$query.'">'."\n". + '<input type="image" src="templates/'.$phpiCal_config->template.'/images/search.gif" border="0" style="float: right;" name="submit" value="Search">'."\n". + '</form>'."\n". + '</div>'; $search_started = getmicrotime(); if ($search_valid) { diff --git a/templates/default/search.tpl b/templates/default/search.tpl index 87f60c8..c352887 100644 --- a/templates/default/search.tpl +++ b/templates/default/search.tpl @@ -6,7 +6,7 @@ <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td align="left" width="400" class="title"><h1>{L_RESULTS}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td> - <td valign="top" align="right" width="120" class="navback"> + <td valign="top" align="right" width="120" class="navback"> <div style="padding-top: 3px;"> <table width="120" border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> @@ -18,7 +18,7 @@ </table> </div> </td> - </tr> + </tr> </table> </td> </tr> @@ -58,7 +58,7 @@ <!-- switch description off --> </table> </div> - <!-- switch exceptions on --> + <!-- switch exceptions on --> <font class="V10"><i>{L_EXCEPTION}</i>: <a class="ps3" href="day.php?cal={CAL}&getdate={KEY}">{DAYOFMONTH}</a></font><br /> <div style="margin-left: 10px;"> <table width="100%" border="0" cellspacing="1" cellpadding="1"> @@ -84,16 +84,16 @@ <!-- switch except_description off --> </table> </div> - <!-- switch exceptions off --> + <!-- switch exceptions off --> <br /> <!-- switch results off --> - + <!-- switch no_results on --> <div align="center"> <p class="V12">{L_NO_RESULTS}</p> </div> <!-- switch no_results off --> - + <div align="center"> {SEARCH_BOX} </div> |