function photos_page_slide in Album Photos 6.2
Same name and namespace in other branches
- 7.3 inc/photos.data.inc \photos_page_slide()
1 string reference to 'photos_page_slide'
- photos_menu in ./
photos.module
File
- inc/
photos.data.inc, line 3
Code
function photos_page_slide($ac) {
if ($ac->album['album']['count'] && $ac->album['image']['count']) {
list($width, $height) = explode('x', variable_get('photos_display_slide', '640x480'));
$v = dfgallery_html(array(
'url' => url("photos/data/user/{$ac->uid}/json.json", array(
'absolute' => true,
)),
'width' => $width,
'height' => $height,
));
}
else {
$v = photos_page_title($ac, t('has not yet create an album'));
}
return $v;
}