1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Replace <strong> by <b> and <em> by <i>

This commit is contained in:
Jakub Vrana
2010-05-20 23:05:25 +02:00
parent 4b38e6c846
commit 687b3fddad
6 changed files with 10 additions and 10 deletions

View File

@@ -324,7 +324,7 @@ if (!$columns) {
$id = h("val[$unique_idf][" . bracket_escape($key) . "]");
$value = $_POST["val"][$unique_idf][bracket_escape($key)];
$h_value = h(isset($value) ? $value : $row[$key]);
$long = strpos($val, "<em>...</em>");
$long = strpos($val, "<i>...</i>");
$editable = is_utf8($val) && !$long && $rows[$n][$key] == $row[$key] && !$functions[$key];
$text = ereg('text|blob', $field["type"]);
echo (($_GET["modify"] && $editable) || isset($value)