diff options
author | Tyron Madlener <tyronx@gmail.com> | 2011-07-15 10:42:16 +0400 |
---|---|---|
committer | Tyron Madlener <tyronx@gmail.com> | 2011-07-15 10:42:16 +0400 |
commit | 3b3a9fc7624f857b3ff5f599eee9473a42d71feb (patch) | |
tree | 07dbc72a7f56f0ffef93afb46ad79a3048c768db /navigation.php | |
parent | bf2314342406ea56fc88d878be1072cb139e46d4 (diff) |
pma spritify part 2
Diffstat (limited to 'navigation.php')
-rw-r--r-- | navigation.php | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/navigation.php b/navigation.php index 8e4201435a..27859fed92 100644 --- a/navigation.php +++ b/navigation.php @@ -113,9 +113,6 @@ require_once './libraries/header_http.inc.php'; ?> <script type="text/javascript"> // <![CDATA[ - var image_minus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_minus.png'; - var image_plus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_plus.png'; - // INIT PMA_setFrameSize var onloadCnt = 0; var onLoadHandler = window.onload; @@ -230,9 +227,9 @@ if (! $GLOBALS['server']) { // or $GLOBALS['cfg']['Servers']['only_db'] is defined and is not an array) // In this case, the database should not be collapsible/expandable -$img_plus = '<img class="icon" id="el%dImg" src="' . $pmaThemeImage . 'b_plus.png"' +$img_plus = '<img class="icon ic_b_plus" id="el%dImg" src="themes/dot.gif"' .' alt="+" />'; -$img_minus = '<img class="icon" id="el%dImg" src="' . $pmaThemeImage . 'b_minus.png"' +$img_minus = '<img class="icon ic_b_minus" id="el%dImg" src="themes/dot.gif"' .' alt="-" />'; $href_left = '<a onclick="if (toggle(\'%d\')) return false;"' @@ -303,7 +300,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) { $class = ''; $GLOBALS['cfg']['AjaxEnable'] ? $class="ajax" : ''; echo '<ul id="newtable"><li><a target="frame_content" href="tbl_create.php' . PMA_generate_common_url(array('db' => $GLOBALS['db'])) . '" class="'.$class .'" >' - .'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />' + .'<img class="icon ic_b_snewtbl" src="themes/dot.gif" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />' . _pgettext('short form', 'Create table') . '</a></li></ul>'; } } elseif ($GLOBALS['cfg']['LeftFrameLight']) { @@ -597,11 +594,11 @@ function PMA_displayTableList($tables, $visible = false, .'&table=' . urlencode($table['Name']) .'&goto=' . $GLOBALS['cfg']['LeftDefaultTabTable'] . '" >' - .'<img class="icon"'; + .'<img src="themes/dot.gif"'; if ('VIEW' === strtoupper($table['Comment'])) { - echo ' src="' . $GLOBALS['pmaThemeImage'] . 's_views.png"'; + echo ' class="icon ic_s_views"'; } else { - echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"'; + echo ' class="icon ic_b_sbrowse"'; } echo ' id="icon_' . htmlspecialchars($table_db . '.' . $table['Name']) . '"' .' alt="' . htmlspecialchars($link_title) . '" /></a>' . "\n"; |