diff --git a/js/ajax.js b/js/ajax.js index deadb4c750..cb1909f9d7 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -172,7 +172,7 @@ var AJAX = { // Show lock icon if locked targets is not empty. // otherwise remove lock icon if (!jQuery.isEmptyObject(AJAX.lockedTargets)) { - $('#lock_page_icon').html(PMA_getImage('s_lock.png',PMA_messages.strLockToolTip).toString()); + $('#lock_page_icon').html(PMA_getImage('s_lock', PMA_messages.strLockToolTip).toString()); } else { $('#lock_page_icon').html(''); } diff --git a/js/db_search.js b/js/db_search.js index 566f320c6f..81355658d7 100644 --- a/js/db_search.js +++ b/js/db_search.js @@ -30,7 +30,7 @@ AJAX.registerTeardown('db_search.js', function () { AJAX.registerOnload('db_search.js', function () { /** Hide the table link in the initial search result */ - var icon = PMA_getImage('s_tbl.png', '', { 'id': 'table-image' }).toString(); + var icon = PMA_getImage('s_tbl', '', { 'id': 'table-image' }).toString(); $('#table-info').prepend(icon).hide(); /** Hide the browse and deleted results in the new search criteria */ diff --git a/js/error_report.js b/js/error_report.js index ef7c9beb60..8843abea23 100644 --- a/js/error_report.js +++ b/js/error_report.js @@ -121,7 +121,7 @@ var ErrorReport = { '
' ).append( - PMA_getImage('s_error.png') + PMA_messages.strErrorOccurred + PMA_getImage('s_error') + PMA_messages.strErrorOccurred ); var $buttons = $(''); @@ -131,11 +131,11 @@ var ErrorReport = { button_html += ''; button_html += ''; - button_html += PMA_getImage('s_cog.png', PMA_messages.strChangeReportSettings); + button_html += PMA_getImage('s_cog', PMA_messages.strChangeReportSettings); button_html += ''; button_html += ''; - button_html += PMA_getImage('b_close.png', PMA_messages.strIgnore); + button_html += PMA_getImage('b_close', PMA_messages.strIgnore); button_html += ''; $buttons.html(button_html); diff --git a/js/functions.js b/js/functions.js index a6c131a394..17617324dc 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1763,7 +1763,7 @@ function getForeignKeyCheckboxLoader () { var html = ''; html += '