<?xml version="1.0" encoding="utf-8"?>
<extension version="3.4" type="module" client="site" method="upgrade">
	<name>JS Photos</name>
	<author>iJoomla</author>
	<creationDate>April 2015</creationDate>
	<copyright>Copyright (C) 2008 - 2015 iJoomla. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<authorEmail>support@jomsocial.com</authorEmail>
	<authorUrl>http://jomsocial.com</authorUrl>
	<version>4.9.3</version>
	<description>Photo module for JomSocial</description>
    <languages>
        <language tag="en-GB">en-GB.mod_community_photos.ini</language>
    </languages>
	<files>
		<filename module="mod_community_photos">mod_community_photos.php</filename>
		<filename>helper.php</filename>
		<filename>index.html</filename>
		<filename>mod_community_photos.xml</filename>
        <filename>tmpl/index.html</filename>
        <filename>tmpl/albums.php</filename>
        <filename>tmpl/photos.php</filename>
	</files>
	<config>
		<fields name="params">
            <fieldset name="basic">
                <field name="display_type" type="list" class="btn-group btn-group-yesno" default="1" label="MOD_COMMUNITY_PHOTOS_DISPLAYTYPE_SETTINGS" description="MOD_COMMUNITY_PHOTOS_DISPLAYTYPE_SETTINGS">
                    <option value="0">MOD_COMMUNITY_PHOTOS_ALBUM_OPTION</option>
                    <option value="1">MOD_COMMUNITY_PHOTOS_PHOTO_OPTION</option>
                </field>
                <field name="category_type" type="list" class="btn-group btn-group-yesno" default="0" label="MOD_COMMUNITY_PHOTOS_FROM_SETTINGS" description="MOD_COMMUNITY_PHOTOS_FROM_DESC">
                    <option value="0">MOD_COMMUNITY_PHOTOS_ALL_OPTION</option>
                    <option value="1">MOD_COMMUNITY_PHOTOS_USER_OPTION</option>
                    <option value="2">MOD_COMMUNITY_PHOTOS_GROUP_OPTION</option>
                    <option value="3">MOD_COMMUNITY_PHOTOS_EVENT_OPTION</option>
                </field>
                <field name="filter_by" type="list" class="btn-group btn-group-yesno" default="0" label="MOD_COMMUNITY_PHOTOS_SORT_SETTINGS" description="MOD_COMMUNITY_PHOTOS_SORT_SETTINGS">
                    <option value="0">MOD_COMMUNITY_PHOTOS_NEWEST_OPTION</option>
                    <option value="1">MOD_COMMUNITY_PHOTOS_POPULAR_OPTION</option>
                </field>
                <field name="limit" type="text" class="btn-group btn-group-yesno" default="20" label="MOD_COMMUNITY_PHOTO_LIMIT_SETTINGS" description="MOD_COMMUNITY_PHOTO_LIMIT_DESC"/>

            </fieldset>
            <fieldset name="advanced">
                <field
                        name="layout"
                        type="modulelayout"
                        label="JFIELD_ALT_LAYOUT_LABEL"
                        description="JFIELD_ALT_MODULE_LAYOUT_DESC"/>
                <field
                        name="moduleclass_sfx"
                        type="textarea"
                        rows="3"
                        label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
                        description="" />

                <field
                        name="cache"
                        type="list"
                        default="0"
                        label="COM_MODULES_FIELD_CACHING_LABEL"
                        description=""
                        >
                    <option value="1">JGLOBAL_USE_GLOBAL</option>
                    <option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
                </field>
            </fieldset>
		</fields>
	</config>
</extension>
