You are here

function noscript_tag_value in Noscript Tag 7

Fuction to get noscript tag value.

Return value

string Noscript tag value.

2 calls to noscript_tag_value()
noscript_tag_process_html in ./noscript_tag.module
Implements hook_process_html().
noscript_tag_setting_form in ./noscript_tag.module
Implements hook_form().
1 string reference to 'noscript_tag_value'
noscript_tag_uninstall in ./noscript_tag.install
Implements hook_uninstall().

File

./noscript_tag.module, line 72
Adds functionality to display noscript tag when javascript is disabled.

Code

function noscript_tag_value() {
  $noscript_tag_default_value = array(
    'value' => t('Your browser does not support javascript!'),
    'format' => 'plain_text',
  );
  return variable_get('noscript_tag_value', $noscript_tag_default_value);
}