| Current Path : /home/juvelize/www/components/com_icagenda/models/forms/ |
| Current File : /home/juvelize/www/components/com_icagenda/models/forms/event.xml |
<?xml version="1.0" encoding="utf-8"?> <form> <fieldset> <!-- Panel Event --> <field name="title" type="text" label="COM_ICAGENDA_FORM_LBL_EVENT_TITLE" required="true" /> <field name="catid" type="icagenda.CategorySelect" label="COM_ICAGENDA_FORM_LBL_EVENT_CATID" class="form-select" required="true" /> <field name="image" type="media" label="COM_ICAGENDA_FORM_LBL_EVENT_IMAGE" description="COM_ICAGENDA_FORM_DESC_EVENT_IMAGE" hide_none="1" /> <!-- Panel Dates --> <field name="period_title" type="note" label="COM_ICAGENDA_LEGEND_PERIOD_DATES" heading="h3" /> <field name="startdate" type="calendar" label="COM_ICAGENDA_FORM_LBL_EVENTPERIOD_START" class="inputbox" size="40" translateformat="true" showtime="true" filter="none" /> <field name="enddate" type="calendar" label="COM_ICAGENDA_FORM_LBL_EVENTPERIOD_END" class="inputbox" size="40" translateformat="true" showtime="true" filter="none" /> <field name="weekdays" type="list" label="COM_ICAGENDA_FORM_LBL_WEEK_DAYS" default="" multiple="true" extension="com_icagenda" layout="joomla.form.field.list-fancy-select" > <option value="0">SUNDAY</option> <option value="1">MONDAY</option> <option value="2">TUESDAY</option> <option value="3">WEDNESDAY</option> <option value="4">THURSDAY</option> <option value="5">FRIDAY</option> <option value="6">SATURDAY</option> </field> <field name="weekdays_info" type="note" label="COM_ICAGENDA_FORM_WEEK_DAYS_INFO_TITLE" description="COM_ICAGENDA_FORM_WEEK_DAYS_INFO_DESC" class="alert alert-info" /> <field name="period_spacer" type="spacer" hr="true" /> <field name="dates_title" type="note" label="COM_ICAGENDA_LEGEND_SINGLE_DATES" heading="h3" /> <field name="dates" type="subform" label="" multiple="true" buttons="add,remove" layout="joomla.form.field.subform.repeatable" > <form> <field name="date" type="calendar" label="ICDATE" class="inputbox" translateformat="true" showtime="true" filter="none" /> </form> </field> <field name="dates_spacer" type="spacer" hr="true" /> <field name="dates_options_title" type="note" label="JOPTIONS" heading="h3" /> <field name="displaytime" type="radio" label="COM_ICAGENDA_DISPLAY_TIME_LABEL" layout="joomla.form.field.radio.switcher" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="dates_options_spacer" type="spacer" hr="true" /> <!-- Panel Description --> <field name="shortdesc_title" type="note" label="COM_ICAGENDA_FORM_EVENT_SHORT_DESCRIPTION_LBL" heading="h3" /> <field name="shortdesc_info" type="note" description="COM_ICAGENDA_FORM_EVENT_SHORT_DESCRIPTION_DESC" class="alert alert-info" /> <field name="shortdesc" type="icagenda.TextareaCounter" label="COM_ICAGENDA_FORM_EVENT_SHORT_DESCRIPTION_LBL" description="COM_ICAGENDA_FORM_EVENT_SHORT_DESCRIPTION_DESC" rows="3" cols="80" class="span-12" /> <field name="shortdesc_spacer" type="spacer" hr="true" /> <field name="desc_title" type="note" label="COM_ICAGENDA_FORM_DESC_EVENT_DESC" heading="h3" /> <field name="desc" type="editor" label="COM_ICAGENDA_FORM_LBL_EVENT_DESC" description="COM_ICAGENDA_FORM_DESC_EVENT_DESC" buttons="true" hide="readmore,pagebreak,helix_shortcode" class="inputbox" filter="\Joomla\CMS\Component\ComponentHelper::filterText" /> <field name="desc_spacer" type="spacer" hr="true" /> <field name="metadesc_title" type="note" label="COM_ICAGENDA_FORM_EVENT_METADESC_LBL" heading="h3" /> <field name="metadesc_info" type="note" description="COM_ICAGENDA_FORM_EVENT_METADESC_DESC" class="alert alert-info" /> <field name="metadesc" type="icagenda.TextareaCounter" label="COM_ICAGENDA_FORM_EVENT_METADESC_LBL" description="COM_ICAGENDA_FORM_EVENT_METADESC_DESC" rows="4" cols="80" class="span-12" /> <field name="metadesc_spacer" type="spacer" hr="true" /> <!-- Panel Information --> <field name="global_info_title" type="note" label="COM_ICAGENDA_EVENT_GLOBAL_INFO_TITLE" heading="h3" /> <field name="place" type="text" label="COM_ICAGENDA_FORM_LBL_EVENT_VENUE" description="COM_ICAGENDA_FORM_DESC_EVENT_VENUE" size="30" /> <field name="website" type="url" label="COM_ICAGENDA_FORM_LBL_EVENT_WEBSITE" description="COM_ICAGENDA_FORM_DESC_EVENT_WEBSITE" size="30" validate="url" filter="url" /> <field name="contact_title" type="note" label="COM_ICAGENDA_LEGEND_CONTACT" heading="h3" /> <field name="email" type="email" label="COM_ICAGENDA_FORM_LBL_EVENT_EMAIL" description="COM_ICAGENDA_FORM_DESC_EVENT_EMAIL" size="30" filter="string" validate="email" /> <field name="phone" type="tel" label="COM_ICAGENDA_FORM_LBL_EVENT_PHONE" description="COM_ICAGENDA_FORM_DESC_EVENT_PHONE" size="30" validate="tel" /> <field name="global_info_spacer" type="spacer" hr="true" /> <field name="attachments_title" type="note" label="COM_ICAGENDA_EVENT_ATTACHMENTS_TITLE" heading="h3" /> <field name="file" type="icagenda.MediaUpload" label="COM_ICAGENDA_FORM_LBL_EVENT_FILE" description="COM_ICAGENDA_FORM_DESC_EVENT_FILE" class="form-control" id="upload_file" /> <field name="attachments_spacer" type="spacer" hr="true" /> <field name="features_title" type="note" label="COM_ICAGENDA_LEGEND_FEATURES" heading="h3" /> <field name="features" type="sql" label="COM_ICAGENDA_FORM_LBL_EVENT_FEATURES" description="COM_ICAGENDA_FORM_DESC_EVENT_FEATURES" query="SELECT id AS value, title AS features FROM #__icagenda_feature WHERE state=1 AND icon IS NOT NULL AND icon!='' ORDER BY features" multiple="true" extension="com_icagenda" layout="joomla.form.field.list-fancy-select" /> <field name="features_spacer" type="spacer" hr="true" /> <field name="custom_fields_title" type="note" label="COM_ICAGENDA_CUSTOMFIELDS" heading="h3" /> <field name="custom_fields" type="hidden" class="inputbox" default="" /> <field name="custom_fields_spacer" type="spacer" hr="true" /> <!-- Panel Map --> <field name="address" type="text" label="COM_ICAGENDA_GOOGLE_MAPS_ADDRESS_LBL" description="COM_ICAGENDA_FORM_DESC_EVENT_LOCATION" class="form-control" filter="safehtml" /> <field name="city" type="icagenda.MapLocality" label="COM_ICAGENDA_FORM_LBL_EVENT_CITY" description="COM_ICAGENDA_FORM_DESC_EVENT_CITY" class="input-medium icmap-input form-control" filter="safehtml" /> <field name="country" type="icagenda.MapCountry" label="COM_ICAGENDA_FORM_LBL_EVENT_COUNTRY" description="COM_ICAGENDA_FORM_DESC_EVENT_COUNTRY" class="input-medium icmap-input form-control" filter="safehtml" /> <field name="lat" type="icagenda.MapLatitude" label="LATITUDE" description="COM_ICAGENDA_FORM_DESC_EVENT_MAP" default="0" class="input-medium icmap-input form-control" /> <field name="lng" type="icagenda.MapLongitude" label="LONGITUDE" description="COM_ICAGENDA_FORM_DESC_EVENT_MAP" default="0" class="input-medium icmap-input form-control" /> <!-- Panel Publishing --> <field name="id" type="hidden" label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC" class="readonly" readonly="true" default="0" /> <field name="alias" type="hidden" label="JFIELD_ALIAS_LABEL" description="JFIELD_ALIAS_DESC" /> <field name="approval" type="hidden" label="COM_ICAGENDA_EVENTS_APPROVAL" description="COM_ICAGENDA_EVENTS_APPROVAL_DESC" default="0" filter="intval" /> <!--field name="checked_out" type="hidden" filter="unset" /> <field name="checked_out_time" type="hidden" filter="unset" /--> <field name="state" type="hidden" label="JSTATUS" description="" filter="intval" size="1" default="1" > <option value="1">JPUBLISHED</option> <option value="0">JUNPUBLISHED</option> <option value="2">JARCHIVED</option> <option value="-2">JTRASHED</option> </field> <field name="access" type="accesslevel" label="JFIELD_ACCESS_LABEL" description="" size="1" default="1" /> <field name="language" type="contentlanguage" label="JFIELD_LANGUAGE_LABEL" description="" > <option value="*">JALL</option> </field> <!--field name="site_itemid" type="test" label="COM_ICAGENDA_FORM_FRONTEND_SUBMIT_ITEMID_LBL" description="COM_ICAGENDA_FORM_FRONTEND_SUBMIT_ITEMID_DESC" size="3" class="inputbox" readonly="true" default="0" /--> </fieldset> <fields name="params" addfieldpath="/administrator/components/com_content/models/fields"> <!-- Registrations Tab - Individual Params --> <fieldset name="registration"> <field name="statutReg" type="radio" label="COM_ICAGENDA_REGISTRATION_LABEL" class="btn-group btn-group-yesno" useglobal="true" > <option value="0">JOFF</option> <option value="1">JON</option> </field> <field name="accessReg" type="accesslevel" label="JFIELD_ACCESS_LABEL" description="COM_ICAGENDA_REGISTRATION_ACCESS_LEVEL_DESC" default="" showon="statutReg:1" > <option value="">JGLOBAL_USE_GLOBAL</option> </field> </fieldset> <fieldset name="registration_tickets"> <field name="maxReg" type="text" label="COM_ICAGENDA_REGISTRATION_NB_OF_TICKETS_LABEL" description="COM_ICAGENDA_REGISTRATION_NB_OF_TICKETS_DESC" default="" class="col-lg-8" size="3" filter="integer" showon="statutReg:1" /> <field name="typeReg" type="list" label=" " default="1" class="col-lg-4" showon="statutReg:1" > <option value="1">COM_ICAGENDA_REGISTRATION_NB_OF_TICKETS_PER_DATE</option> <option value="2">COM_ICAGENDA_REGISTRATION_NB_OF_TICKETS_FOR_ALL_DATES</option> </field> <!--field name="tickets_note" type="spacer" label=" " description="COM_ICAGENDA_REGISTRATION_NB_OF_TICKETS_DESC" class="form-text ic-label-hidden" showon="statutReg:1" /--> </fieldset> <!-- Registrations Tab - Actions --> <fieldset name="registration_actions"> </fieldset> <fieldset name="registration_payment"> </fieldset> <!-- Registrations Tab - Options --> <!--fieldset name="registration_options" label="COM_ICAGENDA_REGISTRATION_OPTIONS_LABEL" showon="statutReg:1"--> <fieldset name="registration_options" showon="statutReg:1"> <field name="reg_options_header" type="note" label="COM_ICAGENDA_REGISTRATION_OPTIONS_LABEL" heading="h4" showon="statutReg:1" /> <field name="reg_deadline_time" type="icagenda.DeadlineTime" label="COM_ICAGENDA_REGISTRATION_DEADLINE_LABEL" description="" class="form-select" showon="statutReg:1" /> <field name="reg_deadline" type="icagenda.DeadlineBefore" label="COM_ICAGENDA_REGISTRATION_DEADLINE_BEFORE_LABEL" description="" default="" useglobal="true" showon="statutReg:1" > <option value="1">COM_ICAGENDA_REGISTRATION_DEADLINE_START</option> <option value="2">COM_ICAGENDA_REGISTRATION_DEADLINE_END</option> </field> <field name="reg_deadline_info" type="spacer" label="" description="COM_ICAGENDA_REGISTRATION_DEADLINE_INFO_DESC" showon="statutReg:1" /> <field name="reg_cancellation" type="list" label="COM_ICAGENDA_REGISTRATION_CANCELLATION_LABEL" description="COM_ICAGENDA_REGISTRATION_CANCELLATION_DESC" default="" class="form-select-color-state" useglobal="true" showon="statutReg:1" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="custom_form" type="icagenda.CustomForm" label="COM_ICAGENDA_REGISTRATION_FORM_GROUPS_LABEL" description="COM_ICAGENDA_REGISTRATION_FORM_GROUPS_DESC" default="" multiple="true" extension="com_icagenda" layout="joomla.form.field.list-fancy-select" showon="statutReg:1" /> </fieldset> <fieldset name="registration_button" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="reg_button_header" type="note" label="COM_ICAGENDA_REGISTRATION_BUTTON" heading="h4" showon="statutReg:1" /> <field name="RegButtonText" type="text" label="COM_ICAGENDA_REGISTRATION_BUTTON_TEXT" description="COM_ICAGENDA_REGISTRATION_BUTTON_TEXT_DESC" default="" showon="statutReg:1" /> <field name="RegButtonLink" type="radio" label="COM_ICAGENDA_REGISTRATION_LINK_LBL" description="COM_ICAGENDA_REGISTRATION_LINK_DESC" default="" class="btn-group" showon="statutReg:1" > <option value="">IC_DEFAULT</option> <option value="1">IC_ARTICLE</option> <option value="2">IC_URL</option> </field> <field name="RegButtonLink_Article" type="modal_article" label=" " showon="statutReg:1[AND]RegButtonLink:1" /> <field name="RegButtonLink_Url" type="url" label=" " hint="IC_HINT_URL" showon="statutReg:1[AND]RegButtonLink:2" /> <field name="RegButtonTarget" type="list" label="COM_ICAGENDA_BROWSER_TARGET" description="COM_ICAGENDA_REGISTRATION_LINK_BROWSER_TARGET_DESC" default="0" showon="statutReg:1" > <option value="0">JBROWSERTARGET_PARENT</option> <option value="1">JBROWSERTARGET_NEW</option> </field> </fieldset> <!-- Publishing Tab --> <fieldset name="publishing"> <field name="event_cancelled" type="list" label="COM_ICAGENDA_EVENT_CANCELLED_LABEL" description="COM_ICAGENDA_EVENT_CANCELLED_DESC" default="0" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="event_cancelled_customlabel" type="radio" label="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_LABEL" description="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_DESC" class="btn-group" default="" showon="event_cancelled:1" > <option value="">JDEFAULT</option> <option value="1">JYES</option> </field> <field name="event_cancelled_customlabel_text" type="text" label="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_TEXT_LABEL" description="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_TEXT_DESC" size="40" class="inputbox" default="" hint="COM_ICAGENDA_EVENT_CANCELLED_TEXT" showon="event_cancelled:1[AND]event_cancelled_customlabel:1" /> <field name="event_cancelled_customlabel_css" type="text" label="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_CSS_LABEL" description="COM_ICAGENDA_EVENT_CANCELLED_CUSTOMLABEL_CSS_DESC" size="40" class="inputbox" default="" hint="label label-important" showon="event_cancelled:1[AND]event_cancelled_customlabel:1" /> <field name="event_cancelled_desc" type="editor" label="COM_ICAGENDA_EVENT_CANCELLED_INFOTEXT_LABEL" description="COM_ICAGENDA_EVENT_CANCELLED_INFOTEXT_DESC" buttons="readmore,pagebreak" filter="safehtml" showon="event_cancelled:1" /> <field name="event_cancelled_date" type="calendar" label="COM_ICAGENDA_EVENT_CANCELLED_DATE_LABEL" class="readonly" size="22" readonly="true" translateformat="true" showtime="true" filter="user_utc" showon="event_cancelled:1" /> <field name="event_cancelled_spacer" type="spacer" hr="true" /> </fieldset> <!-- Management Actions --> <fieldset name="management_actions"> <field name="first_published_and_approved" type="hidden" default="0" /> </fieldset> </fields> <!-- Captcha --> <field name="captcha" type="captcha" label="COM_ICAGENDA_CAPTCHA" validate="captcha" namespace="event" /> </form>