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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2014-11-26 13:38:26 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2014-11-26 13:38:26 +0300
commitd9c3b9cbedb44c3db2b0807d741b229e7a9b6d06 (patch)
tree818772842115f3de6bcb77f6ed5e2be1309152a1 /db_tracking.php
parent70f432f7af3ad8135fcf765708b3999c43922d3b (diff)
rfe #1564 Improve action message on Tracking page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'db_tracking.php')
-rw-r--r--db_tracking.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/db_tracking.php b/db_tracking.php
index fee85d924e..4f1103d721 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -54,7 +54,7 @@ if (isset($_REQUEST['delete_tracking']) && isset($_REQUEST['table'])) {
} elseif (isset($_REQUEST['submit_mult'])) {
if (! empty($_REQUEST['selected_tbl'])) {
- if ($_REQUEST['submit_mult'] == 'drop_tracking') {
+ if ($_REQUEST['submit_mult'] == 'delete_tracking') {
foreach ($_REQUEST['selected_tbl'] as $table) {
PMA_Tracker::deleteTracking($GLOBALS['db'], $table);
@@ -134,15 +134,15 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) {
// Print out information about versions
- $drop_image_or_text = '';
+ $delete_image_or_text = '';
if (PMA_Util::showIcons('ActionLinksMode')) {
- $drop_image_or_text .= PMA_Util::getImage(
+ $delete_image_or_text .= PMA_Util::getImage(
'b_drop.png',
__('Delete tracking data for this table')
);
}
if (PMA_Util::showText('ActionLinksMode')) {
- $drop_image_or_text .= __('Drop');
+ $delete_image_or_text .= __('Delete');
}
$style = 'odd';
@@ -175,8 +175,8 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) {
<td><?php echo $version_data['date_updated'];?></td>
<td><?php echo PMA_getVersionStatus($version_data);?></td>
<td>
- <a class="drop_tracking_anchor ajax" href="<?php echo $delete_link;?>" >
- <?php echo $drop_image_or_text; ?></a>
+ <a class="delete_tracking_anchor ajax" href="<?php echo $delete_link;?>" >
+ <?php echo $delete_image_or_text; ?></a>
<?php
echo '</td>'
. '<td>'
@@ -213,8 +213,8 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) {
. __('With selected:') . '</i>';
echo PMA_Util::getButtonOrImage(
- 'submit_mult', 'mult_submit', 'submit_mult_drop_tracking',
- __('Drop'), 'b_drop.png', 'drop_tracking'
+ 'submit_mult', 'mult_submit', 'submit_mult_delete_tracking',
+ __('Delete'), 'b_drop.png', 'delete_tracking'
);
?>
</form>