<body>
<div id="wrap">
- <form id="search_bar" name="search_bar" action="http://www.google.com/search" method="get">
- <input type="text" name="q" value="Google" onfocus="javascript:this.value='';"
- onblur="javascript:if(this.value=='') this.value='Google';" />
- <button>Search</button>
+ <form id="search_bar" name="search_bar" action="{search_uri}" method="get">
+ <input type="text" name="q" value="{search_title}" onfocus="javascript:this.value='';"
+ onblur="javascript:if(this.value=='') this.value='{search_title}';" />
+ <button>{search}</button>
</form>
<div class="shortcut top" id="s1">
<a href="#" onclick="javascript:return getAction('s1');">
gchar* tandoori_body;
gchar* tandoori_html;
gchar* t_body_fname;
+ gchar* location_entry_search;
katze_assign (view->uri, g_strdup (""));
g_file_get_contents (t_body_fname, &tandoori_body, NULL, NULL);
tandoori_html = g_strconcat (tandoori_head, tandoori_body, NULL);
+ g_object_get (view->settings, "location-entry-search",
+ &location_entry_search, NULL);
data = sokoke_replace_variables (tandoori_html,
"{res}", res_root,
"{title}", _("Blank page"),
+ "{search_uri}", &location_entry_search,
+ "{search_title}", _("Suchen"),
+ "{search}", _("Suchen"),
"{click_to_add}", _("Click to add a shortcut"),
"{enter_shortcut_address}", _("Enter shortcut address"),
"{enter_shortcut_name}", _("Enter shortcut name"),
"{are_you_sure}", _("Are you sure you want to delete this shortcut?"), NULL);
+ g_free (location_entry_search);
#if WEBKIT_CHECK_VERSION (1, 1, 6)
webkit_web_frame_load_alternate_string (