Ejemplo n.º 1
0
</option>
						<?php 
}
?>
					</select>
				</div>
				<div class="input-wrap">
					<label for="ordering"><?php 
echo Lang::txt('COM_BILLBOARDS_FIELD_ORDERING');
?>
:</label><br />
					<?php 
if ($this->row->id) {
    ?>
						<?php 
    $query = Billboard::select('ordering', 'value')->select('name', 'text')->whereEquals('collection_id', $this->row->collection_id)->toString();
    ?>
						<?php 
    echo JHTML::_('list.ordering', 'billboard[ordering]', $query, null, $this->row->id);
    ?>
					<?php 
} else {
    ?>
						<input type="hidden" name="billboard[ordering]" id="ordering" value="" />
						<span class="readonly"><?php 
    echo Lang::txt('COM_BILLBOARDS_ASC');
    ?>
</span>
					<?php 
}
?>