Location: PHPKode > projects > injooosm > administrator/components/com_injooosm/views/terrain/tmpl/form.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: form.php 2009-11-22 14:03:00$
 * @author Christian Knorr
 * @package injooosm
 * @subpackage backend
 * @license GNU/GPL
 * @filesource
 *
 */

defined('_JEXEC') or die('Restricted access');

JToolBarHelper::title(JText::_('OSM_ADD_TERRAIN'), 'categories.png');
JToolBarHelper::back($alt= 'Back', $href= 'javascript:history.back();');
JToolBarHelper::spacer();
JToolBarHelper::save('save', 'Save', 'save.png' );

?>
<form action="" method="post" name="adminForm" id="adminForm" class="adminForm">
    <table class="adminlist" cellpadding="1">
        <thead>
            <tr>
                <th colspan="2" align="center"><?php echo JText::_('OSM_ADD_TERRAIN'); ?></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td width="150px"><?php echo JText::_('OSM_TITLE'); ?></td>
                <td><input type="text" name="title" value="" /></td>
            </tr>
            <tr>
                <td width="150px"><?php echo JText::_('PUBLISHED'); ?></td>
                <td><?php echo $this->lists['block']; ?></td>
            </tr>
        </tbody>
    </table>
    <?php echo JHTML::_( 'form.token' ); ?>
    <input type="hidden" name="option" value="com_injooosm" />
    <input type="hidden" name="controller" value="terrain" />
    <input type="hidden" name="task" value="" />
</form>
Return current item: injooosm