$pdAuthor = ''; if ($v->author != '') { if ($v->author_url != '') { $pdAuthor .= '<div class="pd-author-txt">'.JText::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>'; $pdAuthor .= '<div class="pd-fl-m"><a href="'.$v->author_url.'" target="_blank">'.$v->author.'</a></div>'; } else { $pdAuthor .= '<div class="pd-author-txt">'.JText::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>'; $pdAuthor .= '<div class="pd-fl-m">'.$v->author.'</div>'; } } $pdAuthorEmail = ''; if ($v->author_email != '') { $pdAuthorEmail .= '<div class="pd-email-txt">'.JText::_('COM_PHOCADOWNLOAD_EMAIL').':</div>'; $pdAuthorEmail .= '<div class="pd-fl-m">'. $l->getProtectEmail($v->author_email).'</div>'; } $pdFileDate = ''; $fileDate = $l->getFileDate($v->filename, $v->date); if ($fileDate != '') { $pdFileDate .= '<div class="pd-date-txt">'.JText::_('COM_PHOCADOWNLOAD_DATE').':</div>'; $pdFileDate .= '<div class="pd-fl-m">'.$fileDate.'</div>'; } $pdDownloads = ''; if ($this->t['display_downloads'] == 1) { $pdDownloads .= '<div class="pd-downloads-txt">'.JText::_('COM_PHOCADOWNLOAD_DOWNLOADS').':</div>'; $pdDownloads .= '<div class="pd-fl-m">'.$v->hits.' x</div>'; }
$pdLicense .= '<li class="bullet-item"><i class="fa fa-pencil-square-o"></i> ' . JText::_('COM_PHOCADOWNLOAD_LICENSE') . ': <a href="' . $v->license_url . '" target="_blank">' . $v->license . '</a></li>'; } else { $pdLicense .= '<li class="bullet-item"><i class="fa fa-pencil-square-o"></i> ' . JText::_('COM_PHOCADOWNLOAD_LICENSE') . ': ' . $v->license . '</li>'; } } $pdAuthor = ''; if ($v->author != '') { if ($v->author_url != '') { $pdAuthor .= '<li class="bullet-item"><i class="fa fa-user"></i> ' . JText::_('COM_PHOCADOWNLOAD_AUTHOR') . ': <a href="' . $v->author_url . '" target="_blank">' . $v->author . '</a></li>'; } else { $pdAuthor .= '<li class="bullet-item"><i class="fa fa-user"></i> ' . JText::_('COM_PHOCADOWNLOAD_AUTHOR') . ': ' . $v->author . '</li>'; } } $pdAuthorEmail = ''; if ($v->author_email != '') { $pdAuthorEmail .= '<li class="bullet-item"><i class="fa fa-envelope-o"></i> ' . JText::_('COM_PHOCADOWNLOAD_EMAIL') . ': ' . $l->getProtectEmail($v->author_email) . '</div>'; } $pdFileDate = ''; $fileDate = $l->getFileDate($v->filename, $v->date); if ($fileDate != '') { $pdFileDate .= '<li class="bullet-item"><i class="fa fa-calendar"></i> ' . JText::_('COM_PHOCADOWNLOAD_DATE') . ': ' . $fileDate . '</li>'; } $pdDownloads = ''; if ($this->t['display_downloads'] == 1) { $pdDownloads .= '<li class="bullet-item"><i class="fa fa-bar-chart-o"></i> ' . JText::_('COM_PHOCADOWNLOAD_DOWNLOADS') . ': ' . $v->hits . ' x</li>'; } $pdDescription = ''; if ($l->isValueEditor($v->description)) { $pdDescription .= $v->description; } $pdFeatures = '';