Skip to content

Commit

Permalink
HTML validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Dec 7, 2008
1 parent 08b4177 commit 0d29617
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion account_prefs_inc.php
Expand Up @@ -265,7 +265,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'email_bugnote_limit' ) ?>
</td>
<td>
<input type="text" name="email_bugnote_limit" maxlength="2" size="2" value="<?php echo $t_pref->email_bugnote_limit ?>">
<input type="text" name="email_bugnote_limit" maxlength="2" size="2" value="<?php echo $t_pref->email_bugnote_limit ?>" />
</td>
</tr>
<?php } else { ?>
Expand Down
2 changes: 1 addition & 1 deletion account_prof_edit_page.php
Expand Up @@ -64,7 +64,7 @@
<div align="center">
<form method="post" action="account_prof_update.php">
<?php echo form_security_field( 'profile_update' )?>
<input type="hidden" name="action" value="update">
<input type="hidden" name="action" value="update" />
<table class="width75" cellspacing="1">
<tr>
<td class="form-title">
Expand Down
2 changes: 1 addition & 1 deletion account_prof_menu_page.php
Expand Up @@ -74,7 +74,7 @@
<div align="center">
<form method="post" action="account_prof_update.php">
<?php echo form_security_field( 'profile_update' )?>
<input type="hidden" name="action" value="add">
<input type="hidden" name="action" value="add" />
<table class="width75" cellspacing="1">
<tr>
<td class="form-title">
Expand Down
2 changes: 1 addition & 1 deletion bug_change_status_page.php
Expand Up @@ -178,7 +178,7 @@
</td>
<td>
<?php
print "<input ".helper_get_tab_index()." type=\"text\" id=\"due_date\" name=\"due_date\" size=\"20\" maxlength=\"10\" value=\"".$t_date_to_display."\">";
print "<input ".helper_get_tab_index()." type=\"text\" id=\"due_date\" name=\"due_date\" size=\"20\" maxlength=\"10\" value=\"".$t_date_to_display."\" />";
date_print_calendar();
?>
</td>
Expand Down
8 changes: 4 additions & 4 deletions bug_graph_page.php
Expand Up @@ -88,10 +88,10 @@
$f_end = $t_period->get_end_formatted();
if ( ($t_body == 1 ) || ($t_body == 3) ) {
if ( $f_show_as_table ) {
echo '<br /><IFRAME SRC="bug_graph_bystatus.php?width='.$t_width.'&interval=' . $f_interval .
echo '<br /><iframe src="bug_graph_bystatus.php?width='.$t_width.'&interval=' . $f_interval .
'&start_date=' . $f_start . '&end_date=' . $f_end .
'&summary=' . $t_summary . '&show_table=1" width="100%" height="80%" frameborder="0"' .
' marginwidth="0" marginheight="0"></IFRAME>';
' marginwidth="0" marginheight="0"></iframe>';
} else {
echo '<br /><img src="bug_graph_bystatus.php?width=600&interval=' . $f_interval .
'&start_date=' . $f_start . '&end_date=' . $f_end .
Expand All @@ -100,10 +100,10 @@
}
if ( ($t_body == 2 ) || ($t_body == 3) ) {
if ( $f_show_as_table ) {
echo '<br /><IFRAME SRC="bug_graph_bycategory.php?width='.$t_width.'&interval=' . $f_interval .
echo '<br /><iframe src="bug_graph_bycategory.php?width='.$t_width.'&interval=' . $f_interval .
'&start_date=' . $f_start . '&end_date=' . $f_end .
'&summary=' . $t_summary . '&show_table=1" width="100%" height="80%" frameborder="0"' .
' marginwidth="0" marginheight="0"></IFRAME>';
' marginwidth="0" marginheight="0"></iframe>';
} else {
echo '<br /><img src="bug_graph_bycategory.php?width=600&interval=' . $f_interval .
'&start_date=' . $f_start . '&end_date=' . $f_end .
Expand Down
2 changes: 1 addition & 1 deletion bug_report_advanced_page.php
Expand Up @@ -237,7 +237,7 @@
</td>
<td>
<?php
print "<input ".helper_get_tab_index()." type=\"text\" id=\"due_date\" name=\"due_date\" size=\"20\" maxlength=\"10\" value=\"".$t_date_to_display."\">";
print "<input ".helper_get_tab_index()." type=\"text\" id=\"due_date\" name=\"due_date\" size=\"20\" maxlength=\"10\" value=\"".$t_date_to_display."\" />";
date_print_calendar();
?>
</td>
Expand Down
4 changes: 2 additions & 2 deletions core/date_api.php
Expand Up @@ -175,12 +175,12 @@ function date_print_calendar( $p_button_name = 'trigger' ) {
echo "<script type=\"text/javascript\" src=\"javascript/jscalendar/calendar-setup.js\"></script>\n";
$t_icon_path = config_get( 'icon_path' );
$t_cal_icon = $t_icon_path . "calendar-img.gif";
echo "<input type=\"image\" class=\"button\" id=\"" . $p_button_name . "\" SRC=\"";
echo "<input type=\"image\" class=\"button\" id=\"" . $p_button_name . "\" src=\"";
echo $t_cal_icon;
$t_format = config_get( 'short_date_format' );
$t_new_format = str_replace( '-', '-%', $t_format );
$t_format = "%" . $t_new_format;
echo "\" onClick=\"return showCalendar ('sel1', '" . $t_format . "', 24, true)\" />";
echo "\" onclick=\"return showCalendar ('sel1', '" . $t_format . "', 24, true)\" />";
}
}

Expand Down

0 comments on commit 0d29617

Please sign in to comment.