Fix XHTML.
This commit is contained in:
@@ -13,7 +13,8 @@ $Source$
|
|||||||
#1376391).
|
#1376391).
|
||||||
* lang/czech: Fix typo.
|
* lang/czech: Fix typo.
|
||||||
* tbl_select.php, libraries/display_tbl.lib.php,
|
* tbl_select.php, libraries/display_tbl.lib.php,
|
||||||
tbl_properties_operations.php, tbl_indexes.php: Fix XHTML.
|
tbl_properties_operations.php, tbl_indexes.php, db_operations.php,
|
||||||
|
server_privileges.php: Fix XHTML.
|
||||||
* tbl_properties_export.php: Fix output before headers.
|
* tbl_properties_export.php: Fix output before headers.
|
||||||
* Documentation.html: Add commands how to setup config dir, note about
|
* Documentation.html: Add commands how to setup config dir, note about
|
||||||
changing permissions.
|
changing permissions.
|
||||||
|
@@ -172,7 +172,7 @@ if (!$is_information_schema) {
|
|||||||
<?php
|
<?php
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_comment.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_comment.png"'
|
||||||
.' border="0" width="16" height="16" hspace="2" align="middle" />';
|
.' alt="" border="0" width="16" height="16" hspace="2" align="middle" />';
|
||||||
}
|
}
|
||||||
echo $strDBComment;
|
echo $strDBComment;
|
||||||
$comment = PMA_getComments($db);
|
$comment = PMA_getComments($db);
|
||||||
@@ -202,7 +202,7 @@ if (!$is_information_schema) {
|
|||||||
<?php
|
<?php
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strDBRename . ':';
|
echo $strDBRename . ':';
|
||||||
?>
|
?>
|
||||||
@@ -232,7 +232,7 @@ if (!$is_information_schema) {
|
|||||||
<?php
|
<?php
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strDBCopy . ':';
|
echo $strDBCopy . ':';
|
||||||
?>
|
?>
|
||||||
@@ -290,11 +290,11 @@ if (!$is_information_schema) {
|
|||||||
// version 4.1.1.
|
// version 4.1.1.
|
||||||
echo '<form method="post" action="./db_operations.php">' . "\n"
|
echo '<form method="post" action="./db_operations.php">' . "\n"
|
||||||
. PMA_generate_common_hidden_inputs($db, $table)
|
. PMA_generate_common_hidden_inputs($db, $table)
|
||||||
. '<fieldset' . "\n"
|
. '<fieldset>' . "\n"
|
||||||
. ' <legend>';
|
. ' <legend>';
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 's_asci.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 's_asci.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo ' <label for="select_db_collation">' . $strCollation . ':</label>' . "\n"
|
echo ' <label for="select_db_collation">' . $strCollation . ':</label>' . "\n"
|
||||||
. ' </legend>' . "\n"
|
. ' </legend>' . "\n"
|
||||||
@@ -316,11 +316,8 @@ if (!$is_information_schema) {
|
|||||||
} // end if
|
} // end if
|
||||||
} // end if (!$is_information_schema)
|
} // end if (!$is_information_schema)
|
||||||
|
|
||||||
// not sure about leaving the PDF dialog for information_schema
|
|
||||||
?>
|
|
||||||
<form method="post" action="pdf_schema.php">
|
|
||||||
<?php
|
|
||||||
|
|
||||||
|
// not sure about leaving the PDF dialog for information_schema
|
||||||
if ($num_tables > 0) {
|
if ($num_tables > 0) {
|
||||||
$takeaway = $url_query . '&table=' . urlencode($table);
|
$takeaway = $url_query . '&table=' . urlencode($table);
|
||||||
}
|
}
|
||||||
@@ -328,7 +325,6 @@ if ($num_tables > 0) {
|
|||||||
if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
||||||
<!-- Work on PDF Pages -->
|
<!-- Work on PDF Pages -->
|
||||||
|
|
||||||
<!-- PDF schema -->
|
|
||||||
<?php
|
<?php
|
||||||
// We only show this if we find something in the new pdf_pages table
|
// We only show this if we find something in the new pdf_pages table
|
||||||
|
|
||||||
@@ -337,13 +333,15 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
|||||||
$test_rs = PMA_query_as_cu($test_query, NULL, PMA_DBI_QUERY_STORE);
|
$test_rs = PMA_query_as_cu($test_query, NULL, PMA_DBI_QUERY_STORE);
|
||||||
|
|
||||||
if ($test_rs && PMA_DBI_num_rows($test_rs) > 0) { ?>
|
if ($test_rs && PMA_DBI_num_rows($test_rs) > 0) { ?>
|
||||||
|
<!-- PDF schema -->
|
||||||
|
<form method="post" action="pdf_schema.php">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<?php
|
<?php
|
||||||
echo PMA_generate_common_hidden_inputs($db);
|
echo PMA_generate_common_hidden_inputs($db);
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_view.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_view.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strDisplayPDF;
|
echo $strDisplayPDF;
|
||||||
?>:
|
?>:
|
||||||
@@ -406,7 +404,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
|||||||
echo '<a href="pdf_pages.php?' . $takeaway . '">';
|
echo '<a href="pdf_pages.php?' . $takeaway . '">';
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strEditPDFPages . '</a>';
|
echo $strEditPDFPages . '</a>';
|
||||||
?>
|
?>
|
||||||
@@ -425,7 +423,7 @@ if ( $num_tables > 0
|
|||||||
.'<li><a href="db_details_importdocsql.php?' . $takeaway . '">' . "\n";
|
.'<li><a href="db_details_importdocsql.php?' . $takeaway . '">' . "\n";
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_docsql.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_docsql.png"'
|
||||||
.' width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strImportDocSQL . '</a></li>' . "\n"
|
echo $strImportDocSQL . '</a></li>' . "\n"
|
||||||
.'</ul>';
|
.'</ul>';
|
||||||
|
@@ -1941,7 +1941,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) {
|
|||||||
. ' <th>' . $GLOBALS['strGrantOption'] . '</th>' . "\n"
|
. ' <th>' . $GLOBALS['strGrantOption'] . '</th>' . "\n"
|
||||||
. ' <th>' . $GLOBALS['strAction'] . '</th>' . "\n"
|
. ' <th>' . $GLOBALS['strAction'] . '</th>' . "\n"
|
||||||
. ' </tr>' . "\n"
|
. ' </tr>' . "\n"
|
||||||
. '<t/head>' . "\n"
|
. '</thead>' . "\n"
|
||||||
. '<tbody>' . "\n";
|
. '<tbody>' . "\n";
|
||||||
$odd_row = TRUE;
|
$odd_row = TRUE;
|
||||||
unset($row);
|
unset($row);
|
||||||
@@ -2077,7 +2077,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) {
|
|||||||
. ' <td>' . "\n"
|
. ' <td>' . "\n"
|
||||||
. ' <tt>' . "\n"
|
. ' <tt>' . "\n"
|
||||||
. ' ' . join(',' . "\n" . ' ', PMA_extractPrivInfo($current, TRUE)) . "\n"
|
. ' ' . join(',' . "\n" . ' ', PMA_extractPrivInfo($current, TRUE)) . "\n"
|
||||||
. ' <tt>' . "\n"
|
. ' </tt>' . "\n"
|
||||||
. ' </td>' . "\n"
|
. ' </td>' . "\n"
|
||||||
. ' <td>' . "\n"
|
. ' <td>' . "\n"
|
||||||
. ' ' . ($current['Grant_priv'] == 'Y' ? $GLOBALS['strYes'] : $GLOBALS['strNo']) . "\n"
|
. ' ' . ($current['Grant_priv'] == 'Y' ? $GLOBALS['strYes'] : $GLOBALS['strNo']) . "\n"
|
||||||
|
Reference in New Issue
Block a user