CC-84: Smart Playlists

- qtip cleanup for dynamic playlists
This commit is contained in:
denise 2012-08-01 13:49:16 -04:00
parent c9afac239a
commit 8f063367cc
1 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,12 @@
<table class='library-get-file-md table-small'>
<?php foreach ($this->contents["crit"] as $criterias) : ?>
<?php foreach ($criterias as $crit ) : ?>
<?php
$maxStrLen = 25;
if (strlen($crit["value"]) > $maxStrLen) {
$crit["value"] = substr($crit["value"], 0, 24)."...";
}
?>
<tr>
<td class='file-md-qtip-criteria-width-small'><?php echo $crit["display_name"] ?></td>
<td class='file-md-qtip-criteria-width-small'><?php echo $crit["modifier"] ?></td>