function noscript_tag_setting_form in Noscript Tag 7
Implements hook_form().
1 string reference to 'noscript_tag_setting_form'
- noscript_tag_menu in ./
noscript_tag.module - Implements hook_menu().
File
- ./
noscript_tag.module, line 83 - Adds functionality to display noscript tag when javascript is disabled.
Code
function noscript_tag_setting_form() {
$noscript_tag_value = noscript_tag_value();
$form = array();
$form['noscript_tag_value'] = array(
'#type' => 'text_format',
'#title' => t('Enter message to display in noscript tag:'),
'#description' => t('Please enter your message which you want to display users that have disabled scripts in their browser or have a browser that does not support script tag.'),
'#default_value' => $noscript_tag_value['value'],
'#format' => $noscript_tag_value['format'],
'#rows' => 5,
'#cols' => 10,
'#resizable' => TRUE,
);
return system_settings_form($form);
}