fix for orbit bar broken

This commit is contained in:
Matthew K. Fu JuYuan 2012-07-25 17:44:50 +08:00
parent 97b4eee798
commit 13ec25ed10
1 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@
<input type="hidden" name="ie" id="ie" value="utf-8" />
<input type="hidden" name="oe" id="oe" value="utf-8" />
<input type="hidden" name="cof" id="cof" value="AH:center;AWFID:03de271f1940eea3;" />
<input type='hidden' name='domains' value='<%= @site.search["domains"] %>'>
<input type='hidden' name='sitesearch' value='<%= @site.search["sitesearch"] %>'>
<%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_nccu) ,:disabled=> (@site.search["sitesearch"] || @site.search["domains"] ).blank?}%>
<input type='hidden' name='domains' value='<%= @site.search["domains"] rescue ''%>'>
<input type='hidden' name='sitesearch' value='<%= @site.search["sitesearch"] rescue '' %>'>
<%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_nccu) ,:disabled=> ((@site.search["sitesearch"] || @site.search["domains"] ).blank? rescue true)}%>
</form>
</li>
<% if user_signed_in? %>