From: jakubvrana Date: Sun, 31 May 2009 19:38:22 +0000 (+0000) Subject: Change minus icon to cross X-Git-Tag: v3.0.0~894 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=5e2989a7140c001b2694eafd1b7b55108a61cf49;p=adminer.git Change minus icon to cross git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@631 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- 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 00000000..05b5061c Binary files /dev/null and b/cross.gif differ 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 fac6ad4f..00000000 Binary files a/minus.gif and /dev/null differ