| Current Path : /home/jlgagfroyt/www/administrator/components/com_vitabook/ |
| Current File : /home/jlgagfroyt/www/administrator/components/com_vitabook/config.xml |
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset name="component" label="COM_VITABOOK_CONFIGURATION_GENERAL_LABEL" description="COM_VITABOOK_CONFIGURATION_GENERAL_DESC" addfieldpath="/administrator/components/com_vitabook/models/fields">
<field name="introtext"
type="textarea"
default=""
label="COM_VITABOOK_CONFIG_INTRO_TEXT"
description="COM_VITABOOK_CONFIG_INTRO_TEXT_DESC"
rows="1"
cols="50"
filter="raw"
/>
<field name="message_limit"
type="list"
default="2"
label="COM_VITABOOK_CONFIG_MESSAGE_LIMIT"
description="COM_VITABOOK_CONFIG_MESSAGE_LIMIT_DESC">
<option value="1">1</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
</field>
<field name="reply_limit"
type="list"
default="1"
label="COM_VITABOOK_CONFIG_REPLY_LIMIT"
description="COM_VITABOOK_CONFIG_REPLY_LIMIT_DESC">
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
</field>
<field name="max_level"
type="list"
default="1"
label="COM_VITABOOK_CONFIG_MAX_LEVEL"
description="COM_VITABOOK_CONFIG_MAX_LEVEL_DESC">
<option value="1">COM_VITABOOK_CONFIG_MAX_LEVEL_1</option>
<option value="2">COM_VITABOOK_CONFIG_MAX_LEVEL_2</option>
<option value="3">COM_VITABOOK_CONFIG_MAX_LEVEL_3</option>
<option value="4">COM_VITABOOK_CONFIG_MAX_LEVEL_4</option>
</field>
<field name="max_reply_time"
type="text"
default="0"
label="COM_VITABOOK_CONFIG_MAX_REPLY_TIME_LABEL"
description="COM_VITABOOK_CONFIG_MAX_REPLY_TIME_DESC"
size="10"
/>
<field name="max_edit_time"
type="text"
default="0"
label="COM_VITABOOK_CONFIG_MAX_EDIT_TIME_LABEL"
description="COM_VITABOOK_CONFIG_MAX_EDIT_TIME_DESC"
size="10"
/>
<field type="spacer" label="" />
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_AVATAR_TITLE" />
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_AVATAR_SPACER" />
<field name="vbAvatar"
type="vitabookAvatar"
default="1"
label="COM_VITABOOK_CONFIG_AVATAR_OPTION_LABEL"
description="COM_VITABOOK_CONFIG_AVATAR_OPTION_DESC">
</field>
<field name="defaultAvatar"
type="imagelist"
default="default1.png"
label="COM_VITABOOK_CONFIG_DEFAULT_AVATAR_LABEL"
description="COM_VITABOOK_CONFIG_DEFAULT_AVATAR_DESC"
directory="media/com_vitabook/images/avatars/default"
exclude=""
stripext=""
hide_none="true"
hide_default="true"
/>
<field type="spacer" label="" />
<field type="spacer" label="COM_VITABOOK_CONFIG_GUEST_HANDLING_SPACER" />
<field name="guest_post_state"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_GENERAL_GUEST_POST_STATE_LABEL"
description="COM_VITABOOK_CONFIG_GENERAL_GUEST_POST_STATE_DESC">
<option value="0">COM_VITABOOK_CONFIG_GENERAL_GUEST_POST_STATE_UNPUBLISHED</option>
<option value="1">COM_VITABOOK_CONFIG_GENERAL_GUEST_POST_STATE_PUBLISHED</option>
</field>
<field name="guest_email_activation"
type="radio"
class="btn-group"
default="0"
label="COM_VITABOOK_CONFIG_GENERAL_GUEST_EMAIL_ACTIVATION"
description="COM_VITABOOK_CONFIG_GENERAL_GUEST_EMAIL_ACTIVATION_DESC">
<option value="0">COM_VITABOOK_DISABLED</option>
<option value="1">COM_VITABOOK_ENABLED</option>
</field>
<field name="guest_captcha"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_GENERAL_GUEST_GUEST_CAPTCHA"
description="COM_VITABOOK_CONFIG_GENERAL_GUEST_GUEST_CAPTCHA_DESC">
<option value="0">COM_VITABOOK_DISABLED</option>
<option value="1">COM_VITABOOK_ENABLED</option>
</field>
<field type="spacer" label="" />
<field type="spacer" label="COM_VITABOOK_CONFIG_ADMIN_MAIL_SPACER" />
<field name="admin_mail"
type="list"
default="0"
label="COM_VITABOOK_CONFIG_ADMIN_MAIL"
description="COM_VITABOOK_CONFIG_ADMIN_MAIL_DESC">
<option value="0">COM_VITABOOK_CONFIG_ADMIN_MAIL_NEVER</option>
<option value="1">COM_VITABOOK_CONFIG_ADMIN_MAIL_GUEST</option>
<option value="2">COM_VITABOOK_CONFIG_ADMIN_MAIL_ALWAYS</option>
</field>
<field name="admin_mail_group"
type="usergroup"
default="8"
size="8"
multiple="true"
label="COM_VITABOOK_CONFIG_MAIL_GROUP"
description="COM_VITABOOK_CONFIG_MAIL_GROUP_DESC"
/>
<field type="spacer" label="COM_VITABOOK_CONFIG_BLOCK_IPS_SPACER" />
<field name="ipblock"
type="textarea"
default=""
label="COM_VITABOOK_CONFIG_BLOCK_IPS"
description="COM_VITABOOK_CONFIG_BLOCK_IPS_DESC"
rows="10"
cols="30"
filter="raw"
/>
</fieldset>
<fieldset name="layout_options" description="COM_VITABOOK_CONFIG_LAYOUT_DESC" label="COM_VITABOOK_CONFIG_LAYOUT_LABEL">
<field name="rounded_corners"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_GENERAL_ROUNDED_CORNERS"
description="COM_VITABOOK_CONFIG_GENERAL_ROUNDED_CORNERS_DESC">
<option value="0">COM_VITABOOK_CONFIG_LAYOUT_SQUARE</option>
<option value="1">COM_VITABOOK_CONFIG_LAYOUT_ROUNDED</option>
</field>
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_DATE_SPACER" />
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_DATE_FORMAT_SPACER" />
<field name="vb_date_format"
type="text"
default="DATE_FORMAT_LC2"
label="COM_VITABOOK_CONFIG_DATE_FORMAT_LABEL"
description="COM_VITABOOK_CONFIG_DATE_FORMAT_DESC"
size="30"
/>
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_COLOR_SPACER" description="COM_VITABOOK_CONFIG_LAYOUT_COLOR_SPACER_DESC" />
<field name="vb_text_color"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_TEXTCOLOR_LABEL"
description="COM_VITABOOK_CONFIG_LAYOUT_TEXTCOLOR_DESC"
size="10"
/>
<field name="vb_header_background"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_HEADERBACKGROUND_LABEL"
description="COM_VITABOOK_CONFIG_LAYOUT_HEADERBACKGROUND_DESC"
size="10"
/>
<field name="vb_message_background"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_MESSAGEBACKGROUND_LABEL"
description="COM_VITABOOK_CONFIG_LAYOUT_MESSAGEBACKGROUND_DESC"
size="10"
/>
<field name="vb_border_color"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_BORDERCOLOR_LABEL"
description="COM_VITABOOK_CONFIG_LAYOUT_BORDERCOLOR_DESC"
size="10"
/>
<field type="spacer" label="COM_VITABOOK_CONFIG_LAYOUT_COLOR_INTROTEXT_SPACER" description="COM_VITABOOK_CONFIG_LAYOUT_COLOR_SPACER_DESC" />
<field name="vb_introtext_color"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_INTRO_COLOR_LABEL"
size="10"
/>
<field name="vb_introtext_background"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_INTRO_BACKGROUND_LABEL"
size="10"
/>
<field name="vb_introtext_border"
type="vitabookColor"
default=""
label="COM_VITABOOK_CONFIG_LAYOUT_INTRO_BORDER_LABEL"
size="10"
/>
</fieldset>
<fieldset name="editor_options" description="COM_VITABOOK_CONFIG_EDITOR_DESC" label="COM_VITABOOK_CONFIG_EDITOR_LABEL">
<field name="editor_width"
type="text"
default="500"
label="COM_VITABOOK_CONFIG_EDITOR_WIDTH_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_WIDTH_DESC"
size="10"
/>
<field name="editor_height"
type="text"
default="200"
label="COM_VITABOOK_CONFIG_EDITOR_HEIGHT_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_HEIGHT_DESC"
size="10"
/>
<field name="editor_maxchars"
type="text"
default="0"
label="COM_VITABOOK_CONFIG_EDITOR_MAXCHARS_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_MAXCHARS_DESC"
size="10"
/>
<field name="vbForm_site"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_EDITOR_SITE_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_SITE_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="vbForm_location"
type="radio"
class="btn-group"
default="0"
label="COM_VITABOOK_CONFIG_EDITOR_LOCATION_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_LOCATION_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="vbEditorOutline"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_EDITOR_FORM_OUTLINE_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_FORM_OUTLINE_DESC">
<option value="1">COM_VITABOOK_CONFIG_EDITOR_FORM_OUTLINE_1ROW</option>
<option value="2">COM_VITABOOK_CONFIG_EDITOR_FORM_OUTLINE_2ROWS</option>
</field>
<field name="editor_emoticons"
type="radio"
class="btn-group"
default="1"
label="COM_VITABOOK_CONFIG_EDITOR_EMOTICONS_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_EMOTICONS_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="editor_html"
type="radio"
class="btn-group"
default="0"
label="COM_VITABOOK_CONFIG_EDITOR_HTML_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_HTML_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="editor_custom_css"
type="radio"
class="btn-group"
default="0"
label="COM_VITABOOK_CONFIG_EDITOR_CUSTOM_CSS_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_CUSTOM_CSS_DESC">
<option value="0">COM_VITABOOK_DISABLED</option>
<option value="1">COM_VITABOOK_ENABLED</option>
</field>
<field type="spacer" label="" />
<field type="spacer" label="COM_VITABOOK_CONFIG_EDITOR_IMAGE_SPACER" description="COM_VITABOOK_CONFIG_EDITOR_IMAGE_SPACER_DESC" />
<field name="upload_image_width"
type="text"
default="500"
label="COM_VITABOOK_CONFIG_EDITOR_IMAGE_WIDTH_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_IMAGE_WIDTH_DESC"
size="10"
/>
<field name="upload_image_quality"
type="text"
default="70"
label="COM_VITABOOK_CONFIG_EDITOR_IMAGE_QUALITY_LABEL"
description="COM_VITABOOK_CONFIG_EDITOR_IMAGE_QUALITY_DESC"
size="10"
/>
</fieldset>
<fieldset name="permissions" description="JCONFIG_PERMISSIONS_DESC" label="JCONFIG_PERMISSIONS_LABEL">
<field name="rules" type="rules"
component="com_vitabook"
class="inputbox"
filter="rules"
validate="rules"
label="JCONFIG_PERMISSIONS_LABEL"
section="component" />
</fieldset>
</config>
<!--
########################################################################################
The following are a list of all the different types of fields you can add to this file
They are here for copy pasting - neat eh?
########################################################################################
http://docs.joomla.org/Calendar_parameter_type
<field name="mycalendar" type="calendar" default="5-10-2008" label="Select a date" description="" format="%d-%m-%Y" />
http://docs.joomla.org/Category_parameter_type
<field name="mycategory" type="category" label="Select a category" description="" section="3" />
http://docs.joomla.org/Editors_parameter_type
<field name="myeditor" type="editors" default="none" label="Select an editor" />
http://docs.joomla.org/Filelist_parameter_type
<field name="myfile" type="filelist" default="" label="Select a file" description="" directory="administrator" filter="" exclude="" stripext="" />
http://docs.joomla.org/Folderlist_parameter_type
<field name="myfolder" type="folderlist" default="" label="Select a folder" directory="administrator" filter="" exclude="" stripext="" />
http://docs.joomla.org/Helpsites_parameter_type
<field name="myhelpsite" type="helpsites" default="" label="Select a help site" description="" />
http://docs.joomla.org/Hidden_parameter_type
<field name="mysecretvariable" type="hidden" default="" />
http://docs.joomla.org/Imagelist_parameter_type
<field name="myimage" type="imagelist" default="" label="Select an image" description="" directory="" exclude="" stripext="" />
http://docs.joomla.org/Languages_parameter_type
<field name="mylanguage" type="languages" client="site" default="en-GB" label="Select a language" description="" />
http://docs.joomla.org/List_parameter_type
<field name="mylistvalue" type="list" default="" label="Select an option" description="">
<option value="0">Option 1</option>
<option value="1">Option 2</option>
</field>
http://docs.joomla.org/Menu_parameter_type
<field name="mymenu" type="menu" default="mainmenu" label="Select a menu" description="Select a menu" />
http://docs.joomla.org/Menuitem_parameter_type
<field name="mymenuitem" type="menuitem" default="45" label="Select a menu item" description="Select a menu item" />
http://docs.joomla.org/Password_parameter_type
<field name="mypassword" type="password" default="secret" label="Enter a password" description="" size="5" />
http://docs.joomla.org/Radio_parameter_type
<field name="myradiovalue" type="radio" default="0" label="Select an option" description="">
<option value="0">1</option>
<option value="1">2</option>
</field>
http://docs.joomla.org/Spacer_parameter_type
<field type="spacer" default="<b>Advanced parameters</b>" />
http://docs.joomla.org/Sql_parameter_type
<field name="myfield" type="sql" default="10" label="Select an article" query="SELECT id, title FROM #__content" key_field=”id” value_field=”title” />
http://docs.joomla.org/Text_parameter_type
<field name="mytextvalue" type="text" default="Some text" label="Enter some text" description="" size="10" />
http://docs.joomla.org/Textarea_parameter_type
<field name="mytextarea" type="textarea" default="default" label="Enter some text" description="" rows="10" cols="5" />
http://docs.joomla.org/Timezones_parameter_type
<field name="mytimezone" type="timezones" default="-10" label="Select a timezone" description="" />
http://docs.joomla.org/Usergroup_parameter_type
<field name="myusergroups" type="usergroup" default="" label="Select a user group" description="" />
-->