Skip to content
Snippets Groups Projects
Commit eaa244d3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- 'Contact us' -> 'Contact'

parent 387b47ec
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -37,7 +37,7 @@ function contact_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array('path' => 'contact', 'title' => t('contact us'),
$items[] = array('path' => 'contact', 'title' => t('contact'),
'callback' => 'contact_mail_page', 'access' => user_access('access content'),
'type' => MENU_SUGGESTED_ITEM);
$items[] = array('path' => 'admin/contact', 'title' => t('contact form'),
......@@ -68,7 +68,7 @@ function contact_menu($may_cache) {
function contact_settings() {
$form['contact_form_information'] = array(
'#type' => 'textarea', '#title' => t('Additional information'),
'#default_value' => variable_get('contact_form_information', t('You can leave us a message using the contact form below.')),
'#default_value' => variable_get('contact_form_information', t('You can leave a message using the contact form below.')),
'#description' => t('Information to show on the <a href="%form">contact page</a>. Can be anything from submission guidelines to your postal address or telephone number.', array('%form' => url('contact')))
);
$form['contact_hourly_threshold'] = array(
......
......@@ -37,7 +37,7 @@ function contact_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array('path' => 'contact', 'title' => t('contact us'),
$items[] = array('path' => 'contact', 'title' => t('contact'),
'callback' => 'contact_mail_page', 'access' => user_access('access content'),
'type' => MENU_SUGGESTED_ITEM);
$items[] = array('path' => 'admin/contact', 'title' => t('contact form'),
......@@ -68,7 +68,7 @@ function contact_menu($may_cache) {
function contact_settings() {
$form['contact_form_information'] = array(
'#type' => 'textarea', '#title' => t('Additional information'),
'#default_value' => variable_get('contact_form_information', t('You can leave us a message using the contact form below.')),
'#default_value' => variable_get('contact_form_information', t('You can leave a message using the contact form below.')),
'#description' => t('Information to show on the <a href="%form">contact page</a>. Can be anything from submission guidelines to your postal address or telephone number.', array('%form' => url('contact')))
);
$form['contact_hourly_threshold'] = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment