Skip to content

Commit cb98d0f

Browse files
author
Jason Oster
committed
CSS fixes for IE7
1 parent bfe77a7 commit cb98d0f

File tree

10 files changed

+26
-21
lines changed

10 files changed

+26
-21
lines changed

search.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
'<input type="hidden" name="cpath" value="'.$cpath.'">'."\n".
2929
'<input type="hidden" name="cal" value="'.$cal.'">'."\n".
3030
'<input type="hidden" name="getdate" value="'.$getdate.'">'."\n".
31-
'<input type="text" style="width: 130px;" name="query" value="'.$query.'">'."\n".
32-
'<input type="image" src="templates/'.$phpiCal_config->template.'/images/search.gif" border="0" style="float: right;" name="submit" value="Search">'."\n".
31+
'<input type="text" style="width: 130px; float: left;" name="query" value="'.$query.'">'."\n".
32+
'<input type="image" src="templates/'.$phpiCal_config->template.'/images/search.gif" border="0" style="border-bottom: 3px;" name="submit" value="Search">'."\n".
3333
'</form>'."\n".
3434
'</div>';
3535

templates/default/calendar_nav.tpl

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,31 +94,31 @@
9494
<input type="hidden" name="cpath" value="{CPATH}"/>
9595
<input type="hidden" name="cal" value=""/>
9696
<input type="hidden" name="getdate" value=""/>
97-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
97+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
9898
</form>
9999
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
100100
<input type="hidden" name="cpath" value="{CPATH}"/>
101101
<input type="hidden" name="cal" value=""/>
102102
<input type="hidden" name="getdate" value=""/>
103-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
103+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
104104
</form>
105105
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
106106
<input type="hidden" name="cpath" value="{CPATH}"/>
107107
<input type="hidden" name="cal" value=""/>
108108
<input type="hidden" name="getdate" value=""/>
109-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
109+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
110110
</form>
111111
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
112112
<input type="hidden" name="cpath" value="{CPATH}"/>
113113
<input type="hidden" name="cal" value=""/>
114114
<input type="hidden" name="getdate" value=""/>
115-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
115+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
116116
</form>
117117
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
118118
<input type="hidden" name="cpath" value="{CPATH}"/>
119119
<input type="hidden" name="cal" value=""/>
120120
<input type="hidden" name="getdate" value=""/>
121-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
121+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
122122
</form>
123123
<!-- switch show_search on -->
124124
{SEARCH_BOX}

templates/default/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Style sheet for the silver calendar (default) */
22

3+
form {margin: 0;}
34
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
45

56
/* Background images for tables */

templates/default/search_box.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<input type="hidden" name="cpath" value="{CPATH}"/>
55
<input type="hidden" name="cal" value="{CAL}"/>
66
<input type="hidden" name="getdate" value="{GETDATE}"/>
7-
<input type="text" style="width: 130px;" name="query" value=""/>
8-
<input type="image" style="float: right;" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
7+
<input type="text" style="width: 130px; float: left;" name="query" value=""/>
8+
<input type="image" style="padding-bottom: 3px;" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
99
</form>

templates/default/sidebar.tpl

+6-6
Original file line numberDiff line numberDiff line change
@@ -81,31 +81,31 @@
8181
<input type="hidden" name="cpath" value="{CPATH}"/>
8282
<input type="hidden" name="cal" value=""/>
8383
<input type="hidden" name="getdate" value=""/>
84-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
84+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
8585
</form>
8686
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
8787
<input type="hidden" name="cpath" value="{CPATH}"/>
8888
<input type="hidden" name="cal" value=""/>
8989
<input type="hidden" name="getdate" value=""/>
90-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
90+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
9191
</form>
9292
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
9393
<input type="hidden" name="cpath" value="{CPATH}"/>
9494
<input type="hidden" name="cal" value=""/>
9595
<input type="hidden" name="getdate" value=""/>
96-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
96+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
9797
</form>
9898
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
9999
<input type="hidden" name="cpath" value="{CPATH}"/>
100100
<input type="hidden" name="cal" value=""/>
101101
<input type="hidden" name="getdate" value=""/>
102-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
102+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
103103
</form>
104104
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
105105
<input type="hidden" name="cpath" value="{CPATH}"/>
106106
<input type="hidden" name="cal" value=""/>
107107
<input type="hidden" name="getdate" value=""/>
108-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
108+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
109109
</form>
110110
<!-- switch show_search on -->
111111
{SEARCH_BOX}
@@ -202,7 +202,7 @@
202202
</table>
203203
</div>
204204
</td>
205-
</tr>
205+
</tr>
206206
</table>
207207
<table width="100%" border="0" cellpadding="0" cellspacing="0">
208208
<tr>

templates/default/sidebar_year.tpl

+6-6
Original file line numberDiff line numberDiff line change
@@ -81,31 +81,31 @@
8181
<input type="hidden" name="cpath" value="{CPATH}"/>
8282
<input type="hidden" name="cal" value=""/>
8383
<input type="hidden" name="getdate" value=""/>
84-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
84+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
8585
</form>
8686
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
8787
<input type="hidden" name="cpath" value="{CPATH}"/>
8888
<input type="hidden" name="cal" value=""/>
8989
<input type="hidden" name="getdate" value=""/>
90-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
90+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
9191
</form>
9292
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
9393
<input type="hidden" name="cpath" value="{CPATH}"/>
9494
<input type="hidden" name="cal" value=""/>
9595
<input type="hidden" name="getdate" value=""/>
96-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
96+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
9797
</form>
9898
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
9999
<input type="hidden" name="cpath" value="{CPATH}"/>
100100
<input type="hidden" name="cal" value=""/>
101101
<input type="hidden" name="getdate" value=""/>
102-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
102+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
103103
</form>
104104
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
105105
<input type="hidden" name="cpath" value="{CPATH}"/>
106106
<input type="hidden" name="cal" value=""/>
107107
<input type="hidden" name="getdate" value=""/>
108-
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
108+
<select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
109109
</form>
110110
<!-- switch show_search on -->
111111
{SEARCH_BOX}
@@ -202,7 +202,7 @@
202202
</table>
203203
</div>
204204
</td>
205-
</tr>
205+
</tr>
206206
</table>
207207
<table width="100%" border="0" cellpadding="0" cellspacing="0">
208208
<tr>

templates/green/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Style sheet for the green calendar */
22

3+
form {margin: 0;}
34
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
45

56
/* Background images for tables */

templates/grey/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Style sheet for the grey calendar */
22

3+
form {margin: 0;}
34
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
45

56
/* Background images for tables */

templates/red/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Style sheet for the silver calendar (default) */
22

3+
form {margin: 0;}
34
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
45

56
/* Background images for tables */

templates/tan/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Style sheet for the grey calendar */
22

3+
form {margin: 0;}
34
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
45

56
/* Background images for tables */

0 commit comments

Comments
 (0)