From 5e2989a7140c001b2694eafd1b7b55108a61cf49 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Sun, 31 May 2009 19:38:22 +0000 Subject: [PATCH] Change minus icon to cross git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@631 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- _compile.php | 6 +++--- cross.gif | Bin 0 -> 74 bytes include/editing.inc.php | 2 +- minus.gif | Bin 64 -> 0 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 cross.gif delete mode 100644 minus.gif diff --git a/_compile.php b/_compile.php index c761fa0d..b4e8b05b 100644 --- a/_compile.php +++ b/_compile.php @@ -171,7 +171,7 @@ if ($_COOKIE["lang"]) { $file = preg_replace_callback("~lang\\('((?:[^\\\\']+|\\\\.)*)'([,)])~s", 'lang_ids', $file); } $replace = 'preg_replace("~\\\\\\\\?.*~", "", $_SERVER["REQUEST_URI"]) . "?file=\\0&version=' . $VERSION; -$file = preg_replace('~default\\.css|functions\\.js|favicon\\.ico|(up|down|plus|minus)\\.gif~', '', $file); +$file = preg_replace('~default\\.css|functions\\.js|favicon\\.ico|(up|down|plus|cross)\\.gif~', '', $file); $file = preg_replace('~arrow\\.gif~', '" . ' . $replace, $file); $file = str_replace('error_reporting(E_ALL & ~E_NOTICE);', 'error_reporting(E_ALL & ~E_NOTICE); if (isset($_GET["file"])) { @@ -191,8 +191,8 @@ if (isset($_GET["file"])) { case "arrow.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/arrow.gif")) . '"); break; case "up.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/up.gif")) . '"); break; case "down.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/down.gif")) . '"); break; - case "plus.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/plus.gif")) . '"); break; - case "minus.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/minus.gif")) . '"); break; + case "plus.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/add.gif")) . '"); break; + case "cross.gif": echo base64_decode("' . base64_encode(file_get_contents(dirname(__FILE__) . "/cross.gif")) . '"); break; } } exit; diff --git a/cross.gif b/cross.gif new file mode 100644 index 0000000000000000000000000000000000000000..05b5061c9789127bca3b0f46b7d0337a78a11447 GIT binary patch literal 74 zcmZ?wbh9u|6k-r!SjfQe?%g{E28Nk4X97tbAO?yGF)%PGxAd<({gz*uEAg6JeqH5Z by~gIApKtVf$L)T|=ek)e1A{dH7upyt literal 0 HcmV?d00001 diff --git a/include/editing.inc.php b/include/editing.inc.php index f9368b17..4d207460 100644 --- a/include/editing.inc.php +++ b/include/editing.inc.php @@ -142,7 +142,7 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0) { - + diff --git a/minus.gif b/minus.gif deleted file mode 100644 index fac6ad4fceadcb2261a5980608deab0d3ef0c52d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64 zcmZ?wbh9u|6k-r!SjfQe?%g{E28Nk4X97tbAO?yGF)%Pmw)C$&{g!|69Fewe