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:
parent
28bb97acfa
commit
19d13889af
14 changed files with 129 additions and 438 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue