Commit 6747accc authored by Alan Garcia's avatar Alan Garcia
Browse files

Hide PhpMyAdmin link if no databases.

parent b2f439b8
...@@ -40,7 +40,9 @@ if ($q["t"]) { ...@@ -40,7 +40,9 @@ if ($q["t"]) {
<ul> <ul>
<li><a href="sql_list.php"><?php __("Databases"); ?></a></li> <li><a href="sql_list.php"><?php __("Databases"); ?></a></li>
<li><a href="sql_users_list.php"><?php __("MySQL Users") ?></a></li> <li><a href="sql_users_list.php"><?php __("MySQL Users") ?></a></li>
<li><a target="_blank" href="sql_admin.php"><?php __("PhpMyAdmin"); ?></a></li> <?php if ($q["u"] > 0 ) { ?>
<li><a target="_blank" href="sql_admin.php"><?php __("PhpMyAdmin"); ?></a></li>
<?php } ?>
</ul> </ul>
</div> </div>
</div> </div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment