Skip to content

Commit

Permalink
Add a separate section for view related trackings
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Feb 4, 2015
1 parent 08ba93f commit a621b89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/tracking.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ function PMA_getHtmlForDataDefinitionAndManipulationStatements($url_query,
'DROP TABLE'
) !== false ? ' checked="checked"' : '')
. ' /> DROP TABLE<br/>';
} elseif ($type == 'both' || $type == 'view') {
}
if ($type == 'both') {
$html .= '<br/>';
}
if ($type == 'both' || $type == 'view') {
$html .= '<input type="checkbox" name="alter_view" value="true"'
. (/*overload*/mb_stripos(
$GLOBALS['cfg']['Server']['tracking_default_statements'],
Expand Down

0 comments on commit a621b89

Please sign in to comment.