mirror of
https://github.com/vrana/adminer.git
synced 2026-07-20 02:01:32 +02:00
is not needed with border-collapse
This commit is contained in:
@@ -45,7 +45,7 @@ class AdminerFileUpload {
|
||||
}
|
||||
|
||||
function selectVal($val, &$link, $field, $original) {
|
||||
if ($val != " " && preg_match('~(.*)_path$~', $field["field"], $regs)) {
|
||||
if ($val != "" && preg_match('~(.*)_path$~', $field["field"], $regs)) {
|
||||
$link = "$this->displayPath$_GET[select]/$regs[1]-$val";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ class AdminerTableStructure {
|
||||
echo ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
|
||||
echo ($field["collation"] ? " <i>" . h($field["collation"]) . "</i>" : "");
|
||||
echo "<td>" . ($field["null"] ? lang('Yes') : lang('No'));
|
||||
echo "<td>" . (isset($field["default"]) ? h($field["default"]) : " ");
|
||||
echo (support("comment") ? "<td>" . nbsp($field["comment"]) : "");
|
||||
echo "<td>" . h($field["default"]);
|
||||
echo (support("comment") ? "<td>" . h($field["comment"]) : "");
|
||||
echo "\n";
|
||||
}
|
||||
echo "</table>\n";
|
||||
|
||||
@@ -39,7 +39,7 @@ tinyMCE.init({
|
||||
}
|
||||
|
||||
function selectVal(&$val, $link, $field, $original) {
|
||||
if (preg_match("~_html~", $field["field"]) && $val != ' ') {
|
||||
if (preg_match("~_html~", $field["field"]) && $val != '') {
|
||||
$shortened = (substr($val, -10) == "<i>...</i>");
|
||||
if ($shortened) {
|
||||
$val = substr($val, 0, -10);
|
||||
|
||||
@@ -28,7 +28,7 @@ class AdminerWymeditor {
|
||||
|
||||
function selectVal(&$val, $link, $field, $original) {
|
||||
// copied from tinymce.php
|
||||
if (preg_match("~_html~", $field["field"]) && $val != ' ') {
|
||||
if (preg_match("~_html~", $field["field"]) && $val != '') {
|
||||
$shortened = (substr($val, -10) == "<i>...</i>");
|
||||
if ($shortened) {
|
||||
$val = substr($val, 0, -10);
|
||||
|
||||
Reference in New Issue
Block a user