function print_html_strings_settings in Printer, email and PDF versions 7
Same name and namespace in other branches
- 5.4 print.admin.inc \print_html_strings_settings()
- 6 print.admin.inc \print_html_strings_settings()
- 5.x print.admin.inc \print_html_strings_settings()
Menu callback for the printer-friendly version text strings settings form
1 string reference to 'print_html_strings_settings'
- print_menu in ./print.module 
- Implements hook_menu().
File
- ./print.admin.inc, line 422 
- Contains the administrative functions of the PF module.
Code
function print_html_strings_settings() {
  drupal_set_message(t("Saving these strings will disable their translation via Drupal's language system. Use the reset button to return them to the original state."), 'warning');
  $form['print_html_text'] = array(
    '#type' => 'fieldset',
    '#title' => t('Text strings'),
  );
  $form['print_html_text']['print_html_link_text'] = array(
    '#type' => 'textfield',
    '#title' => t('Link text'),
    '#default_value' => variable_get('print_html_link_text', t('Printer-friendly version')),
    '#description' => t('Text used in the link to the printer-friendly version.'),
  );
  $form['print_html_text']['reset'] = array(
    '#type' => 'submit',
    '#value' => t('Reset to defaults'),
    '#submit' => array(
      'print_html_strings_settings_delete',
    ),
  );
  return system_settings_form($form);
}