if ($item->type == "photo"): ?> $title = t("Edit this photo") ?> elseif ($item->type == "movie"): ?> $title = t("Edit this movie") ?> elseif ($item->type == "album"): ?> $title = t("Edit this album") ?> endif ?> id?page_type=$page_type") ?>" title="= $title ?>"> if ($item->is_photo() && graphics::can("rotate")): ?> id/ccw?csrf=$csrf&page_type=$page_type") ?>" title="= t("Rotate 90 degrees counter clockwise") ?>"> id/cw?csrf=$csrf&page_type=$page_type") ?>" title="= t("Rotate 90 degrees clockwise") ?>"> endif ?> // Don't move photos from the photo page; we don't yet have a good way of redirecting after move ?> if ($page_type == "album"): ?> if ($item->type == "photo"): ?> $title = t("Move this photo to another album") ?> elseif ($item->type == "movie"): ?> $title = t("Move this movie to another album") ?> elseif ($item->type == "album"): ?> $title = t("Move this album to another album") ?> endif ?> id") ?>" title="= $title ?>"> endif ?> $disabledState = "" ?> if (access::can("edit", $item->parent())): ?> if ($item->type == "photo"): ?> $title = t("Choose this photo as the album cover") ?> elseif ($item->type == "movie"): ?> $title = t("Choose this movie as the album cover") ?> elseif ($item->type == "album"): ?> if (empty($item->album_cover_item_id)): ?> $disabledState = empty($item->album_cover_item_id) ? " ui-state-disabled" : "" ?> endif ?> $title = t("Choose this album as the album cover") ?> endif ?> id?csrf=$csrf&page_type=$page_type") ?>" title="= $title ?>"> if ($item->type == "photo"): ?> $title = t("Delete this photo") ?> elseif ($item->type == "movie"): ?> $title = t("Delete this movie") ?> elseif ($item->type == "album"): ?> $title = t("Delete this album") ?> endif ?> id?csrf=$csrf&page_type=$page_type") ?>" title="= $title ?>"> endif ?> if ($item->is_album()): ?> ">
endif ?>