layout has more widget-like setup now. side playlist reused in search.

This commit is contained in:
naomiaro 2010-12-21 23:33:58 -05:00
parent 565d789baa
commit 5795871bcc
12 changed files with 196 additions and 141 deletions

View file

@ -1,29 +1,6 @@
<?php
$this->form->setAction($this->url());
echo $this->form;
?>
<span id="search_add">Add</span>
<span id="search_submit">Submit</span>
<?php
if($this->files) {
?>
<table id="library_display">
<tr>
<th><span class="title">Title</span></th>
<th><span class="artist">Artist</span></th>
<th><span class="album">Album</span></th>
<th><span class="track">Track</span></th>
<th><span class="length">Length</span></th>
</tr>
<?php
echo $this->partialLoop('library/libraryTablePartial.phtml', $this->files);
?>
</table>
<?php
}
else {
echo "<div>No Results</div>";
}
?>