diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-07-21 18:21:16 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-07-21 18:21:16 +0400 |
commit | f36b2e54414baa52b19a591d47b070edca036160 (patch) | |
tree | 0aa7a7ee291650ecef42780dee86ac3aa2f1f13b /navigation.php | |
parent | a28beb9c1fb4c0bb432961034b90232b24b908f3 (diff) | |
parent | ba395f545e459da2548593876308989d7f4adb05 (diff) |
Merge remote-tracking branch 'origin/master' into drizzle
Conflicts:
libraries/db_links.inc.php
libraries/server_links.inc.php
tbl_structure.php
themes/pmahomme/css/theme_right.css.php
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 17aec64dea..e7a5fbcc21 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"; |