diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-15 03:07:21 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-15 03:07:21 +0000 |
commit | 788c4e778a210c19341a3d308e2d46519d9d90aa (patch) | |
tree | ef54c6cb72f7972939b17410638f8e8a2d223af5 | |
parent | 05d312eb4148ea05727c6f1aac8583e46dc56781 (diff) | |
download | phpicalendar-788c4e778a210c19341a3d308e2d46519d9d90aa.tar.gz phpicalendar-788c4e778a210c19341a3d308e2d46519d9d90aa.tar.bz2 phpicalendar-788c4e778a210c19341a3d308e2d46519d9d90aa.zip |
More XHTML conversion.
-rw-r--r-- | functions/calendar_functions.php | 4 | ||||
-rw-r--r-- | functions/list_functions.php | 8 | ||||
-rw-r--r-- | templates/default/calendar_nav.tpl | 10 | ||||
-rw-r--r-- | templates/default/month_small.tpl | 6 | ||||
-rw-r--r-- | templates/default/sidebar.tpl | 24 |
5 files changed, 26 insertions, 26 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php index 1602f2f..9329fd2 100644 --- a/functions/calendar_functions.php +++ b/functions/calendar_functions.php @@ -179,7 +179,7 @@ function display_ical_list($cals) { // trying to figure out if this is the selected calendar. $cal_httpPrefix_tmp = str_replace('webcal://', 'http://', $cal_tmp); if ($cal_httpPrefix_tmp == urldecode($cal)) { - $return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\" selected>$cal_displayname_tmp</option>"; + $return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\" selected=\"selected\">$cal_displayname_tmp</option>"; } else { $return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\">$cal_displayname_tmp</option>"; } @@ -187,7 +187,7 @@ function display_ical_list($cals) { // option to open all (non-web) calenders together if ($cal == $ALL_CALENDARS_COMBINED) { - $return .= "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED&getdate=$getdate\" selected>$all_cal_comb_lang</option>"; + $return .= "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED&getdate=$getdate\" selected=\"selected\">$all_cal_comb_lang</option>"; } else { $return .= "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED&getdate=$getdate\">$all_cal_comb_lang</option>"; } diff --git a/functions/list_functions.php b/functions/list_functions.php index b2dcf04..a3e164d 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -29,7 +29,7 @@ function list_months() { $month_month = date("m", $month_time); $select_month = localizeDate($dateFormat_month, $month_time); if ($month_month == $getdate_month) { - $return .= "<option value=\"month.php?cal=$cal&getdate=$monthdate\" selected>$select_month</option>\n"; + $return .= "<option value=\"month.php?cal=$cal&getdate=$monthdate\" selected=\"selected\">$select_month</option>\n"; } else { $return .= "<option value=\"month.php?cal=$cal&getdate=$monthdate\">$select_month</option>\n"; } @@ -53,7 +53,7 @@ function list_years() { $getdate_date = date("Ymd", $year_time); $getdate_year = date("Y", $year_time); - $return .= "<option value=\"year.php?cal=$cal&getdate=$getdate_date\" selected>$getdate_year</option>\n"; + $return .= "<option value=\"year.php?cal=$cal&getdate=$getdate_date\" selected=\"selected\">$getdate_year</option>\n"; for ($i=0; $i < $num_years; $i++) { $offset = $i + 1; @@ -83,7 +83,7 @@ function list_weeks() { $select_week2 = localizeDate($dateFormat_week_jump, $end_week_time); if (($check_week >= $start_week_time) && ($check_week <= $end_week_time)) { - $return .= "<option value=\"week.php?cal=$cal&getdate=$weekdate\" selected>$select_week1 - $select_week2</option>\n"; + $return .= "<option value=\"week.php?cal=$cal&getdate=$weekdate\" selected=\"selected\">$select_week1 - $select_week2</option>\n"; } else { $return .= "<option value=\"week.php?cal=$cal&getdate=$weekdate\">$select_week1 - $select_week2</option>\n"; } @@ -102,7 +102,7 @@ function list_languages() { if (substr($file, -8) == ".inc.php") { $language_tmp = urlencode(ucfirst(substr($file, 0, -8))); if ($language_tmp == $tmp_pref_language) { - $return .= "<option value=\"$current_view.php?chlang=$language_tmp\" selected>in $language_tmp</option>\n"; + $return .= "<option value=\"$current_view.php?chlang=$language_tmp\" selected=\"selected\">in $language_tmp</option>\n"; } else { $return .= "<option value=\"$current_view.php?chlang=$language_tmp\">in $language_tmp</option>\n"; } diff --git a/templates/default/calendar_nav.tpl b/templates/default/calendar_nav.tpl index 85b9bfa..2830b79 100644 --- a/templates/default/calendar_nav.tpl +++ b/templates/default/calendar_nav.tpl @@ -22,11 +22,11 @@ <td> <div style="padding: 5px;"> <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="GET"> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br /> </form> <!-- switch show_search on --> {SEARCH_BOX} diff --git a/templates/default/month_small.tpl b/templates/default/month_small.tpl index d1cb890..17c5a11 100644 --- a/templates/default/month_small.tpl +++ b/templates/default/month_small.tpl @@ -1,6 +1,6 @@ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder"> - <tr height="20"> - <td align="center" class="sideback"><b>{MONTH_TITLE}</b></td> + <tr> + <td align="center" class="sideback"><div style="height:20px;"><b>{MONTH_TITLE}</b></div></td> </tr> <tr> <td align="center"> @@ -32,7 +32,7 @@ </tr> <!-- loop monthweeks off --> </table> - <img src="images/spacer.gif" width="1" height="3" alt=" "><br /> + <img src="images/spacer.gif" width="1" height="3" alt=" " /><br /> </td> </tr> </table>
\ No newline at end of file diff --git a/templates/default/sidebar.tpl b/templates/default/sidebar.tpl index 961a7e0..74ac6f4 100644 --- a/templates/default/sidebar.tpl +++ b/templates/default/sidebar.tpl @@ -1,6 +1,6 @@ <!-- switch show_user_login on --> -<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="GET"> -<input type="hidden" name="action" value="login"> +<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="get"> +<input type="hidden" name="action" value="login" /> <table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> <tr> <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td> @@ -16,11 +16,11 @@ <!-- switch invalid_login off --> <tr> <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">Username:</div></td> - <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10"></div></td> + <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td> </tr> <tr> <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">Password:</div></td> - <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10"></div></td> + <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td> </tr> </table> </form> @@ -74,18 +74,18 @@ <tr> <td bgcolor="#FFFFFF" align="left"> <div style="padding: 5px;"> - <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="GET"> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br /> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br /> + <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get"> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br /> + <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br /> </form> <!-- switch show_search on --> {SEARCH_BOX} <!-- switch show_search off --> <!-- switch show_goto on --> - <form style="margin-bottom:0;" action="day.php" method="GET"> + <form style="margin-bottom:0;" action="day.php" method="get"> <input type="hidden" name="cal" value="{URL_CAL}"> <input type="text" style="width:160px; font-size:10px" name="jumpto_day"> <input type="submit" value="Go"> @@ -206,7 +206,7 @@ <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td> - <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" / ></td> + <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td> <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td> </tr> </table> |