misc/plugin/en/search_form.rb in tdiary-5.0.3 vs misc/plugin/en/search_form.rb in tdiary-5.0.4

- old
+ new

@@ -1,18 +1,18 @@ # search_form.rb English resource. def google_form( button_name = "Google Search", size = 20, default_text = "" ) - first = %Q[<a href="http://www.google.com/"> - <img src="http://www.google.com/logos/Logo_40wht.gif" + first = %Q[<a href="https://www.google.com/"> + <img src="https://www.google.com/logos/Logo_40wht.gif" style="border-width: 0px; vertical-align: middle;" alt="Google"></a>] - search_form( "http://www.google.com/search", "q", button_name, size, default_text, first, '' ) + search_form( "https://www.google.com/search", "q", button_name, size, default_text, first, '' ) end def yahoo_form( button_name = "Yahoo! Search", size = 20, default_text = "" ) - first = %Q[<a href="http://www.yahoo.com/"> + first = %Q[<a href="https://www.yahoo.com/"> <img src="http://us.i1.yimg.com/us.yimg.com/i/yahootogo/ytg_search.gif" style="border-width: 0px; vertical-align: middle;" alt="[Yahoo!]"></a>] - search_form( "http://search.yahoo.com/search", "p", button_name, size, default_text, first, "" ) + search_form( "https://search.yahoo.com/search", "p", button_name, size, default_text, first, "" ) end # Local Variables: # mode: ruby # indent-tabs-mode: t