bug #1193450: XHTML compliance
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
||||
in Browse mode under MySQL 4.1.x if AllowAnywhereRecoding set to TRUE
|
||||
* tbl_properties_structure.php, tbl_properties.inc.php,
|
||||
libraries/sqlparser.lib.php: bug #1163595, NULL detection of TIMESTAMP
|
||||
* many files: bug #1193250, XHTML compliance, thanks to Ryan Schmidt
|
||||
|
||||
2005-05-19 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_select.php: bug #1204235, searching on a VARBINARY field
|
||||
|
@@ -310,7 +310,7 @@ function printPage()
|
||||
//-->
|
||||
</script>
|
||||
<?php
|
||||
echo '<br /><br /> <input type="button" style="width: 100px; height: 25px;" id="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
|
||||
echo '<br /><br /> <input type="button" style="width: 100px; height: 25px;" id="print" value="' . $strPrint . '" onclick="printPage()" />' . "\n";
|
||||
|
||||
require_once('./footer.inc.php');
|
||||
?>
|
||||
|
@@ -301,7 +301,7 @@ function printPage()
|
||||
//-->
|
||||
</script>
|
||||
<?php
|
||||
echo '<br /><br /> <input type="button" class="print_ignore" style="width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
|
||||
echo '<br /><br /> <input type="button" class="print_ignore" style="width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()" />' . "\n";
|
||||
|
||||
require_once('./footer.inc.php');
|
||||
?>
|
||||
|
@@ -6,9 +6,9 @@ function PMA_transformation_image_jpeg__inline($buffer, $options = array(), $met
|
||||
require_once('./libraries/transformations/global.inc.php');
|
||||
|
||||
if (PMA_IS_GD2) {
|
||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=jpeg&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=jpeg&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0" /></a>');
|
||||
} else {
|
||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240" />');
|
||||
}
|
||||
$buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
|
||||
|
||||
|
@@ -6,9 +6,9 @@ function PMA_transformation_image_png__inline($buffer, $options = array(), $meta
|
||||
require_once('./libraries/transformations/global.inc.php');
|
||||
|
||||
if (PMA_IS_GD2) {
|
||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=png&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php' . $options['wrapper_link'] . '&resize=png&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0" /></a>');
|
||||
} else {
|
||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240" />');
|
||||
}
|
||||
$buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
function PMA_transformation_text_plain__imagelink($buffer, $options = array(), $meta = '') {
|
||||
require_once('./libraries/transformations/global.inc.php');
|
||||
|
||||
$transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" target="_blank"><img src="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" border="0" width="' . (isset($options[1]) ? $options[1] : 100) . '" height="' . (isset($options[2]) ? $options[2] : 50) . '">' . $buffer . '</a>');
|
||||
$transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" target="_blank"><img src="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" border="0" width="' . (isset($options[1]) ? $options[1] : 100) . '" height="' . (isset($options[2]) ? $options[2] : 50) . '" />' . $buffer . '</a>');
|
||||
$buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
|
||||
return $buffer;
|
||||
}
|
||||
|
2
main.php
2
main.php
@@ -26,7 +26,7 @@ $item_img = $GLOBALS['pmaThemeImage'] . 'item_ltr.png';
|
||||
// Defines for MainPageIconic
|
||||
$str_iconic_list = '';
|
||||
$str_iconic_colspan = '';
|
||||
$str_normal_list = '<td valign="top" align="right" width="16"><img src="'.$item_img.'" border="0" hspace="2" vspace="5"></td>';
|
||||
$str_normal_list = '<td valign="top" align="right" width="16"><img src="'.$item_img.'" border="0" hspace="2" vspace="5" /></td>';
|
||||
if ($cfg['MainPageIconic']) {
|
||||
$str_iconic_list .= "<td width=\"16\" valign=\"top\" align=\"center\" nowrap=\"nowrap\">%1\$s"
|
||||
. "<img src=\"" . $pmaThemeImage . "%2\$s\" border=\"0\" width=\"16\" height=\"16\" hspace=\"2\" alt=\"%3\$s\" />"
|
||||
|
@@ -457,23 +457,23 @@ function resetDrag() {
|
||||
if (!empty($tabExist) && is_array($tabExist)) {
|
||||
foreach ($tabExist AS $key => $value) {
|
||||
if (!$value) {
|
||||
$_strtrans .= '<input type="hidden" name="delrow[]" value="' . $key . '">' . "\n";
|
||||
$_strtrans .= '<input type="hidden" name="delrow[]" value="' . $key . '" />' . "\n";
|
||||
$_strname .= '<li>' . $key . '</li>' . "\n";
|
||||
$shoot = TRUE;
|
||||
}
|
||||
}
|
||||
if ($shoot) {
|
||||
echo '<FORM action="pdf_pages.php" method="post">' . "\n"
|
||||
echo '<form action="pdf_pages.php" method="post">' . "\n"
|
||||
. PMA_generate_common_hidden_inputs($db, $table)
|
||||
. '<input type="hidden" name="do" value="deleteCrap">' . "\n"
|
||||
. '<input type="hidden" name="chpage" value="' . $chpage . '">' . "\n"
|
||||
. '<input type="hidden" name="do" value="deleteCrap" />' . "\n"
|
||||
. '<input type="hidden" name="chpage" value="' . $chpage . '" />' . "\n"
|
||||
. $strDelOld
|
||||
. '<ul>' . "\n"
|
||||
. $_strname
|
||||
. '</ul>' . "\n"
|
||||
. $_strtrans
|
||||
. '<input type="submit" value="' . $strGo . '">' . "\n"
|
||||
. '</FORM>';
|
||||
. '<input type="submit" value="' . $strGo . '" />' . "\n"
|
||||
. '</form>';
|
||||
}
|
||||
}
|
||||
// ------------------------------------
|
||||
|
@@ -236,7 +236,7 @@ foreach ($loop_array AS $vrowcount => $vrow) {
|
||||
|
||||
$vresult = (isset($result) && is_array($result) && isset($result[$vrowcount]) ? $result[$vrowcount] : $result);
|
||||
if ($insert_mode && $vrowcount > 0) {
|
||||
echo '<input type="checkbox" checked="checked" name="insert_ignore_' . $vrowcount . '" id="insert_ignore_check_' . $vrowcount . '">';
|
||||
echo '<input type="checkbox" checked="checked" name="insert_ignore_' . $vrowcount . '" id="insert_ignore_check_' . $vrowcount . '" />';
|
||||
echo '<label for="insert_ignore_check_' . $vrowcount . '">' . $strIgnore . '</label><br />' . "\n";
|
||||
}
|
||||
?>
|
||||
|
@@ -550,7 +550,7 @@ function printPage()
|
||||
//-->
|
||||
</script>
|
||||
<?php
|
||||
echo '<br /><br /> <input type="button" class="print_ignore" style="width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
|
||||
echo '<br /><br /> <input type="button" class="print_ignore" style="width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()" />' . "\n";
|
||||
|
||||
require_once('./footer.inc.php');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user