Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason <jason.daurus@gmail.com>2015-07-25 13:37:28 +0300
committerJason <jason.daurus@gmail.com>2015-07-26 16:09:07 +0300
commit2a5a91e9f36553b57dacc06f593727a14ffd74b2 (patch)
treebff9ea0060f930684a9c2cc8574003a27c3306a9 /db_structure.php
parent8ac6c15b32b83afc71216593b67189d7500f9e67 (diff)
Refactor PMA_getHtmlForShowCreate, PMA_tableHeader, PMA_getHtmlForMoveColumnsDialog, PMA_getHtmlForStructureTableRow
Signed-off-by: Jason <jason.daurus@gmail.com>
Diffstat (limited to 'db_structure.php')
-rw-r--r--db_structure.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/db_structure.php b/db_structure.php
index e571e2749b..12f1de5cc5 100644
--- a/db_structure.php
+++ b/db_structure.php
@@ -127,8 +127,11 @@ $response->addHTML(
$response->addHTML(PMA_URL_getHiddenInputs($db));
$response->addHTML(
- PMA_tableHeader(
- $db_is_system_schema, $GLOBALS['replication_info']['slave']['status']
+ PMA\Template::get('structure/table_header')->render(
+ array(
+ 'db_is_system_schema' => $db_is_system_schema,
+ 'replication' => $GLOBALS['replication_info']['slave']['status']
+ )
)
);
@@ -265,7 +268,12 @@ foreach ($tables as $keyname => $current_table) {
);
$response->addHTML(
- PMA_tableHeader(false, $GLOBALS['replication_info']['slave']['status'])
+ PMA\Template::get('structure/table_header')->render(
+ array(
+ 'db_is_system_schema' => false,
+ 'replication' => $GLOBALS['replication_info']['slave']['status']
+ )
+ )
);
}