<?php
/**
 * Theme Palace Theme Updater
 *
 * @package Theme Palace Sample Theme
 */

// Includes the files needed for the theme updater
if ( !class_exists( 'EDD_Theme_Updater_Admin' ) ) {
	require get_template_directory() . '/updater/theme-updater-admin.php' ;
}

// Loads the updater classes
$updater = new EDD_Theme_Updater_Admin(

	// Config settings
	$config = array(
		'remote_api_url' => 'http://themepalace.com', // Site where EDD is hosted
		'item_name'      => 'Business Park Pro', // Name of theme
		'theme_slug'     => 'business-park-pro', // Theme slug
		'version'        => '2.1.6', // The current version of this theme
		'author'         => 'Theme Palace', // The author of this theme
		'download_id'    => '', // Optional, used for generating a license renewal link
		'renew_url'      => 'http://themepalace.com/my-account' // Optional, allows for a custom license renewal link
	),

	// Strings
	$strings = array(
		'theme-license'             => __( 'Theme License', 'business-park-pro' ),
		'enter-key'                 => __( 'Enter your theme license key.', 'business-park-pro' ),
		'license-key'               => __( 'License Key', 'business-park-pro' ),
		'license-action'            => __( 'License Action', 'business-park-pro' ),
		'deactivate-license'        => __( 'Deactivate License', 'business-park-pro' ),
		'activate-license'          => __( 'Activate License', 'business-park-pro' ),
		'status-unknown'            => __( 'License status is unknown.', 'business-park-pro' ),
		'renew'                     => __( 'Renew?', 'business-park-pro' ),
		'unlimited'                 => __( 'unlimited', 'business-park-pro' ),
		'license-key-is-active'     => __( 'License key is active.', 'business-park-pro' ),
		'expires%s'                 => __( 'Expires %s.', 'business-park-pro' ),
		'%1$s/%2$-sites'            => __( 'You have %1$s / %2$s sites activated.', 'business-park-pro' ),
		'license-key-expired-%s'    => __( 'License key expired %s.', 'business-park-pro' ),
		'license-key-expired'       => __( 'License key has expired.', 'business-park-pro' ),
		'license-keys-do-not-match' => __( 'License keys do not match.', 'business-park-pro' ),
		'license-is-inactive'       => __( 'License is inactive.', 'business-park-pro' ),
		'license-key-is-disabled'   => __( 'License key is disabled.', 'business-park-pro' ),
		'site-is-inactive'          => __( 'Site is inactive.', 'business-park-pro' ),
		'license-status-unknown'    => __( 'License status is unknown.', 'business-park-pro' ),
		'update-notice'             => __( "Updating this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to update.", 'business-park-pro' ),
		'update-available'          => __('<strong>%1$s %2$s</strong> is available. <a href="%3$s" class="thickbox" title="%4$s">Check out what\'s new</a> or <a href="%5$s"%6$s>update now</a>.', 'business-park-pro' )
	)

);
