view icon for views
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2005-10-19 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* sql.php, footer.inc.php: refresh left frame on view creation
|
||||
* left.php: view icon for views
|
||||
|
||||
2005-10-19 Alexander M. Turek <me@derrabus.de>
|
||||
* lang/*.inc.php, libraries/mysql_charsets.lib.php: Correct description
|
||||
|
9
left.php
9
left.php
@@ -457,8 +457,13 @@ function PMA_displayTableList( $tables, $visible = false,
|
||||
.'&sql_query=' . urlencode('SELECT * FROM `'
|
||||
. $table['Name'] . '`') . '" '
|
||||
.' >'
|
||||
.'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"'
|
||||
.' id="icon_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
||||
.'<img class="icon"';
|
||||
if ( 'VIEW' === strtoupper( $table['Comment'] ) ) {
|
||||
echo ' src="' . $GLOBALS['pmaThemeImage'] . 's_views.png"';
|
||||
} else {
|
||||
echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"';
|
||||
}
|
||||
echo ' id="icon_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
||||
.' width="10" height="10" alt="' . $GLOBALS['strBrowse'] . '" /></a>' . "\n"
|
||||
.'<a href="' . $href . '" title="' . $table['Comment']
|
||||
.' (' . $table['Rows'] . ' ' . $GLOBALS['strRows'] . ')"'
|
||||
|
Reference in New Issue
Block a user