Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-10-03 15:38:25 +0400
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-10-03 15:38:25 +0400
commitc70e109bd64f403207dd0b8d1fd998ad78e76fd5 (patch)
tree1ffb1fa2ca5411e49070dc4715969e1e4a2624ff /js/db_structure.js
parent92f774216ae989fde7d8e30dd8ccb04dce1093f1 (diff)
Feature#1546 Replace js sprintf library with a better one
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Diffstat (limited to 'js/db_structure.js')
-rw-r--r--js/db_structure.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/db_structure.js b/js/db_structure.js
index d5144e9c24..807b8cb898 100644
--- a/js/db_structure.js
+++ b/js/db_structure.js
@@ -128,7 +128,7 @@ function PMA_adjustTotals() {
// Update summary with new data
var $summary = $("#tbl_summary_row");
- $summary.find('.tbl_num').text($.sprintf(PMA_messages.strTables, tableSum));
+ $summary.find('.tbl_num').text(PMA_sprintf(PMA_messages.strTables, tableSum));
$summary.find('.row_count_sum').text(strRowSum);
$summary.find('.tbl_size').text(sizeSum + " " + byteUnits[size_magnitude]);
$summary.find('.tbl_overhead').text(overheadSum + " " + byteUnits[overhead_magnitude]);
@@ -288,7 +288,7 @@ AJAX.registerOnload('db_structure.js', function () {
* @var question String containing the question to be asked for confirmation
*/
var question = PMA_messages.strTruncateTableStrongWarning + ' ' +
- $.sprintf(PMA_messages.strDoYouReally, 'TRUNCATE ' + escapeHtml(curr_table_name));
+ PMA_sprintf(PMA_messages.strDoYouReally, 'TRUNCATE ' + escapeHtml(curr_table_name));
$this_anchor.PMA_confirm(question, $this_anchor.attr('href'), function (url) {
@@ -344,10 +344,10 @@ AJAX.registerOnload('db_structure.js', function () {
var question;
if (! is_view) {
question = PMA_messages.strDropTableStrongWarning + ' ' +
- $.sprintf(PMA_messages.strDoYouReally, 'DROP TABLE ' + escapeHtml(curr_table_name));
+ PMA_sprintf(PMA_messages.strDoYouReally, 'DROP TABLE ' + escapeHtml(curr_table_name));
} else {
question =
- $.sprintf(PMA_messages.strDoYouReally, 'DROP VIEW ' + escapeHtml(curr_table_name));
+ PMA_sprintf(PMA_messages.strDoYouReally, 'DROP VIEW ' + escapeHtml(curr_table_name));
}
$this_anchor.PMA_confirm(question, $this_anchor.attr('href'), function (url) {