aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2010-02-12 21:56:53 +0000
committerJason Oster <parasytic@users.sourceforge.net>2010-02-12 21:56:53 +0000
commitcb98d0f92dfd9b4e0bcef53d3160c6b7c548e0f4 (patch)
treedb3db1ef8708bdd5379c5ca553bbea27fd9f8d63
parentbfe77a76b2aaad24fcc6ab924674e5622646a4e5 (diff)
downloadphpicalendar-cb98d0f92dfd9b4e0bcef53d3160c6b7c548e0f4.tar.gz
phpicalendar-cb98d0f92dfd9b4e0bcef53d3160c6b7c548e0f4.tar.bz2
phpicalendar-cb98d0f92dfd9b4e0bcef53d3160c6b7c548e0f4.zip
CSS fixes for IE7
-rw-r--r--search.php4
-rw-r--r--templates/default/calendar_nav.tpl10
-rw-r--r--templates/default/default.css1
-rw-r--r--templates/default/search_box.tpl4
-rw-r--r--templates/default/sidebar.tpl12
-rw-r--r--templates/default/sidebar_year.tpl12
-rw-r--r--templates/green/default.css1
-rw-r--r--templates/grey/default.css1
-rw-r--r--templates/red/default.css1
-rw-r--r--templates/tan/default.css1
10 files changed, 26 insertions, 21 deletions
diff --git a/search.php b/search.php
index d73540f..8e1f66f 100644
--- a/search.php
+++ b/search.php
@@ -28,8 +28,8 @@ $search_box .=
'<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" 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".
+ '<input type="text" style="width: 130px; float: left;" name="query" value="'.$query.'">'."\n".
+ '<input type="image" src="templates/'.$phpiCal_config->template.'/images/search.gif" border="0" style="border-bottom: 3px;" name="submit" value="Search">'."\n".
'</form>'."\n".
'</div>';
diff --git a/templates/default/calendar_nav.tpl b/templates/default/calendar_nav.tpl
index 60c07d3..2244dc5 100644
--- a/templates/default/calendar_nav.tpl
+++ b/templates/default/calendar_nav.tpl
@@ -94,31 +94,31 @@
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
</form>
<!-- switch show_search on -->
{SEARCH_BOX}
diff --git a/templates/default/default.css b/templates/default/default.css
index ff12640..cc4d6ab 100644
--- a/templates/default/default.css
+++ b/templates/default/default.css
@@ -1,5 +1,6 @@
/* Style sheet for the silver calendar (default) */
+form {margin: 0;}
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
/* Background images for tables */
diff --git a/templates/default/search_box.tpl b/templates/default/search_box.tpl
index 7c3906e..d570b76 100644
--- a/templates/default/search_box.tpl
+++ b/templates/default/search_box.tpl
@@ -4,6 +4,6 @@
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value="{CAL}"/>
<input type="hidden" name="getdate" value="{GETDATE}"/>
- <input type="text" style="width: 130px;" name="query" value=""/>
- <input type="image" style="float: right;" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
+ <input type="text" style="width: 130px; float: left;" name="query" value=""/>
+ <input type="image" style="padding-bottom: 3px;" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
</form>
diff --git a/templates/default/sidebar.tpl b/templates/default/sidebar.tpl
index fe52c75..0a3dad4 100644
--- a/templates/default/sidebar.tpl
+++ b/templates/default/sidebar.tpl
@@ -81,31 +81,31 @@
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
</form>
<!-- switch show_search on -->
{SEARCH_BOX}
@@ -202,7 +202,7 @@
</table>
</div>
</td>
- </tr>
+ </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
diff --git a/templates/default/sidebar_year.tpl b/templates/default/sidebar_year.tpl
index d2874b3..701eacd 100644
--- a/templates/default/sidebar_year.tpl
+++ b/templates/default/sidebar_year.tpl
@@ -81,31 +81,31 @@
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_JUMPS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_ICALS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_YEARS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_MONTHS}</select>
</form>
<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
<input type="hidden" name="cpath" value="{CPATH}"/>
<input type="hidden" name="cal" value=""/>
<input type="hidden" name="getdate" value=""/>
- <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <select name="action" class="query_style" onchange="submitform(this.form, this.options[this.selectedIndex].value);">{LIST_WEEKS}</select>
</form>
<!-- switch show_search on -->
{SEARCH_BOX}
@@ -202,7 +202,7 @@
</table>
</div>
</td>
- </tr>
+ </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
diff --git a/templates/green/default.css b/templates/green/default.css
index f403fa4..4a8620f 100644
--- a/templates/green/default.css
+++ b/templates/green/default.css
@@ -1,5 +1,6 @@
/* Style sheet for the green calendar */
+form {margin: 0;}
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
/* Background images for tables */
diff --git a/templates/grey/default.css b/templates/grey/default.css
index 148d5fe..c6e7bef 100644
--- a/templates/grey/default.css
+++ b/templates/grey/default.css
@@ -1,5 +1,6 @@
/* Style sheet for the grey calendar */
+form {margin: 0;}
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
/* Background images for tables */
diff --git a/templates/red/default.css b/templates/red/default.css
index 9fe266c..4d15a79 100644
--- a/templates/red/default.css
+++ b/templates/red/default.css
@@ -1,5 +1,6 @@
/* Style sheet for the silver calendar (default) */
+form {margin: 0;}
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
/* Background images for tables */
diff --git a/templates/tan/default.css b/templates/tan/default.css
index 57b4cef..86a86c4 100644
--- a/templates/tan/default.css
+++ b/templates/tan/default.css
@@ -1,5 +1,6 @@
/* Style sheet for the grey calendar */
+form {margin: 0;}
table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
/* Background images for tables */

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