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:
authorMichal Čihař <mcihar@novell.com>2011-01-27 11:58:39 +0300
committerMichal Čihař <mcihar@novell.com>2011-01-27 11:58:39 +0300
commit8252f8a4cab2d3ac0857a61af6757023cbb9fdce (patch)
tree072fd74610133db76eed941922703443c73bf2e3 /db_qbe.php
parentb0d1ba07208c8599bf16bad7ea50062a0e727a4a (diff)
Offer switch to designer only if it is available.
Diffstat (limited to 'db_qbe.php')
-rw-r--r--db_qbe.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/db_qbe.php b/db_qbe.php
index ea95884b9c..95e72d894f 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -176,16 +176,20 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
if (! empty($tab['fragment'])) {
$tab['link'] .= $tab['fragment'];
}
+ if (isset($tab_designer['link'])) {
?>
<div id="visual_builder_anchor" class="notice hide">
<span id="footnote_1">
<?php echo __('Switch to'); ?>
<form action="<?php echo $tab_designer['link'] ?>" method="post">
- <input type="submit" style="background-color:#FFD; border-width:0; color:#00F;
+ <input type="submit" style="background-color:#FFD; border-width:0; color:#00F;
font-size: 15px;cursor: pointer" name="query" onmouseover="this.style.color='#F00';"
value="<?php echo __('visual builder'); ?>" onmouseout="this.style.color='#00F'"/></span>
</form>
</div>
+<?php
+ }
+?>
<form action="db_qbe.php" method="post">
<fieldset>
<table class="data" style="width: 100%;">