[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_5RC1-19145-g464a415
Madhura Jayaratne
madhuracj at users.sourceforge.net
Thu Sep 15 19:43:31 CEST 2011
The branch, master has been updated
via 464a4159314e9de3fc8d43ba33b4869d9e657a92 (commit)
from 65fff4483e5812f70b4ee7204ce3117287e83eb9 (commit)
- Log -----------------------------------------------------------------
commit 464a4159314e9de3fc8d43ba33b4869d9e657a92
Author: Madhura Jayaratne <madhura.cj at gmail.com>
Date: Thu Sep 15 14:04:49 2011 +0530
Use PMA_getIcon()
-----------------------------------------------------------------------
Summary of changes:
db_operations.php | 20 ++++----------------
1 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/db_operations.php b/db_operations.php
index 77c2af7..6c7df59 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)
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list