<?xml version="1.0" encoding="utf-8"?>
<extension type="module" client="site" version="2.5" method="upgrade">
    <name>K2 Tools</name>
    <author>JoomlaWorks</author>
    <creationDate>February 28th, 2014</creationDate>
    <copyright>Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved.</copyright>
    <authorEmail>please-use-the-contact-form@joomlaworks.net</authorEmail>
    <authorUrl>www.joomlaworks.net</authorUrl>
    <version>2.6.8</version>
    <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
    <description>K2_TOOLS</description>
    <files>
        <filename module="mod_k2_tools">mod_k2_tools.php</filename>
        <filename>helper.php</filename>
        <filename>index.html</filename>
        <folder>includes</folder>
        <folder>tmpl</folder>
    </files>
    <config>
        <fields name="params">
            <fieldset name="basic" addfieldpath="/administrator/components/com_k2/elements/">
                <field name="moduleclass_sfx" type="text" default="" label="K2_MODULE_CLASS_SUFFIX" description="K2_MODULE_CLASS_SUFFIX_DESCRIPTION"/>
                <field name="module_usage" type="list" default="0" label="K2_SELECT_MODULE_FUNCTIONALITY" description="">
                    <option value="0">K2_ARCHIVE</option>
                    <option value="1">K2_AUTHORS_LIST</option>
                    <option value="2">K2_BLOGSTYLE_CALENDAR_NO_OPTIONS</option>
                    <option value="3">K2_BREADCRUMBS</option>
                    <option value="4">K2_CATEGORIES_LIST_MENU</option>
                    <option value="5">K2_CATEGORY_SELECT_BOX</option>
                    <option value="6">K2_SEARCH_BOX</option>
                    <option value="7">K2_TAG_CLOUD</option>
                    <option value="8">K2_CUSTOM_CODE</option>
                </field>
                <!-- K2_ARCHIVE_SETTINGS -->
                <field name="" type="header" default="K2_ARCHIVE_SETTINGS" label="" description=""/>
                <field name="archiveItemsCounter" type="radio" default="1" label="K2_ITEMS_COUNTER" description="">
                    <option value="0">K2_HIDE</option>
                    <option value="1">K2_SHOW</option>
                </field>
                <field name="archiveCategory" type="categories" label="K2_CATEGORY_FILTER" description="" default=""/>
                <!-- Authors List Settings -->
                <field name="" type="header" default="K2_AUTHORS_LIST_SETTINGS" label="" description=""/>
                <field name="authors_module_category" type="categories" default="" label="K2_FILTER_AUTHORS_BY_ROOT_CATEGORY" description="K2_SELECT_THE_ROOT_CATEGORY_FOR_WHICH_YOU_WANT_TO_FILTER_AN_AUTHOR_LIST_SELECT_NONE_TO_FETCH_AUTHORS_FROM_ALL_CATEGORIES"/>
                <field name="authorItemsCounter" type="radio" default="1" label="K2_ITEMS_COUNTER" description="">
                    <option value="0">K2_HIDE</option>
                    <option value="1">K2_SHOW</option>
                </field>
                <field name="authorAvatar" type="radio" default="1" label="K2_AUTHOR_AVATAR" description="">
                    <option value="0">K2_HIDE</option>
                    <option value="1">K2_SHOW</option>
                </field>
                <field name="authorAvatarWidthSelect" type="list" default="custom" label="K2_AUTHOR_AVATAR_WIDTH" description="">
                    <option value="inherit">K2_INHERIT_FROM_COMPONENT_PARAMETERS</option>
                    <option value="custom">K2_USE_CUSTOM_WIDTH</option>
                </field>
                <field name="authorAvatarWidth" type="text" default="50" size="4" label="K2_CUSTOM_WIDTH_FOR_AUTHOR_AVATAR_IN_PX" description=""/>
                <field name="authorLatestItem" type="radio" default="1" label="K2_LATEST_ITEM_WRITTEN_BY_AUTHOR" description="">
                    <option value="0">K2_HIDE</option>
                    <option value="1">K2_SHOW</option>
                </field>
                <!-- Calendar Settings -->
                <field name="" type="header" default="K2_CALENDAR_SETTINGS" label="" description=""/>
                <field name="calendarCategory" type="categories" label="K2_CATEGORY_FILTER" description="" default=""/>
                <!-- Breadcrumbs Settings -->
                <field name="" type="header" default="K2_BREADCRUMBS_SETTINGS" label="" description=""/>
                <field name="home" type="text" default="" label="K2_ROOT_LABEL_EG_HOME" description="K2_THE_LABEL_FOR_THE_HOME_LINK_LEAVE_THIS_BLANK_IF_YOU_DONT_WISH_TO_INCLUDE_A_HOME_LINK_IN_YOUR_PATH"/>
                <field name="seperator" type="text" default="" label="K2_PATH_SEPARATOR" description="K2_THE_PATH_SEPARATOR_EG_A_RIGHT_ARROW"/>
                <!-- Categories List (Menu) Settings -->
                <field name="" type="header" default="K2_CATEGORIES_LIST_MENU_SETTINGS" label="" description=""/>
                <field name="root_id" type="categories" default="" label="K2_SELECT_ROOT_CATEGORY" description="K2_SELECT_THE_ROOT_CATEGORY_FOR_WHICH_YOU_WANT_TO_CREATE_A_CATEGORY_LIST_SELECT_NONE_TO_FETCH_A_LIST_OF_ALL_CATEGORIES"/>
                <field name="end_level" type="text" default="" size="4" label="K2_LEVELS_TO_RENDER" description="K2_SELECT_THE_NUMBER_OF_LEVELS_YOU_WISH_TO_RENDER_LEAVE_THIS_BLANK_IF_YOU_WISH_TO_RENDER_ALL_THE_LEVELS_BELOW_THE_SELECTED_ROOT_CATEGORY"/>
                <field name="categoriesListOrdering" type="list" default="" label="K2_ORDER_BY" description="">
                    <option value="">K2_DEFAULT_BY_ID_ASCENDING</option>
                    <option value="reversedefault">K2_REVERSE_DEFAULT_BY_ID_DESCENDING</option>
                    <option value="alpha">K2_NAME_ALPHABETICAL</option>
                    <option value="ralpha">K2_NAME_REVERSE_ALPHABETICAL</option>
                    <option value="order">K2_ORDERING</option>
                </field>
                <field name="categoriesListItemsCounter" type="radio" default="1" label="K2_ITEMS_COUNTER" description="">
                    <option value="0">K2_HIDE</option>
                    <option value="1">K2_SHOW</option>
                </field>
                <!-- Category Select Box Settings -->
                <field name="" type="header" default="K2_CATEGORY_SELECT_BOX_SETTINGS" label="" description=""/>
                <field name="root_id2" type="categories" default="" label="K2_SELECT_ROOT_CATEGORY" description="K2_SELECT_THE_ROOT_CATEGORY_FOR_WHICH_YOU_WANT_TO_CREATE_A_CATEGORY_DROPDOWN_LIST_SELECT_NONE_TO_CREATE_A_DROPDOWN_LIST_FROM_ALL_CATEGORIES"/>
                <!-- Search Box Settings -->
                <field name="" type="header" default="K2_SEARCH_BOX_SETTINGS" label="" description=""/>
                <field name="catfilter" type="radio" default="0" label="K2_CATEGORY_FILTER" description="">
                    <option value="0">K2_ALL</option>
                    <option value="1">K2_SELECT</option>
                </field>
                <field name="category_id" type="categoriesmultiple" default="" label="K2_RESTRICT_SEARCH_RESULTS_TO_ONE_OR_MORE_CATEGORIES" description="K2_BY_CHOOSING_SPECIFIC_CATEGORIES_HERE_YOU_CAN_NARROW_DOWN_SEARCH_RESULTS_TO_ITEMS_BELONGING_IN_THE_SELECTED_CATEGORIES_THIS_OPTION_IS_VERY_HANDY_IF_YOU_ARE_DEVELOPING_A_WEBSITE_FOR_BOTH_GUEST_VISITORS_AND_REGISTERED_MEMBERS_EG_INTRANET_AND_YOU_WANT_TO_RESTRICT_SEARCH_RESULTS_FOR_GUEST_VISITORS_ONLY_TO_CATEGORIES_THAT_THEY_ARE_ALLOWED_TO_VIEW"/>
                <field name="getChildren" type="radio" default="0" label="K2_FETCH_ITEMS_FROM_CHILDREN_CATEGORIES" description="">
                    <option value="0">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="liveSearch" type="radio" default="" label="K2_ENABLE_LIVE_SEARCH" description="K2_IF_YOU_ENABLE_THIS_OPTION_SEARCH_RESULTS_WILL_BE_DISPLAYED_RIGHT_BELOW_THE_SEARCH_BOX_AS_YOU_TYPE_YOUR_SEARCH_QUERY">
                    <option value="">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="width" type="text" default="20" size="4" label="K2_SEARCH_BOX_MAXIMUM_CHARACTER_LENGTH" description="K2_THE_NUMBER_OF_ALLOWED_CHARACTERS_TO_BE_INPUT_IN_THE_SEARCH_BOX"/>
                <field name="text" type="text" default="" label="K2_SEARCH_BOX_DEFAULT_TEXT" description="K2_THE_TEXT_TO_DISPLAY_BY_DEFAULT_IN_THE_SEARCH_BOX"/>
                <field name="button" type="radio" default="" label="K2_SHOW_SEARCH_BUTTON" description="">
                    <option value="">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="imagebutton" type="radio" default="" label="K2_SEARCH_BUTTON_AS_IMAGE" description="K2_USE_AN_IMAGE_AS_THE_SEARCH_BUTTON">
                    <option value="">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="button_text" type="text" default="" label="K2_SEARCH_BUTTON_TEXT" description="K2_SET_THE_DEFAULT_TEXT_WHICH_WILL_APPEAR_ON_THE_SEARCH_BOX_EG_SEARCH_SITE"/>
                <!-- Tag Cloud Settings -->
                <field name="" type="header" default="K2_TAG_CLOUD_SETTINGS" label="" description=""/>
                <field name="min_size" type="text" default="75" size="4" label="K2_MIN_FONT_SIZE" description="K2_FONT_SIZE_FOR_LESS_POPULAR_TAGS"/>
                <field name="max_size" type="text" default="300" size="4" label="K2_MAX_FONT_SIZE" description="K2_FONT_SIZE_FOR_MOST_POPULAR_TAGS"/>
                <field name="cloud_limit" type="text" default="30" size="4" label="K2_TAG_LIMIT_X_MOST_POPULAR" description="K2_SELECT_THE_X_MOST_POPULAR_TAGS_TO_DISPLAY"/>
                <field name="cloud_category" type="categories" multiple="multiple" default="0" label="K2_FILTER_TAGS_FROM_ONE_OR_MORE_CATEGORIES" description="K2_TO_SELECT_MULTIPLE_CATEGORIES_PRESS_AND_KEEP_CTRLCMD_AND_THEN_CLICK_ON_THE_DESIRED_CATEGORIES"/>
                <field name="cloud_category_recursive" type="radio" default="0" label="K2_APPLY_TAG_CATEGORY_FILTER_RECURSIVELY_TO_ALL_SUBCATEGORIES" description="">
                    <option value="0">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <!-- Custom code settings -->
                <field name="" type="header" default="K2_CUSTOM_CODE_SETTINGS" label="" description=""/>
                <field name="customCode" type="textarea" filter="raw" default="" label="K2_ADD_CUSTOM_HTML_CSS_JS_OR_PHP_CODE" description="" cols="60" rows="20" />
                <field name="parsePhp" type="radio" default="0" label="K2_PARSE_PHP_CODE" description="">
                    <option value="0">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="K2Plugins" type="radio" default="0" label="K2_ENABLE_K2_PLUGINS" description="">
                    <option value="0">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
                <field name="JPlugins" type="radio" default="0" label="K2_ENABLE_JOOMLA_CONTENT_PLUGINS" description="">
                    <option value="0">K2_NO</option>
                    <option value="1">K2_YES</option>
                </field>
            </fieldset>
            <fieldset name="advanced">
                <field name="cache" type="list" default="1" label="K2_CACHING" description="K2_SELECT_WHETHER_TO_CACHE_THE_CONTENT_OF_THIS_MODULE">
                    <option value="1">K2_USE_GLOBAL</option>
                    <option value="0">K2_NO_CACHING</option>
                </field>
                <field name="cache_time" type="text" default="900" label="K2_CACHE_TIME" description="K2_THE_TIME_IN_SECONDS_BEFORE_THE_MODULE_IS_RECACHED"/>
            </fieldset>
        </fields>
    </config>
</extension>
