For Lo�c: xhtml fixes.

This commit is contained in:
Alexander M. Turek
2002-08-08 10:46:29 +00:00
parent a388bb2532
commit 2ef066d141
4 changed files with 51 additions and 44 deletions

View File

@@ -7,7 +7,8 @@ $Source$
2002-08-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.php3: xhtml fixes (id name must start with a letter).
* scripts/decode_bug.php3: xhtml fixes.
* pdf_pages.php3, tbl_printview.php3, tbl_realtion.php3,
scripts/decode_bug.php3: xhtml fixes.
2002-08-08 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/spanish-*.inc.php3:

View File

@@ -252,7 +252,7 @@ if ($cfgRelation['pdfwork']) {
echo "\n" . ' </tr>';
echo "\n" . ' </table>' . "\n";
echo "\n" . ' <input type="hidden" name="c_table_rows" value="' . ($i + 1) . '">';
echo "\n" . ' <input type="hidden" name="c_table_rows" value="' . ($i + 1) . '" />';
echo "\n" . ' <input type="submit" value="' . $strGo . '" />';
echo "\n" . '</form>' . "\n\n";
} // end if

View File

@@ -194,13 +194,13 @@ while (list($key, $table) = each($the_tables)) {
<th><?php echo ucfirst($strDefault); ?></th>
<th><?php echo ucfirst($strExtra); ?></th>
<?php
echo "\n";
if ($have_rel) {
echo '<th>' . ucfirst($strLinksTo) . '</th>';
echo ' <th>' . ucfirst($strLinksTo) . '</th>' . "\n";
}
if ($cfgRelation['commwork']) {
echo '<th>' . ucfirst($strComments) . '</th>';
echo ' <th>' . ucfirst($strComments) . '</th>' . "\n";
}
echo "\n";
?>
</tr>
@@ -266,20 +266,20 @@ while (list($key, $table) = each($the_tables)) {
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php if (isset($row['Default'])) echo $row['Default']; ?>&nbsp;</td>
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $row['Extra']; ?>&nbsp;</td>
<?php
echo "\n";
if ($have_rel) {
echo ' <td bgcolor="' . $bgcolor . '" nowrap="nowrap">';
if (isset($res_rel[$field_name])) {
echo htmlspecialchars($res_rel[$field_name]['foreign_table'] . '->' . $res_rel[$field_name]['foreign_field'] );
}
echo '&nbsp;</td>';
echo '&nbsp;</td>' . "\n";
}
echo "\n";
if ($cfgRelation['commwork']) {
echo ' <td bgcolor="' . $bgcolor . '" nowrap="nowrap">';
if (isset($comments[$field_name])) {
echo htmlspecialchars($comments[$field_name]);
}
echo '&nbsp;</td>';
echo '&nbsp;</td>' . "\n";
}
?>
</tr>
@@ -561,8 +561,8 @@ while (list($key, $table) = each($the_tables)) {
unset($num_rows);
unset($show_comment);
echo '<hr />' . "\n";
echo '</div>' . "\n";
} // end if
echo '</div>' . "\n";
} // end while

View File

@@ -265,15 +265,15 @@ if ($col_rs && mysql_num_rows($col_rs) > 0) {
echo "\n";
?>
<form method="post" action="tbl_relation.php3" onchange="this.form.submit();">
<form method="post" action="tbl_relation.php3">
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="db" value="<?php echo $db; ?>" />
<input type="hidden" name="table" value="<?php echo $table; ?>" />
<input type="hidden" name="submit_show" value="true" />
<p><?php echo $strChangeDisplay; ?></P>
<select name="display_field">
<p><?php echo $strChangeDisplay; ?></p>
<select name="display_field" onchange="this.form.submit();">
<?php
echo "\n";
mysql_data_seek($col_rs, 0);
@@ -286,7 +286,13 @@ if ($col_rs && mysql_num_rows($col_rs) > 0) {
} // end while
?>
</select>
<script type="text/javascript" language="javascript">
<!--
// Fake js to allow the use of the <noscript> tag //-->
</script>
<noscript>
<input type="submit" value="<?php echo $strGo; ?>" />
</noscript>
</form>
<?php
} // end if (displayworks)
@@ -314,7 +320,7 @@ if ($col_rs && mysql_num_rows($col_rs) > 0) {
<tr>
<th><?php echo $field; ?></th>
<td>
<input type="text" name="comment[<?php echo $field;?>]" value="<?php echo htmlspecialchars($comments[$field]); ?>">
<input type="text" name="comment[<?php echo $field;?>]" value="<?php echo htmlspecialchars($comments[$field]); ?>" />
</td>
</tr>
<?php