return PEAR::raiseError(_("Access denied deleting galleries."));
}
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
return PEAR::raiseError(_("Access denied deleting galleries."));
}
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
return $results;
}
- /* We can't just return the results of the getGalleries call - we need to
- ensure the caller has at least PERMS_READ on the galleries. */
+ /* We can't just return the results of the getGalleries call - we need to
+ ensure the caller has at least PERMS_READ on the galleries. */
$galleries = array();
foreach ($results as $gallery) {
if ($gallery->hasPermission(Horde_Auth::getAuth(), PERMS_READ)) {
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
{
require_once dirname(__FILE__) . '/base.php';
- /* If no app is given use Ansel's own gallery which is initialized in
- base.php */
+ /* If no app is given use Ansel's own gallery which is initialized in
+ base.php */
if (!is_null($app)) {
$GLOBALS['ansel_storage'] = new Ansel_Storage($app);
}
- /* Determine the default gallery when none is given. The first gallery in
- the list is the default gallery. */
+ /* Determine the default gallery when none is given. The first gallery in
+ the list is the default gallery. */
if (is_null($gallery_id) && empty($slug)) {
$galleries = $GLOBALS['ansel_storage']->listGalleries($perm);
if (!count($galleries)) {