function facebook_album_admin_form in Facebook Album 7.3
Same name and namespace in other branches
- 7 facebook_album.admin.inc \facebook_album_admin_form()
- 7.2 facebook_album.admin.inc \facebook_album_admin_form()
Implements hook_admin().
1 string reference to 'facebook_album_admin_form'
- facebook_album_menu in ./
facebook_album.module - Implements menu_hook()
File
- ./
facebook_album.admin.inc, line 13 - facebook_album.admin.inc Facebook Album administration pages.
Code
function facebook_album_admin_form() {
$form = array();
$form = system_settings_form($form);
$form['facebook_album_appID'] = array(
'#type' => 'textfield',
'#title' => t('Facebook Application ID'),
'#default_value' => variable_get('facebook_album_appID', ''),
'#description' => t("The application ID specified in your Facebook App's dashboard page."),
);
$form['facebook_album_appSecret'] = array(
'#type' => 'password',
'#title' => t('Facebook Application Secret'),
'#default_value' => '',
'#description' => t("The application secret specified in your Facebook App's dashboard page. This field remains blank for security purposes. If you have already saved your application secret, leave this field blank, unless you wish to update it."),
);
$form['facebook_album_block_num'] = array(
'#title' => t('Number of Blocks Needed'),
'#type' => 'select',
'#options' => array(
1 => 1,
2 => 2,
3 => 3,
4 => 4,
),
'#default_value' => variable_get('facebook_album_block_num', 1),
);
array_unshift($form['#submit'], 'facebook_album_admin_form_submit');
return $form;
}