coding standards
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
// count amount of navigation tabs
|
|
||||||
|
/**
|
||||||
|
* Count amount of navigation tabs
|
||||||
|
*/
|
||||||
$db_details_links_count_tabs = 0;
|
$db_details_links_count_tabs = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepares links
|
* Prepares links
|
||||||
*/
|
*/
|
||||||
@@ -37,6 +41,7 @@ $lnk7 = "sql.php3";
|
|||||||
$arg7 = ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query) . '&back=tbl_properties' . $sub_part . '.php3&reload=1&sql_query= ' . urlencode('DROP TABLE ' . PMA_backquote($table) ) . '&zero_rows=' . urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table)));
|
$arg7 = ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query) . '&back=tbl_properties' . $sub_part . '.php3&reload=1&sql_query= ' . urlencode('DROP TABLE ' . PMA_backquote($table) ) . '&zero_rows=' . urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table)));
|
||||||
$att7 = 'class="drop" onclick="return confirmLink(this, \'DROP TABLE ' . PMA_jsFormat($table) . '\')"';
|
$att7 = 'class="drop" onclick="return confirmLink(this, \'DROP TABLE ' . PMA_jsFormat($table) . '\')"';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays links
|
* Displays links
|
||||||
*/
|
*/
|
||||||
@@ -45,19 +50,18 @@ $att7 = 'class="drop" onclick="return confirmLink(this, \'DROP TABLE ' . PMA_jsF
|
|||||||
<tr>
|
<tr>
|
||||||
<td width="8"> </td>
|
<td width="8"> </td>
|
||||||
<?php
|
<?php
|
||||||
echo printTab($strStructure,"tbl_properties_structure.php3",$url_query);
|
echo printTab($strStructure, 'tbl_properties_structure.php3', $url_query);
|
||||||
echo printTab($strBrowse, $lnk2, $arg2);
|
echo printTab($strBrowse, $lnk2, $arg2);
|
||||||
echo printTab($strSQL,"tbl_properties.php3",$url_query);
|
echo printTab($strSQL, 'tbl_properties.php3', $url_query);
|
||||||
echo printTab($strSelect, $lnk4, $arg4);
|
echo printTab($strSelect, $lnk4, $arg4);
|
||||||
echo printTab($strInsert,"tbl_change.php3",$url_query);
|
echo printTab($strInsert, 'tbl_change.php3', $url_query);
|
||||||
echo printTab($strExport,"tbl_properties_export.php3",$url_query);
|
echo printTab($strExport, 'tbl_properties_export.php3', $url_query);
|
||||||
echo printTab($strOperations,"tbl_properties_operations.php3",$url_query);
|
echo printTab($strOperations, 'tbl_properties_operations.php3', $url_query);
|
||||||
echo printTab($strOptions,"tbl_properties_options.php3",$url_query);
|
echo printTab($strOptions, 'tbl_properties_options.php3', $url_query);
|
||||||
echo printTab($strEmpty, $lnk6, $arg6, $att6);
|
echo printTab($strEmpty, $lnk6, $arg6, $att6);
|
||||||
echo printTab($strDrop,"sql.php3",$arg7,$att7);
|
echo printTab($strDrop, 'sql.php3', $arg7, $att7);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@@ -9,8 +9,11 @@ require('./tbl_properties_common.php3');
|
|||||||
$err_url = 'tbl_properties_operations.php3' . $err_url;
|
$err_url = 'tbl_properties_operations.php3' . $err_url;
|
||||||
$url_query .= '&back=tbl_properties_operations.php3';
|
$url_query .= '&back=tbl_properties_operations.php3';
|
||||||
|
|
||||||
require('./libraries/relation.lib.php3');
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets relation settings
|
||||||
|
*/
|
||||||
|
require('./libraries/relation.lib.php3');
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user