CC-84: Smart Playlists

- added scrolling on qtip
This commit is contained in:
denise 2012-08-01 14:43:52 -04:00
parent 0f681d7c25
commit 7d788c51b2
4 changed files with 16 additions and 7 deletions

View file

@ -55,10 +55,14 @@
<table class='library-get-file-md'>
<?php foreach($this->contents as $row) : ?>
<?php
$maxStrLen = 35;
if (strlen($row["track_title"]) > $maxStrLen) {
$titleMaxStrLen = 35;
if (strlen($row["track_title"]) > $titleMaxStrLen) {
$row["track_title"] = substr($row["track_title"], 0, 34)."...";
}
$artistMaxStrLen = 22;
if (strlen($row["creator"]) > $artistMaxStrLen) {
$row["creator"] = substr($row["creator"], 0, 21)."...";
}
?>
<?php if ($row["type"] == 2) {
$bl = new Application_Model_Block($row["item_id"]);