diff options
| -rw-r--r-- | sidebar.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sidebar.php b/sidebar.php index 4f332b6de8..f95ececc06 100644 --- a/sidebar.php +++ b/sidebar.php @@ -152,7 +152,7 @@ jQuery(document).ready(function() { var modsLoaded = false; jQuery('#sidebar_open').toggle(function() { - jQuery('#sidebar_open img').attr('src', '<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_close']['other'];?>'); + jQuery('#sidebar_open img').attr('src', '<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_close']['other'];?>').attr('title', '<?php echo i18n::translate('Sidebar Close');?>'); jQuery('#sidebar').animate({ right: "0px", width: "310px" @@ -164,7 +164,7 @@ jQuery(document).ready(function() { else jQuery("#sidebarAccordion").accordion("resize"); jQuery('#sidebarAccordion').show(); }, function() { - jQuery('#sidebar_open img').attr('src', '<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_open']['other'];?>'); + jQuery('#sidebar_open img').attr('src', '<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_open']['other'];?>').attr('title', '<?php echo i18n::translate('Sidebar Open');?>'); jQuery('#sidebar').css('left', ''); jQuery('#sidebar').animate({ right: "0px", @@ -176,8 +176,7 @@ jQuery(document).ready(function() { </script> <div id="sidebar"> <div id="sidebar_controls" class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top ui-state-focus"> - <a id="sidebar_open" href="#open"><img src="<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_open']['other'];?>" border="0" alt=""/></a> - <!--<a id="sidebar_pin" href="#pin"><img src="<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['pin-out']['other'];?>" border="0" alt=""/></a>--> + <a id="sidebar_open" href="#open"><img src="<?php echo $WT_IMAGE_DIR."/".$WT_IMAGES['slide_open']['other'];?>" border="0" title="<?php echo i18n::translate('Sidebar Open');?>"> </div> <div id="sidebarAccordion"></div> <span class="ui-icon ui-icon-grip-dotted-horizontal" style="margin:2px auto;"></span> |
