Example #1
0
/** 
 * @copyright Copyright (C) 2008 redCOMPONENT.com. All rights reserved. 
 * @license GNU/GPL, see LICENSE.php
 * redFORM can be downloaded from www.redcomponent.com
 * redFORM is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License 2
 * as published by the Free Software Foundation.
 * redFORM is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with redFORM; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
$rfcore = new redFormCore();
?>
<form action="index.php?option=com_redform&controller=submitters" method="post" name="redform"  
      id="adminForm" enctype="multipart/form-data" onsubmit="return CheckSubmit(this);">
<?php 
echo $rfcore->getFormFields($this->form_id, array($this->submitter->sid), 1);
?>
<input type="hidden" name="task" id="task" value="save" />
<input type="hidden" name="integration" id="integration" value="<?php 
$this->submitter->integration;
?>
" />
</form>
Example #2
0
	</tr>
<?php 
}
?>
</table>
				
</fieldset>

<fieldset class="adminform editevent"><legend><?php 
echo JText::_('COM_REDEVENT_Answers');
?>
</legend>
<?php 
$options = array('extrafields' => array(array('label' => JText::_('COM_REDEVENT_REGISTRATION_PRICE'), 'field' => $this->lists['pricegroup_id'])));
$rfcore = new redFormCore();
echo $rfcore->getFormFields($this->row->form_id, $this->row->sid ? array($this->row->sid) : null, 1, $options);
?>

</fieldset>

<?php 
echo JHTML::_('form.token');
?>
<input type="hidden" name="option" value="com_redevent" />
<input type="hidden" name="controller" value="attendees" />
<input type="hidden" name="view" value="attendee" />
<input type="hidden" name="id" value="<?php 
echo $this->row->id;
?>
" />
<input type="hidden" name="xref" value="<?php