nextcloud/apps/media/templates/settings.php

23 lines
841 B
PHP
Raw Normal View History

2011-07-22 08:30:52 +04:00
<form id="quota">
<fieldset>
<legend>Music Directories</legend>
<ul id='folderlist'>
<?php foreach($_['folders'] as $folder):?>
<li>
<?php echo $folder['name'];?>
<span class='right'>
<?php echo $folder['songs'];?> songs
<button class='rescan prettybutton'>Rescan</button>
<button class='delete prettybutton'>Delete</button>
</span>
</li>
<?php endforeach; ?>
<li>
<input placeholder='path' id='scanpath'/>
<span class='right'><button class='scan prettybutton'>Scan</button></span>
</li>
</ul>
<label for="autoupdate" title='Automaticaly scan new files in above directories'>Auto Update</label>
<input type='checkbox' <?php if($_['autoupdate']){echo 'checked="checked"';};?> id='autoupdate' title='Automaticaly scan new files in above directories'>
</fieldset>
</form>