[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA1-1195-g6c0e5fd

Marc Delisle lem9 at users.sourceforge.net
Mon Dec 27 15:07:16 CET 2010


The branch, master has been updated
       via  6c0e5fd7107e7d6719f8cd770a5d04da0c001c84 (commit)
      from  5b4938bae5705661e1d5a8a87fbd49b8d8323a0c (commit)


- Log -----------------------------------------------------------------
commit 6c0e5fd7107e7d6719f8cd770a5d04da0c001c84
Author: Marc Delisle <marc at infomarc.info>
Date:   Mon Dec 27 09:07:05 2010 -0500

    Inline edit icon

-----------------------------------------------------------------------

Summary of changes:
 js/sql.js                                    |    4 ++++
 themes/darkblue_orange/img/b_inline_edit.png |  Bin 0 -> 369 bytes
 themes/original/img/b_inline_edit.png        |  Bin 0 -> 369 bytes
 3 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 themes/darkblue_orange/img/b_inline_edit.png
 create mode 100644 themes/original/img/b_inline_edit.png

diff --git a/js/sql.js b/js/sql.js
index 5a359c5..7e85e46 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -68,6 +68,8 @@ function appendInlineAnchor(disp_mode) {
             var $cloned_tr = $this_tr.clone();
 
             var $img_object = $cloned_tr.find('img:first').attr('title', PMA_messages['strInlineEdit']);
+            var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit');
+            $img_object.attr('src', img_src);
 
             $cloned_tr.find('td')
              .addClass('inline_edit_anchor')
@@ -91,6 +93,8 @@ function appendInlineAnchor(disp_mode) {
             var $cloned_anchor = $this_td.clone();
 
             var $img_object = $cloned_anchor.find('img').attr('title', PMA_messages['strInlineEdit']);
+            var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit');
+            $img_object.attr('src', img_src);
 
             $cloned_anchor.addClass('inline_edit_anchor')
             .find('a').attr('href', '#')
diff --git a/themes/darkblue_orange/img/b_inline_edit.png b/themes/darkblue_orange/img/b_inline_edit.png
new file mode 100644
index 0000000..98977eb
Binary files /dev/null and b/themes/darkblue_orange/img/b_inline_edit.png differ
diff --git a/themes/original/img/b_inline_edit.png b/themes/original/img/b_inline_edit.png
new file mode 100644
index 0000000..98977eb
Binary files /dev/null and b/themes/original/img/b_inline_edit.png differ


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list