From 48f777eb307cbd87f42b7a52b3ecac2798579f5d Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Wed, 7 May 2008 13:51:10 +0000 Subject: [PATCH] Use images for editing buttons git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@399 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- _compile.php | 11 ++++++++--- down.gif | Bin 0 -> 89 bytes editing.inc.php | 9 +++++++-- minus.gif | Bin 0 -> 80 bytes plus.gif | Bin 0 -> 89 bytes up.gif | Bin 0 -> 90 bytes 6 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 down.gif create mode 100644 minus.gif create mode 100644 plus.gif create mode 100644 up.gif diff --git a/_compile.php b/_compile.php index 412fb86d..8959437f 100644 --- a/_compile.php +++ b/_compile.php @@ -82,8 +82,7 @@ if ($_COOKIE["lang"]) { $file = str_replace("\n", "", $file); $file = str_replace('', $_COOKIE["lang"], $file); } -$file = str_replace("favicon.ico", '', $file); -$file = str_replace("default.css", '', $file); +$file = preg_replace("~favicon\\.ico|default\\.css|(up|down|plus|minus)\\.gif~", '', $file); $file = str_replace("arrow.gif", '" . preg_replace("~\\\\?.*~", "", $_SERVER["REQUEST_URI"]) . "?file=arrow.gif', $file); $file = str_replace('error_reporting(E_ALL & ~E_NOTICE);', 'error_reporting(E_ALL & ~E_NOTICE); if (isset($_GET["file"])) { @@ -100,7 +99,13 @@ if (isset($_GET["file"])) { ?>' . file_get_contents("default.css") . '(AJI=Jc6i7mH%udl3JoK*3VHFEbtzeX1k1_o;Y@&q7W literal 0 HcmV?d00001 diff --git a/editing.inc.php b/editing.inc.php index e7f4d048..cd64dc9a 100644 --- a/editing.inc.php +++ b/editing.inc.php @@ -94,7 +94,7 @@ function edit_fields($fields, $collations, $type = "TABLE") { - + checked="checked" /> " maxlength="255" /> - + + + + + + +E&GX3rEOY&xK)RR>@#}TX{$jV?10NPR=djJ3c literal 0 HcmV?d00001