Use standard way for showing documentation links.

This commit is contained in:
Michal Čihař
2010-05-31 13:46:03 +02:00
parent 0a16cd9d68
commit 81dfcbedc1

View File

@@ -34,24 +34,24 @@ $query_default_option = PMA_DBI_QUERY_STORE;
*/
if (!$cfgRelation['relwork']) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'relation', 'config.inc.php') . '<br />' . "\n"
. '<a href="./Documentation.html#relation" target="documentation">' . __('Documentation') . '</a>' . "\n";
. PMA_showDocu('relation') . "\n";
require_once './libraries/footer.inc.php';
}
if (!$cfgRelation['displaywork']) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_info', 'config.inc.php') . '<br />' . "\n"
. '<a href="./Documentation.html#table_info" target="documentation">' . __('Documentation') . '</a>' . "\n";
. PMA_showDocu('table_info') . "\n";
require_once './libraries/footer.inc.php';
}
if (!isset($cfgRelation['table_coords'])){
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_coords', 'config.inc.php') . '<br />' . "\n"
. '<a href="./Documentation.html#table_coords" target="documentation">' . __('Documentation') . '</a>' . "\n";
. PMA_showDocu('table_coords') . "\n";
require_once './libraries/footer.inc.php';
}
if (!isset($cfgRelation['pdf_pages'])) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'pdf_page', 'config.inc.php') . '<br />' . "\n"
. '<a href="./Documentation.html#pdf_pages" target="documentation">' . __('Documentation') . '</a>' . "\n";
. PMA_showDocu('pdf_pages') . "\n";
require_once './libraries/footer.inc.php';
}