function smiley_admin_form_validate in Smiley 6
Implementation of hook_validate().
File
- ./
smiley.admin.inc, line 294
Code
function smiley_admin_form_validate($form, &$form_state) {
if (trim($form_state['values']['acronyms']) == '') {
form_set_error('acronyms', t('Please enter an acronym for your smiley.'));
}
if ($form_state['values']['image'] == '') {
form_set_error('image', t('Please enter the URL of the smiley image.'));
}
}