Esempio n. 1
0
 * details.
 *
 * @PlayJoom Component
 * @copyright Copyright (C) 2010 by www.teglo.info
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @date $Date$
 * @revision $Revision$
 * @author $Author$
 * @headurl $HeadURL$
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
$user = JFactory::getUser();
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
//get Playlist infos
$track_content = PlayJoomHelper::getTrackInfo(JRequest::getVar('id'));
echo '<form action="' . JRoute::_('index.php?option=com_playjoom&view=adminplaylist&action=del&listid=' . JRequest::getVar('listid') . '&Itemid=' . JRequest::getVar('Itemid')) . '" method="post" name="adminForm" id="adminForm">';
echo '<fieldset class="addtrack">';
echo $this->loadTemplate('toolbar');
echo '<div class="filter-select fltrt">';
if (JFile::exists($item->pathatlocal . DIRECTORY_SEPARATOR . $item->file)) {
    echo '<ul class="playlist">';
    echo '<li id="playlist_info">' . JText::_('COM_PLAYJOOM_PLAYJOOM_HEADING_TITLE') . ':&nbsp;' . $track_content->title . '</li>';
    echo '<li id="playlist_info">' . JText::_('COM_PLAYJOOM_PLAYJOOM_HEADING_ALBUM') . ':&nbsp;' . $track_content->album . '</li>';
    echo '<li id="playlist_info">' . JText::_('COM_PLAYJOOM_PLAYJOOM_HEADING_ARTIST') . ':&nbsp;' . $track_content->artist . '</li>';
    echo '</ul>';
}
echo '</div>';
echo '</fieldset>';
echo '<div>';
echo '<input type="hidden" name="task" value="" />';