Exemple #1
0
				</select>
			</span>
		</div>
		<div style="clear: both;"><br /></div>

		<div>
			<?php 
if ($params->get('enable_licenses') == 1) {
    ?>
			<span style="width:1%; wrap:nowrap; align:right;"><?php 
    echo JText::_('COM_TRACKER_TORRENT_LICENSE');
    ?>
:</span>
			<span style="width:1%;">
				<?php 
    echo JHTML::_('select.genericlist', TrackerHelper::SelectList('licenses', 'id', 'shortname', '1'), 'licenseID', 'class="inputbox"', 'value', 'text', $this->item->licenseID);
    ?>
			</span>
			<?php 
} else {
    ?>
			<input type="hidden" name="licenseID" value="<?php 
    echo $this->item->licenseID;
    ?>
" />
			<?php 
}
?>

			<?php 
if ($params->get('allow_upload_anonymous') == 1) {
Exemple #2
0
		</div>
		<?php 
}
?>

		<?php 
if ($this->params->get('"tl_license_dropdown"')) {
    ?>
		<div style="float: right; margin-right: 3px;">
			<select name="filter_license_id" class="inputbox" onchange="this.form.submit()">
				<option value=""><?php 
    echo JText::_('COM_TRACKER_SELECT_LICENSE');
    ?>
</option>
				<?php 
    echo JHTML::_('select.options', TrackerHelper::SelectList('licenses', 'id', 'shortname', '1'), 'value', 'text', $this->state->get('filter.license_id'));
    ?>
			</select>
		</div>
		<?php 
}
?>

		<?php 
if ($this->params->get('tl_torrent_status_dropdown')) {
    ?>
		<div style="float: right;">
			<select name="filter_torrent_status" class="inputbox" onchange="this.form.submit()">
				<option value=""><?php 
    echo JText::_('COM_TRACKER_SELECT_ALL_TORRENTS');
    ?>