Added source browser

Added a SourceLister class, which enumerates all DVD folders below a given starting directory.
Added a source browse page to list the available sources
This commit is contained in:
2010-03-21 02:14:41 +00:00
parent 48e596841a
commit 835609a2c9
4 changed files with 94 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
<h2>Sources</h2>
{if $sources}
<p>
The following DVD sources are available to be ripped:
</p>
<ul>
{foreach from=$sources item=source}
<li>{$source|escape:'html'}</li>
{/foreach}
</ul>
{else}
<p>
<em>There are currently no DVD sources available to rip.</em>
</p>
{/if}