shortname)) { $vars['entity']->shortname = elgg_get_site_entity()->name; } if (!isset($vars['entity']->desc)) { $vars['entity']->desc = elgg_echo('opensearch:engine', array(elgg_get_site_entity()->name)); } if (!isset($vars['entity']->longname)) { $vars['entity']->longname = elgg_get_site_entity()->description; } if (!isset($vars['entity']->icon)) { $vars['entity']->icon = '_graphics/favicon.ico'; } if (!isset($vars['entity']->tags)) { $vars['entity']->tags = ''; } if (!isset($vars['entity']->lang)) { $vars['entity']->lang = 'en-us'; } if (!isset($vars['entity']->query)) { $vars['entity']->query = ''; } echo '
'; echo ' '; echo elgg_echo('opensearh:settings:shortname:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[shortname]', 'value' => $vars['entity']->shortname, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:desc:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[desc]', 'value' => $vars['entity']->desc, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:longname:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[longname]', 'value' => $vars['entity']->longname, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:icon:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[icon]', 'value' => $vars['entity']->icon, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:tags:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[tags]', 'value' => $vars['entity']->tags, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:lang:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[lang]', 'value' => $vars['entity']->lang, )); echo '
'; echo '
'; echo ' '; echo elgg_echo('opensearh:settings:query:description'); echo ' '; echo elgg_view('input/text', array( 'name' => 'params[query]', 'value' => $vars['entity']->query, )); echo '
';