aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2010-02-09 21:43:09 +0000
committerJason Oster <parasytic@users.sourceforge.net>2010-02-09 21:43:09 +0000
commit5c3fb0015c5e4a8b36008704904b85fff59b158d (patch)
treed4dbf6563dff0c0558eb1ee917bc610f2fd126b8
parentbfbc49d04a31f2e416c105cab57eec638d3547c4 (diff)
downloadphpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.tar.gz
phpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.tar.bz2
phpicalendar-5c3fb0015c5e4a8b36008704904b85fff59b158d.zip
Update search box style on search page
-rw-r--r--search.php10
-rw-r--r--templates/default/search.tpl12
2 files changed, 12 insertions, 10 deletions
diff --git a/search.php b/search.php
index 7932870..d73540f 100644
--- a/search.php
+++ b/search.php
@@ -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}&amp;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>

© 2014-2024 Faster IT GmbH | imprint | privacy policy