<div id="sidebar">
<table class="sidebar_title" width="100%">
<tr>
- <td align="left" id="sidebar_title">Search Results</td>
- <td align="right"><a href="javascript:closeSidebar()">Close</a></td>
+ <td align="left" id="sidebar_title"><% t 'site.sidebar.search_results' %></td>
+ <td align="right"><a href="javascript:closeSidebar()"><%= t 'site.sidebar.close' %></a></td>
</tr>
</table>
<div id="sidebar_content">
var onclose;
function openSidebar(options) {
+ options = options || {};
+
if (onclose) {
onclose();
onclose = null;