Update look and feel with bootstrap
This commit is contained in:
20
source/webui/pages/navigation.php
Normal file
20
source/webui/pages/navigation.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
$main = MediaListing_Main::instance();
|
||||
$config = $main->config();
|
||||
$smarty = $main->smarty();
|
||||
$request = $main->request();
|
||||
|
||||
$source_paths = $config->get('sources');
|
||||
$sources = array();
|
||||
|
||||
foreach ($source_paths as $source_path) {
|
||||
list($name, $path) = explode(':', $source_path);
|
||||
|
||||
$sources[] = new MediaListing_Source($name, $path, false);
|
||||
}
|
||||
|
||||
$smarty->assign('sources', $sources);
|
||||
$smarty->assign('source_name', $request->get('source'));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user