function l10n_client_search_form in Localization client 6
Same name and namespace in other branches
- 5 l10n_client.module \l10n_client_search_form()
- 6.2 l10n_client.module \l10n_client_search_form()
- 7 l10n_client.module \l10n_client_search_form()
Search form for string list
1 string reference to 'l10n_client_search_form'
- l10n_client_footer in ./
l10n_client.module - Implementation of hook_footer().
File
- ./
l10n_client.module, line 413 - Localization client. Provides on-page translation editing.
Code
function l10n_client_search_form() {
global $language;
// Selector and editing form.
$form = array();
$form['search'] = array(
'#type' => 'textfield',
'#attributes' => array(
'class' => 'string-search',
),
);
$form['clear-button'] = array(
'#type' => 'button',
'#id' => 'l10n-client-search-filter-clear',
'#attributes' => array(
'class' => 'form-submit',
),
'#value' => t('X'),
);
return $form;
}