CC-3351 : Track length should only show to tenths of a second in the library

created a length formatter to use in multiple places.
This commit is contained in:
Naomi Aro 2012-02-24 15:07:04 +01:00
parent 28bb97acfa
commit 19d13889af
14 changed files with 129 additions and 438 deletions

View file

@ -79,6 +79,10 @@ class LibraryController extends Zend_Controller_Action
$file = Application_Model_StoredFile::Recall($id);
if (isset($this->pl_sess->id) && $screen == "playlist") {
$menu["pl_add"] = array("name"=> "Add to Playlist", "icon" => "copy");
}
$menu["edit"] = array("name"=> "Edit Metadata", "icon" => "edit", "url" => "/library/edit-file-md/id/{$id}");
if ($user->isAdmin()) {