Added a SourceLister class, which enumerates all DVD folders below a given starting directory. Added a source browse page to list the available sources
17 lines
287 B
Smarty
17 lines
287 B
Smarty
<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}
|