Replaced dodgy placeholder with a set of PHP classes for displaying a HandBrake webui. Current code uses Smarty as a templating engine, and includes an ugly but functional set of pages. The HandBrake classes are at present only placeholders, and offer no real functionality. Working class autoloader for the HandBrakeCluster_ hierarchy.
15 lines
316 B
PHP
15 lines
316 B
PHP
<?php
|
|
|
|
require 'HandBrakeCluster/Main.class.php';
|
|
$main = HandBrakeCluster_Main::instance();
|
|
$smarty = $main->smarty();
|
|
|
|
$page = new HandBrakeCluster_Page($smarty, $main->request());
|
|
$page->evaluate();
|
|
|
|
$smarty->assign('page_content', $smarty->fetch($page->template_filename()));
|
|
|
|
$smarty->display('index.tpl');
|
|
|
|
?>
|