Exemplo n.º 1
0
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_CAT') . '<br />';
echo '<select name="category_id" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_PLAYLIST_CATEGORY') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('catlist'), 'value', 'text', null);
echo '</select>';
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_LEVEL') . '<br />';
echo '<select name="access" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_PLAYLIST_ACCESSLEVEL') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('accesslevel'), 'value', 'text', null);
echo '</select>';
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_ATTACH') . '<br />';
echo '<select name="attach_artist" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_FILTER_ARTIST') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('artist'), 'value', 'text', null);
echo '</select>';
echo '<select name="attach_genre" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_FILTER_ARTIST') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('genre'), 'value', 'text', null);
echo '</select>';
echo '</div>';
echo '</fieldset>';
echo '<input type="hidden" name="task" value="" />';
echo '<input type="hidden" name="user_id" value="' . $user->get('id') . '" />';
echo JHtml::_('form.token');
echo '</form>';
Exemplo n.º 2
0
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_CAT') . '<br />';
echo '<select name="category_id" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_PLAYLIST_CATEGORY') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('catlist'), 'value', 'text', $this->playlistinfo->catid);
echo '</select>';
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_LEVEL') . '<br />';
echo '<select name="access" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_PLAYLIST_ACCESSLEVEL') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('accesslevel'), 'value', 'text', $this->playlistinfo->access);
echo '</select>';
echo '</div>';
echo '<div class="adminplaylist">';
echo JText::_('COM_PLAYJOOM_EDITPLAYLIST_FORM_ATTACH') . '<br />';
echo '<select name="attach_artist" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_FILTER_ARTIST') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('artist'), 'value', 'text', $this->playlistinfo->attach_artist);
echo '</select>';
echo '<select name="attach_genre" class="inputbox">';
echo '<option value="">' . JText::_('COM_PLAYJOOM_FILTER_GENRE') . '</option>';
echo JHtml::_('select.options', PlayJoomAdminplaylistsHelper::getOptions('genre'), 'value', 'text', $this->playlistinfo->attach_genre);
echo '</select>';
echo '</div>';
echo '</fieldset>';
echo '<input type="hidden" name="task" value="" />';
echo '<input type="hidden" name="list_id" class="inputbox" value="' . $this->playlistinfo->id . '" />';
echo JHtml::_('form.token');
echo '</form>';