Update look and feel with bootstrap

This commit is contained in:
2011-12-31 19:19:02 +00:00
parent b9f535777b
commit fcd7be1414
17 changed files with 1132 additions and 131 deletions

View 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'));
?>