Removed inline coding for Drop Trigger in libraries/tbl_triggers.lib.php

This commit is contained in:
ninadsp
2010-07-11 23:36:24 +05:30
parent dd58a5bc23
commit fe9f539ed2
2 changed files with 34 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ if ($triggers) {
($ct%2 == 0) ? 'even' : 'odd',
$trigger['name'],
PMA_linkOrButton('tbl_sql.php?' . $url_query . '&sql_query=' . urlencode($drop_and_create) . '&show_query=1&delimiter=' . urlencode($delimiter), $titles['Change']),
'<a href="sql.php?' . $url_query . '&sql_query=' . urlencode($trigger['drop']) . '" onclick="return confirmLink(this, \'' . PMA_jsFormat($trigger['drop'], false) . '\')">' . $titles['Drop'] . '</a>',
'<a class="drop_trigger_anchor" href="sql.php?' . $url_query . '&sql_query=' . urlencode($trigger['drop']) . '" >' . $titles['Drop'] . '</a>',
$trigger['action_timing'],
$trigger['event_manipulation']);
$ct++;