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>2011-09-15 12:34:49 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-09-15 21:42:13 +0400
commit464a4159314e9de3fc8d43ba33b4869d9e657a92 (patch)
tree95af413deed30cf6dda0aac7feae299cb83b6136 /db_operations.php
parent65fff4483e5812f70b4ee7204ce3117287e83eb9 (diff)
Use PMA_getIcon()
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php20
1 files changed, 4 insertions, 16 deletions
diff --git a/db_operations.php b/db_operations.php
index 77c2af7632..6c7df590f3 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -395,10 +395,7 @@ if ($db != 'mysql') {
<fieldset>
<legend>
<?php
- if ($cfg['PropertiesIconic']) {
- echo '<img class="icon ic_b_edit" src="themes/dot.gif" alt="" />';
- }
- echo __('Rename database to') . ':';
+ echo PMA_getIcon('b_edit.png', __('Rename database to'), true) . ':';
?>
</legend>
<input id="new_db_name" type="text" name="newname" size="30" class="textfield" value="" />
@@ -421,10 +418,7 @@ if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase'])
<div class="operations_half_width">
<fieldset class="caution">
<legend><?php
-if ($cfg['PropertiesIconic']) {
- echo '<img class="icon ic_b_deltbl" src="themes/dot.gif" alt="" />';
-}
-echo __('Remove database');
+echo PMA_getIcon('b_deltbl.png', __('Remove database'), true);
?></legend>
<ul>
@@ -467,10 +461,7 @@ echo __('Remove database');
<fieldset>
<legend>
<?php
- if ($cfg['PropertiesIconic']) {
- echo '<img class="icon ic_b_edit" src="themes/dot.gif" alt="" />';
- }
- echo __('Copy database to') . ':';
+ echo PMA_getIcon('b_edit.png', __('Copy database to'), true) . ':';
$drop_clause = 'DROP TABLE / DROP VIEW';
?>
</legend>
@@ -531,10 +522,7 @@ echo __('Remove database');
. PMA_generate_common_hidden_inputs($db, $table)
. '<fieldset>' . "\n"
. ' <legend>';
- if ($cfg['PropertiesIconic']) {
- echo '<img class="icon ic_s_asci" src="themes/dot.gif" alt="" />';
- }
- echo ' <label for="select_db_collation">' . __('Collation') . ':</label>' . "\n"
+ echo PMA_getIcon('s_asci.png', __('Collation'), true) . ':'
. ' </legend>' . "\n"
. PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION,
'db_collation', 'select_db_collation', $db_collation, false, 3)