header.inc.php3, left.php3, main.php3, libraries/display_tbl.lib.php3: Code changes for PNG images (feature #458895)
This commit is contained in:
@@ -15,6 +15,15 @@ $Source$
|
||||
* lang/polish*: Updates, thanks to Jakub Wilk (ubanus)
|
||||
* fulltext.png, partialtext.png, pma_logo.png:
|
||||
- Ran PNGCRUSH on files to reduce size optimially.
|
||||
* plus.gif, browse.gif, desc_order.gif, asc_order.gif, minus.gif,
|
||||
vertical_line.gif, item_rtl.gif, item_ltr.gif:
|
||||
- Old image files removed and replaced with PNG files (feature
|
||||
#458895)
|
||||
* plus.png, browse.png, desc_order.png, asc_order.png, minus.png,
|
||||
vertical_line.png, item_rtl.png, item_ltr.png:
|
||||
- New PNG image files (feature #458895)
|
||||
* header.inc.php3, left.php3, main.php3, libraries/display_tbl.lib.php3:
|
||||
- Code changes for PNG images (feature #458895)
|
||||
|
||||
2003-01-21 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php3: checkType function
|
||||
|
@@ -66,7 +66,7 @@ body {
|
||||
color: #000000;
|
||||
<?php
|
||||
if ($GLOBALS['cfg']['RightBgImage'] == '') {
|
||||
echo ' background-image: url(\'./images/vertical_line.gif\');' . "\n"
|
||||
echo ' background-image: url(\'./images/vertical_line.png\');' . "\n"
|
||||
. ' background-repeat: repeat-y;' . "\n";
|
||||
} else {
|
||||
echo ' background-image: url(\'' . $GLOBALS['cfg']['RightBgImage'] . '\');' . "\n";
|
||||
|
10
left.php3
10
left.php3
@@ -249,12 +249,12 @@ if ($num_dbs > 1) {
|
||||
echo "\n";
|
||||
?>
|
||||
<nobr><a class="item" href="<?php echo $cfg['DefaultTabDatabase']; ?>?<?php echo $common_url_query; ?>" onclick="if (capable) {expandBase('el<?php echo $j; ?>', true); return false} else {return true}">
|
||||
<img name="imEx" id="el<?php echo $j; ?>Img" src="images/plus.gif" border="0" width="9" height="9" alt="+" /></a>
|
||||
<img name="imEx" id="el<?php echo $j; ?>Img" src="images/plus.png" border="0" width="9" height="9" alt="+" /></a>
|
||||
<?php
|
||||
} else {
|
||||
echo "\n";
|
||||
?>
|
||||
<nobr><img name="imEx" src="images/minus.gif" border="0" width="9" height="9" alt="-" />
|
||||
<nobr><img name="imEx" src="images/minus.png" border="0" width="9" height="9" alt="-" />
|
||||
<?php
|
||||
}
|
||||
echo "\n";
|
||||
@@ -276,7 +276,7 @@ if ($num_dbs > 1) {
|
||||
?>
|
||||
<nobr><img src="images/spacer.gif" border="0" width="9" height="9" alt="" />
|
||||
<a target="phpmain" href="sql.php3?<?php echo $common_url_query; ?>&table=<?php echo urlencode($table); ?>&sql_query=<?php echo urlencode('SELECT * FROM ' . PMA_backquote($table)); ?>&pos=0&goto=<?php echo $cfg['DefaultTabTable']; ?>" title="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>">
|
||||
<img src="images/browse.gif" width="8" height="8" border="0" alt="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>" /></a><bdo dir="<?php echo $text_dir; ?>"> </bdo>
|
||||
<img src="images/browse.png" width="8" height="8" border="0" alt="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>" /></a><bdo dir="<?php echo $text_dir; ?>"> </bdo>
|
||||
<a class="tblItem" id="tbl_<?php echo md5($table); ?>" title="<?php echo $url_title; ?>" target="phpmain" href="<?php echo $cfg['DefaultTabTable']; ?>?<?php echo $common_url_query; ?>&table=<?php echo urlencode($table); ?>">
|
||||
<?php echo htmlspecialchars($table); ?></a></nobr><br />
|
||||
<?php
|
||||
@@ -303,7 +303,7 @@ if ($num_dbs > 1) {
|
||||
? str_replace('"', '"', $tooltip[$table])
|
||||
: '';
|
||||
$table_list .= ' <nobr><a target="phpmain" href="sql.php3?' . $common_url_query . '&table=' . urlencode($table) . '&sql_query=' . urlencode('SELECT * FROM ' . PMA_backquote($table)) . '&pos=0&goto=' . $cfg['DefaultTabTable'] . '">' . "\n";
|
||||
$table_list .= ' <img src="images/browse.gif" width="8" height="8" border="0" alt="' . $strBrowse . ': ' . $table . '" title="' . $strBrowse . ': ' . htmlspecialchars($table) . '" /></a><bdo dir="' . $text_dir . '"> </bdo>' . "\n";
|
||||
$table_list .= ' <img src="images/browse.png" width="8" height="8" border="0" alt="' . $strBrowse . ': ' . $table . '" title="' . $strBrowse . ': ' . htmlspecialchars($table) . '" /></a><bdo dir="' . $text_dir . '"> </bdo>' . "\n";
|
||||
if (PMA_USR_BROWSER_AGENT == 'IE') {
|
||||
$table_list .= ' <span class="tblItem"><a class="tblItem" id="tbl_' . md5($table) . '" title="' . $url_title . '" target="phpmain" href="' . $cfg['DefaultTabTable'] . '?' . $common_url_query . '&table=' . urlencode($table) . '">' . htmlspecialchars($table) . '</a></span></nobr><br />' . "\n";
|
||||
} else {
|
||||
@@ -417,7 +417,7 @@ else if ($num_dbs == 1) {
|
||||
echo "\n";
|
||||
?>
|
||||
<nobr><a target="phpmain" href="sql.php3?<?php echo $common_url_query; ?>&table=<?php echo urlencode($table); ?>&sql_query=<?php echo urlencode('SELECT * FROM ' . PMA_backquote($table)); ?>&pos=0&goto=<?php echo $cfg['DefaultTabTable']; ?>" title="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>">
|
||||
<img src="images/browse.gif" width="8" height="8" border="0" alt="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>" /></a><bdo dir="<?php echo $text_dir; ?>"> </bdo>
|
||||
<img src="images/browse.png" width="8" height="8" border="0" alt="<?php echo $strBrowse . ': ' . htmlspecialchars($table); ?>" /></a><bdo dir="<?php echo $text_dir; ?>"> </bdo>
|
||||
<a class="tblItem" id="tbl_<?php echo md5($table); ?>" title="<?php echo $url_title; ?>" target="phpmain" href="<?php echo $cfg['DefaultTabTable']; ?>?<?php echo $common_url_query; ?>&table=<?php echo urlencode($table); ?>">
|
||||
<?php echo htmlspecialchars($table); ?></a></nobr><br />
|
||||
<?php
|
||||
|
@@ -595,11 +595,11 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
|
||||
}
|
||||
else if (eregi('[[:space:]]ASC$', $sql_order)) {
|
||||
$sort_order .= ' DESC';
|
||||
$order_img = ' <img src="./images/asc_order.gif" border="0" width="7" height="7" alt="'. $GLOBALS['strAscending'] . '" title="'. $GLOBALS['strAscending'] . '" />';
|
||||
$order_img = ' <img src="./images/asc_order.png" border="0" width="7" height="7" alt="'. $GLOBALS['strAscending'] . '" title="'. $GLOBALS['strAscending'] . '" />';
|
||||
}
|
||||
else if (eregi('[[:space:]]DESC$', $sql_order)) {
|
||||
$sort_order .= ' ASC';
|
||||
$order_img = ' <img src="./images/desc_order.gif" border="0" width="7" height="7" alt="'. $GLOBALS['strDescending'] . '" title="'. $GLOBALS['strDescending'] . '" />';
|
||||
$order_img = ' <img src="./images/desc_order.png" border="0" width="7" height="7" alt="'. $GLOBALS['strDescending'] . '" title="'. $GLOBALS['strDescending'] . '" />';
|
||||
}
|
||||
if (eregi('(.*)([[:space:]](LIMIT (.*)|PROCEDURE (.*)|FOR UPDATE|LOCK IN SHARE MODE))', $unsorted_sql_query, $regs3)) {
|
||||
$sorted_sql_query = $regs3[1] . $sort_order . $regs3[2];
|
||||
|
@@ -24,7 +24,7 @@ if (!isset($pma_uri_parts)) {
|
||||
}
|
||||
setcookie('lang', $lang, time() + 60*60*24*30, $cookie_path, '', $is_https);
|
||||
// Defines the "item" image depending on text direction
|
||||
$item_img = 'images/item_' . $text_dir . '.gif';
|
||||
$item_img = 'images/item_' . $text_dir . '.png';
|
||||
// Handles some variables that may have been sent by the calling script
|
||||
if (isset($db)) {
|
||||
unset($db);
|
||||
|
Reference in New Issue
Block a user