23 |
|
|
24 |
% if ($sth) { |
% if ($sth) { |
25 |
|
|
|
% if ($edit) { |
|
|
<% Jifty->web->link( |
|
|
label => 'Save this query', |
|
|
onclick => { |
|
|
region => 'query', |
|
|
replace_with => '/fragments/save_query', |
|
|
args => { |
|
|
sql_query => $query->argument_value('sql_query'), |
|
|
database => $query->argument_value('database'), |
|
|
}, |
|
|
refresh_self => 0, |
|
|
#toggle => 1, |
|
|
disable => 1, |
|
|
refresh => 'results', |
|
|
}, |
|
|
as_button => 1, |
|
|
) %> |
|
|
% } |
|
|
|
|
26 |
<table class="sql-result-table" cellpadding="3" cellspacing="0" border="1"> |
<table class="sql-result-table" cellpadding="3" cellspacing="0" border="1"> |
27 |
|
|
28 |
<tr> |
<tr> |