This page describes how Menalto Gallery is used on this website.
Website: Featured Photo
Download: Featured Photo
| How do I install or upgrade? |
- Place featured-photo.php into your gallery/ directory.
[...]
if ($gallery->user->isAdmin() && !$gallery->album->isAlbum($i)) {
$options[] = array(
'text' => getIconText('yast_kuser.gif',_("Change Owner"), $override, $withIcons),
'value' => showChoice2("photo_owner.php", array("id" => $id))
);
}
if ($gallery->user->isAdmin() && $label === 'Photo') {
$options[] = array('text' => _('Feature Photo'),
'value' => showChoice2('featured-photo.php',
array('set' => 1,
'set_albumName' => $myAlbum->fields['name'],
'id' => $id)));
}
return $options;
}
[...]