Merge branch 'master' of dev.sourcefabric.org:airtime

This commit is contained in:
martin 2011-01-26 17:09:39 -05:00
commit 0f786c5290
11 changed files with 181 additions and 300 deletions

View file

@ -1,32 +1,17 @@
<?php
if($this->files) {
?>
<table id="library_display">
<tr>
<th><span class="title">Title</span></th>
<th><span class="artist">Creator</span></th>
<th><span class="album">Album</span></th>
<th><span class="track">Track</span></th>
<th><span class="length">Length</span></th>
<th><span class="type">Type</span></th>
</tr>
<?php
echo $this->partialLoop('library/libraryTablePartial.phtml', $this->files);
?>
</table>
<?php
}
else {
echo "No Results";
}
?>
<?php
echo $this->paginationControl($this->paginator,
'Sliding',
'library/paginator.phtml');
?>
<div>
<table id="library_display">
<thead>
<tr>
<th>Id</th>
<th>Title</th>
<th>Creator</th>
<th>Album</th>
<th>Track</th>
<th>Length</th>
<th>Type</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>

View file

@ -5,5 +5,4 @@
<td><?php echo $this->album_title ?></td>
<td><?php echo $this->track_number ?></td>
<td><?php echo $this->length ?></td>
<td><?php echo $this->ftype ?></td>
</tr>