<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href=""?>
<plugin>
    <name>oxMarket</name>
    <creationDate>2008-11-14</creationDate>
    <author>OpenX</author>
    <authorEmail>plugins@openx.org</authorEmail>
    <authorUrl>http://www.openx.org</authorUrl>
    <license>license.txt</license>
    <description>OpenX Market for OpenX Ad Server Interface</description>
    <version>1.1.0-rc14</version>
    <oxversion>2.8.2-rc19</oxversion>
    <extends>admin</extends>
    <install>

        <files>
            <file path="{ADMINPATH}/css/">ox.market.css</file>
            <file path="{ADMINPATH}/js/">ox.market.js</file>
            <file path="{ADMINPATH}/js/">jquery.cookie.js</file>
            <file path="{ADMINPATH}/js/">jquery.typewatch.js</file>
            <file path="{ADMINPATH}/js/">jquery.simplemodal.min.js</file>
            <file path="{ADMINPATH}/js/">ox.usernamecheck.js</file>
            <file path="{ADMINPATH}/images/">button-dot-green.gif</file>
            <file path="{ADMINPATH}/images/">button-dot-red.gif</file>
            <file path="{ADMINPATH}/images/">campaign-cpm-info.gif</file>
            <file path="{ADMINPATH}/images/">close.gif</file>
            <file path="{ADMINPATH}/images/">close-hl.gif</file>
            <file path="{ADMINPATH}/images/">dropdown-background.png</file>            
            <file path="{ADMINPATH}/images/">icon-marketplace-large.png</file>
            <file path="{ADMINPATH}/templates/">campaign-script.html</file>
            <file path="{ADMINPATH}/templates/">creative-preferences-table.html</file>
            <file path="{ADMINPATH}/templates/">market-campaigns-settings.html</file>
            <file path="{ADMINPATH}/templates/">market-campaigns-settings-list.html</file>
            <file path="{ADMINPATH}/templates/">market-callout.html</file>
            <file path="{ADMINPATH}/templates/">market-confirm.html</file>
            <file path="{ADMINPATH}/templates/">market-cpm-callout.html</file>
            <file path="{ADMINPATH}/templates/">market-floor-price-dialog.html</file>
            <file path="{ADMINPATH}/templates/">market-inactive.html</file>
            <file path="{ADMINPATH}/templates/">market-info.html</file>
            <file path="{ADMINPATH}/templates/">market-include.html</file>
            <file path="{ADMINPATH}/templates/">market-preferences-website.html</file>
            <file path="{ADMINPATH}/templates/">market-signup.html</file>
            <file path="{ADMINPATH}/templates/">market-stats-website.html</file>
            <file path="{ADMINPATH}/templates/">market-stats-zone.html</file>
            <file path="{ADMINPATH}/templates/">stats-zone-row.html</file>
			<file path="{ADMINPATH}/templates/">market-quality-tool.html</file>
            <file path="{ADMINPATH}/pcApiClient/">oxPublisherConsoleClient.php</file>
            <file path="{ADMINPATH}/pcApiClient/">oxPublisherConsoleClientException.php</file>
            <file path="{ADMINPATH}/pcApiClient/">oxPublisherConsoleMarketPluginClient.php</file>

            <file path="{ADMINPATH}/library/OX/oxMarket/Common/">Cache.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/Common/">ConnectionUtils.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/Dal/">CampaignsOptIn.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/UI/">CampaignsSettings.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/UI/rule/">FloorPriceCompare.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/UI/rule/">QuickFormFloorPriceCompareRuleAdaptor.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/M2M/">ZendXmlRpcCustomClientExecutor.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/M2M/">PearXmlRpcCustomClientExecutor.php</file>
            <file path="{ADMINPATH}/library/OX/oxMarket/M2M/">PearXmlRpcCustomClientException.php</file>
            <!-- Spacer for the 4096 byte boundary -->
                                         
                                         
                                         
                                         
                                         
            <!-- End spacer for the 4096 byte boundary -->            
            <file path="{ADMINPATH}/library/Zend/Http/Client/Adapter/">Curl.php</file>
            <file path="{ADMINPATH}/var/">config.php</file>
            <file path="{ADMINPATH}/var/data/dictionary/">cache_oxMarket_AdCategories</file>
            <file path="{ADMINPATH}/var/data/dictionary/">cache_oxMarket_CreativeAttributes</file>
            <file path="{ADMINPATH}/var/data/dictionary/">cache_oxMarket_CreativeTypes</file>
            <file path="{ADMINPATH}/var/data/dictionary/">cache_oxMarket_DefaultRestrictions</file>

            <file path="{ADMINPATH}/">market-campaigns-settings.php</file>
            <file path="{ADMINPATH}/">market-campaigns-settings-list.php</file>
            <file path="{ADMINPATH}/">market-common.php</file>
            <file path="{ADMINPATH}/">market-confirm.php</file>
            <file path="{ADMINPATH}/">market-inactive.php</file>
            <file path="{ADMINPATH}/">market-include.php</file>
            <file path="{ADMINPATH}/">market-index.php</file>
            <file path="{ADMINPATH}/">market-info.php</file>
            <file path="{ADMINPATH}/">market-preferences-website.php</file>
			<file path="{ADMINPATH}/">market-signup.php</file>
			<file path="{ADMINPATH}/">market-sso-user-exists.php</file>	
            <file path="{ADMINPATH}/">market-stats.php</file>
			<file path="{ADMINPATH}/">market-quality-tool.php</file>
			<file path="{ADMINPATH}/">market-run-registerwebsites.php</file>
            <file path="{ADMINPATH}/">oxMarket.class.php</file>
            <file path="{ADMINPATH}/">XMLToArray.php</file>
            <file path="{ADMINPATH}/navigation/">oxMarketActiveChecker.php</file>
            <file path="{ADMINPATH}/navigation/">oxMarketAdminStatsChecker.php</file>
            <file path="{ADMINPATH}/navigation/">oxMarketStandaloneModeChecker.php</file>
            <file path="{ADMINPATH}/navigation/">oxMarketMultipleAccountsModeChecker.php</file>
            <file path="{GROUPPATH}/_lang/">en.mo</file>
            <file path="{GROUPPATH}/_lang/po/">en.po</file>
        </files>
        <components>
           <component>
                <name>oxMarket</name>
                <hook>afterLogin</hook>
           </component>
        </components>
        <navigation>
            <checkers>
                <checker class="Plugins_admin_oxMarket_oxMarketActiveChecker" include="oxMarketActiveChecker.php" />
                <checker class="Plugins_admin_oxMarket_oxMarketAdminStatsChecker" include="oxMarketAdminStatsChecker.php" />
                <checker class="Plugins_admin_oxMarket_oxMarketStandaloneModeChecker" include="oxMarketStandaloneModeChecker.php" />
                <checker class="Plugins_admin_oxMarket_oxMarketMultipleAccountsModeChecker" include="oxMarketMultipleAccountsModeChecker.php" />
            </checkers>
            <admin>
                <menu addto="account-index" index="openx-market" link="plugins/oxMarket/market-index.php" checker="Plugins_admin_oxMarket_oxMarketStandaloneModeChecker">OpenX Market</menu>
                <menu addto="2" index="openx-market-stats" link="plugins/oxMarket/market-stats.php" checker="Plugins_admin_oxMarket_oxMarketAdminStatsChecker">OpenX Market</menu>
            </admin>
            <manager>
                <menu addto="account-index" index="openx-market" link="plugins/oxMarket/market-index.php" checker="Plugins_admin_oxMarket_oxMarketMultipleAccountsModeChecker">OpenX Market</menu>
                <menu addto="inventory" index="market-campaigns-settings" link="plugins/oxMarket/market-campaigns-settings.php" checker="Plugins_admin_oxMarket_oxMarketActiveChecker">OpenX Market Quickstart</menu>
            <!-- Spacer for the 4096 byte boundary -->
                                                                                  
                                                                                  
                                                                                  
                                         
                                         
                                         
            <!-- End spacer for the 4096 byte boundary -->
                <menu addto="website-index" index="market-preferences-website" link="plugins/oxMarket/market-preferences-website.php?affiliateid={affiliateid}" checker="Plugins_admin_oxMarket_oxMarketActiveChecker">OpenX Market - Content Restrictions</menu>                
                <menu addto="website-index" index="market-website-qualitytool" link="plugins/oxMarket/market-quality-tool.php?affiliateid={affiliateid}" checker="Plugins_admin_oxMarket_oxMarketActiveChecker">OpenX Market - Ad Quality Tool</menu>
                <menu addto="2" index="openx-market-stats" link="plugins/oxMarket/market-stats.php" checker="Plugins_admin_oxMarket_oxMarketActiveChecker">OpenX Market</menu>
            </manager>
        </navigation>
        <configuration option="Market API">
            <!-- todo - set proper hosts before final release and set visible ="0" -->
            <setting key="marketHost" type="text" label="Market host" required="1" size="32" visible="0">https://pc.openx.com</setting>
            <setting key="marketPcApiHost" type="text" label="Market PC API host URL" required="1" size="32" visible="0">https://api.pc.openx.com</setting>
            <setting key="fallbackPcApiHost" type="text" label="Market PC API fallback host URL" required="1" size="32" visible="0">http://api.pc.openx.com</setting>
            <setting key="marketXmlRpcUrl" type="text" label="Market XmlRpc URL" required="1" size="32" visible="0">api/xml-rpc</setting>
            <setting key="marketPublicApiUrl" type="text" label="Market Public XmlRpc URL" required="1" size="32" visible="0">api/public/v1</setting>
            <setting key="marketCustomContentUrl" type="text" label="Market custom content URL" required="1" size="32" visible="0">market/content</setting>
			<setting key="marketMenuUrl" type="text" label="Market menu URL" required="1" size="32" visible="0">market/index/menu</setting>
            <setting key="defaultFloorPrice" type="text" label="Default Campaign Floor Price" required="1" size="32" visible="0">0.10</setting>
            <setting key="marketAccountIdParamName" type="text" label="Market Account Param Name" required="1" size="10" visible="0">pa</setting>
            <setting key="marketWelcomeUrl" type="text" label="Market Welcome URL" required="1" size="100" visible="0">market/index/welcome</setting>
            <setting key="marketCaptchaUrl" type="text" label="Captcha picture URL" required="1" size="100" visible="0">https://pc.openx.com/api/captcha</setting>
            <setting key="marketTermsUrl" type="text" label="Market Terms and Conditions URL" required="1" size="100" visible="0">http://www.openx.org/market/terms</setting>
            <setting key="marketPrivacyUrl" type="text" label="Market Data Privacy Policy URL" required="1" size="100" visible="0">http://www.openx.org/privacy</setting>
            <setting key="openXTermsUrl" type="text" label="Market Terms and Conditions URL" required="1" size="100" visible="0">http://www.openx.org/terms</setting>
            <setting key="publisherSupportEmail" type="text" label="OpenX Market Publisher support email" required="0" size="100" visible="0">publisher-support@openx.org</setting>
            <setting key="openXPrivacyUrl" type="text" label="Market Data Privacy Policy URL" required="1" size="100" visible="0">http://www.openx.org/privacy</setting>
            <setting key="dictionaryCacheLifeTime" type="text" label="Dictionary cache life time (in seconds)" required="1"  visible="0">86400</setting>
            <!-- Spacer for the 4096 byte boundary -->
                                                                                  
                                                                                  
                                                                                  
                                         
                                         
                                         
            <!-- End spacer for the 4096 byte boundary -->
            <setting key="multipleAccountsMode" type="text" label="Run plugin in one account per manager mode" required="1"  visible="0">0</setting>
            <!--setting key="curlAllowAnyCertificate" type="checkbox" label="Should curl allow to connect using ssl without checking peer's certificate and host" required="0"  visible="0">0</setting-->
            <setting key="separateImportStatsScript" type="checkbox" label="Allow run import statistics as separate maintenance script" required="1"  visible="0">0</setting>
            <setting key="allowSkipAccountsInImportStats" type="checkbox" label="Allow to skip accounts without local statistics for last 7 days" required="1"  visible="0">1</setting>
            <setting key="maxSkippingPeriodInDays" type="text" label="Download statistics for skipped account at least every [x] days" required="1"  visible="0">7</setting>
        </configuration>
        <schema>
            <mdb2schema>tables_oxMarket</mdb2schema>
            <dboschema>db_schema</dboschema>
            <dbolinks>db_schema.links</dbolinks>
            <dataobject>Ext_market_assoc_data.php</dataobject>
            <dataobject>Ext_market_campaign_pref.php</dataobject>
            <dataobject>Ext_market_setting.php</dataobject>
            <dataobject>Ext_market_web_stats.php</dataobject>
            <dataobject>Ext_market_website_pref.php</dataobject>
            <dataobject>Ext_market_general_pref.php</dataobject>
            <dataobject>Ext_market_plugin_variable.php</dataobject>
        </schema>
    </install>
</plugin>
