function account_sync_sender_settings in Account Sync 7.2
Same name and namespace in other branches
- 6 account_sync.admin.inc \account_sync_sender_settings()
Settings form for the sender.
1 string reference to 'account_sync_sender_settings'
- account_sync_menu in ./
account_sync.module - Implements hook_menu().
File
- ./
account_sync.admin.inc, line 79 - Admin settings for account_sync.
Code
function account_sync_sender_settings() {
$form = array();
$form['account_sync_enabled'] = array(
'#type' => 'checkbox',
'#title' => t('Enable account syncing'),
'#description' => t('If this is checked, then anytime an account is changed it will sync those changes to the servers listed below'),
'#default_value' => variable_get('account_sync_enabled', FALSE),
);
$form['account_sync_servers'] = array(
'#type' => 'textarea',
'#title' => t('Sites to send user account data to'),
'#description' => t("Enter each site you would like to sync accounts with. Each site should be on it's own line. Include <em>http://</em>."),
'#default_value' => variable_get('account_sync_servers', ''),
);
return system_settings_form($form);
}