1
0
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:
Jakub Vrana
2018-01-12 15:27:44 +01:00
parent 12fbfc9847
commit e645693147
21 changed files with 69 additions and 64 deletions

View File

@@ -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")) {