Job details page now shows the id number for the current job, reading it from the URL using the RequestParser Fixed a bug where if no query string was provided (index.php was accessed directly) then a blank pagename was used (instead of 'home') and an exception was thrown.
12 lines
246 B
PHP
12 lines
246 B
PHP
<?php
|
|
|
|
$running_jobs = array();
|
|
$completed_jobs = array();
|
|
|
|
$running_jobs[] = new HandBrakeCluster_Job(42);
|
|
|
|
$this->smarty->assign('running_jobs', $running_jobs);
|
|
$this->smarty->assign('completed_jobs;', $completed_jobs);
|
|
|
|
?>
|