<?php

// core plugin config
$pluginConfig = array();
$pluginConfig['plugin_name']             = 'Rewards Program';
$pluginConfig['folder_name']             = 'rewards';
$pluginConfig['plugin_description']      = 'Enable your users to make money by earning a percentage of referred paid upgrades.';
$pluginConfig['plugin_version']          = 2;
$pluginConfig['required_script_version'] = 4.0;
$pluginConfig['database_sql']            = 'offline/database.sql';

// plugin admin area settings, links are relative to the plugin root
// links in multi-dimentional arrays create sub-menus, first item in array is the top level
$pluginConfig['admin_settings'] = array();
$pluginConfig['admin_settings']['top_nav'] = array();
$pluginConfig['admin_settings']['top_nav'][] = array(
    array('link_url'  => '#', 'link_text' => 'Rewards', 'link_key'  => 'rewards'),
    array('link_url'  => 'admin/detailed_referral.php', 'link_text' => 'Referrals (pps)', 'link_key'  => 'rewards'),
    array('link_url'  => 'admin/detailed_download.php', 'link_text' => 'Downloads (ppd)', 'link_key'  => 'rewards'),
    array('link_url'  => 'admin/aggregated_earning.php', 'link_text' => 'Aggregated Earnings', 'link_key'  => 'rewards'),
    array('link_url'  => 'admin/payment_request.php', 'link_text' => 'Payment Requests', 'link_key'  => 'rewards')
);