1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/modules/transcode/helpers/transcode_theme.php
2010-11-22 21:33:50 +00:00

19 lines
511 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?><?php
class transcode_theme_Core {
static function resize_bottom($theme) {
$block = new Block();
$block->css_id = "g-resolutions";
$block->title = t("Alternative Resolutions");
$view = new View("transcode_resolution_variants.html");
$view->item = $theme->item();
$view->resolutions = ORM::factory("transcode_resolution")->where("item_id", "=", $view->item->id)->find_all();
$block->content = $view;
return $block;
}
}