You are here

copyright.inc in Nodewords: D6 Meta Tags 5

Support file for COPYRIGHT meta tag.

File

metatags/copyright.inc
View source
<?php

/**
 * @file
 * Support file for COPYRIGHT meta tag.
 */
function nodewords_copyright_prepare($type, $ids, $value, $settings) {
  if (!isset($value) || $value == '') {
    $value = $settings['global']['copyright'];
  }
  return $value;
}
function nodewords_copyright_form($type, $value, $settings) {
  return array(
    '#type' => 'textfield',
    '#title' => t('Copyright'),
    '#default_value' => $value,
    '#size' => 60,
    '#maxlength' => $settings['max_size'],
    '#description' => t('Enter a short copyright statement for this page.'),
  );
}

Functions

Namesort descending Description
nodewords_copyright_form
nodewords_copyright_prepare @file Support file for COPYRIGHT meta tag.