mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Use script() for <script>
This commit is contained in:
@@ -14,8 +14,8 @@ page_header(lang('Process list'), $error);
|
||||
|
||||
<form action="" method="post">
|
||||
<table cellspacing="0" class="nowrap checkable">
|
||||
<script>mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});</script>
|
||||
<?php
|
||||
echo script("mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});");
|
||||
// HTML valid because there is always at least one process
|
||||
$i = -1;
|
||||
foreach (process_list() as $i => $row) {
|
||||
@@ -45,7 +45,7 @@ foreach (process_list() as $i => $row) {
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<script>tableCheck();</script>
|
||||
<?php echo script("tableCheck();"); ?>
|
||||
<p>
|
||||
<?php
|
||||
if (support("kill")) {
|
||||
|
Reference in New Issue
Block a user