Exemple #1
0
    /**
     * Method to get the field input markup.
     *
     * @return	string	The field input markup.
     * @since	1.6
     */
    protected function getInput()
    {
        ob_start();
        $event = $this->form->jevdata[$this->name]["event"];
        $dispatcher = JDispatcher::getInstance();
        $res = $dispatcher->trigger('onEditLocation', array(&$event));
        if (count($res) == 0 || !$res[0]) {
            ?>
			<input class="inputbox" type="text" name="location" size="80" maxlength="120" value="<?php 
            echo JEventsHtml::special($this->value);
            ?>
" />
			<?php 
        }
        $input = ob_get_clean();
        JLoader::register('JEVHelper', JPATH_SITE . "/components/com_jevents/libraries/helper.php");
        JEVHelper::ConditionalFields($this->element, $this->form->getName());
        return $input;
    }
Exemple #2
0
</td>
						<td colspan="3">
							<input class="inputbox" type="text" name="contact_info" size="80" maxlength="120" value="<?php 
echo JEventsHtml::special($this->row->contact_info());
?>
" />
						</td>
					</tr>
					<tr class="jev_extrainfo">
						<td align="left" valign="top"><?php 
echo JText::_('JEV_EVENT_EXTRA');
?>
</td>
						<td colspan="3">
							<textarea class="text_area" name="extra_info" id="extra_info" cols="50" rows="4"  ><?php 
echo JEventsHtml::special($this->row->extra_info());
?>
</textarea>
						</td>
					</tr>
				<?php 
foreach ($customfields as $key => $val) {
    ?>
						<tr class="jevplugin_<?php 
    echo $key;
    ?>
">
							<td valign="top"  width="130" align="left"><?php 
    echo $customfields[$key]["label"];
    ?>
</td>