diff options
author | Michal Čihař <mcihar@novell.com> | 2011-01-27 11:58:39 +0300 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2011-01-27 11:58:39 +0300 |
commit | 8252f8a4cab2d3ac0857a61af6757023cbb9fdce (patch) | |
tree | 072fd74610133db76eed941922703443c73bf2e3 /db_qbe.php | |
parent | b0d1ba07208c8599bf16bad7ea50062a0e727a4a (diff) |
Offer switch to designer only if it is available.
Diffstat (limited to 'db_qbe.php')
-rw-r--r-- | db_qbe.php | 6 |
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%;"> |