mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Code style: avoid excesive mixing of PHP and HTML
This commit is contained in:
@@ -427,9 +427,7 @@ function edit_form($table, $fields, $row, $update) {
|
||||
echo "<p class='error'>" . lang('No rows.') . "\n";
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<form action="" method="post" enctype="multipart/form-data" id="form">
|
||||
<?php
|
||||
echo "<form action='' method='post' enctype='multipart/form-data' id='form'>\n";
|
||||
if (!$fields) {
|
||||
echo "<p class='error'>" . lang('You have no privileges to update this table.') . "\n";
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user