'error'=>$ready?null:'To use Facebook Login, please <a href="http://developers.facebook.com/setup/" target="_blank">set up a Facebook application</a>.',
),
'fields'=>array(
array(
'label'=>'Facebook App ID:',
'value'=>qa_html(qa_opt('facebook_app_id')),
'tags'=>'name="facebook_app_id_field"',
),
'buttons'=>array(
array(
'label'=>'Save Changes',
'tags'=>'name="facebook_save_button"',
),
array(
'label'=>'Facebook App Secret:',
'value'=>qa_html(qa_opt('facebook_app_secret')),
'tags'=>'name="facebook_app_secret_field"',
'error'=>$ready?null:'To use Facebook Login, please <a href="http://developers.facebook.com/setup/" target="_blank">set up a Facebook application</a>.',
),
);
}
),
'buttons'=>array(
array(
'label'=>'Save Changes',
'tags'=>'name="facebook_save_button"',
),
),
);
}
/*
Omit PHP closing tag to help avoid accidental output