function emvideo_flickr_sets_validate in Media: Flickr 6
File
- providers/
emvideo/ flickr_sets.inc, line 129 - This include processes flickr.com photosets for use by emfield/emvideo.module.
Code
function emvideo_flickr_sets_validate($value, $error_field) {
if ($value == 'FLICKR_SETS_ERROR_SEARCH') {
form_set_error($error_field, t("Flickr search-based slide shows are not currently supported; only slide shows of a specific photo set will be accepted."));
}
else {
if ($value == 'FLICKR_SETS_ERROR_USER') {
form_set_error($error_field, t("Flickr user slide shows are not currently supported; only slide shows of a specific photo set will be accepted."));
}
else {
if ($value == 'FLICKR_SETS_ERROR_GROUPS') {
form_set_error($error_field, t("Flickr groups slide shows are not currently supported; only slide shows of a specific photo set will be accepted."));
}
}
}
}