Initial commit: Atomaste website
This commit is contained in:
@@ -0,0 +1,420 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) or die( "you do not have acces to this page!" );
|
||||
|
||||
if ( ! class_exists( "cmplz_tc_config" ) ) {
|
||||
|
||||
class cmplz_tc_config {
|
||||
private static $_this;
|
||||
public $fields = array();
|
||||
public $sections;
|
||||
public $pages;
|
||||
public $warning_types;
|
||||
public $yes_no;
|
||||
public $countries;
|
||||
public $regions;
|
||||
public $eu_countries;
|
||||
public $languages;
|
||||
public $language_codes;
|
||||
public $steps;
|
||||
|
||||
function __construct() {
|
||||
if ( isset( self::$_this ) ) {
|
||||
wp_die( sprintf( '%s is a singleton class and you cannot create a second instance.',
|
||||
get_class( $this ) ) );
|
||||
}
|
||||
|
||||
self::$_this = $this;
|
||||
|
||||
|
||||
//common options type
|
||||
$this->yes_no = array(
|
||||
'yes' => __( 'Yes', 'complianz-terms-conditions' ),
|
||||
'no' => __( 'No', 'complianz-terms-conditions' ),
|
||||
);
|
||||
|
||||
$this->languages = $this->get_supported_languages();
|
||||
|
||||
|
||||
/* config files */
|
||||
require_once( cmplz_tc_path . '/config/countries.php' );
|
||||
require_once( cmplz_tc_path . '/config/steps.php' );
|
||||
require_once( cmplz_tc_path . '/config/questions-wizard.php' );
|
||||
require_once( cmplz_tc_path . '/config/documents/documents.php' );
|
||||
require_once( cmplz_tc_path . '/config/documents/terms-conditions.php' );
|
||||
|
||||
/**
|
||||
* Preload fields with a filter, to allow for overriding types
|
||||
*/
|
||||
add_action( 'plugins_loaded', array( $this, 'preload_init' ), 10 );
|
||||
|
||||
/**
|
||||
* The integrations are loaded with priority 10
|
||||
* Because we want to initialize after that, we use 15 here
|
||||
*/
|
||||
add_action( 'plugins_loaded', array( $this, 'init' ), 15 );
|
||||
}
|
||||
|
||||
static function this() {
|
||||
return self::$_this;
|
||||
}
|
||||
|
||||
|
||||
public function get_section_by_id( $id ) {
|
||||
|
||||
$steps = $this->steps['terms-conditions'];
|
||||
foreach ( $steps as $step ) {
|
||||
if ( ! isset( $step['sections'] ) ) {
|
||||
continue;
|
||||
}
|
||||
$sections = $step['sections'];
|
||||
|
||||
//because the step arrays start with one instead of 0, we increase with one
|
||||
return array_search( $id, array_column( $sections, 'id' ) ) + 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function get_step_by_id( $id ) {
|
||||
$steps = $this->steps['terms-conditions'];
|
||||
|
||||
//because the step arrays start with one instead of 0, we increase with one
|
||||
return array_search( $id, array_column( $steps, 'id' ) ) + 1;
|
||||
}
|
||||
|
||||
|
||||
public function fields(
|
||||
$page = false, $step = false, $section = false,
|
||||
$get_by_fieldname = false
|
||||
) {
|
||||
|
||||
$output = array();
|
||||
$fields = $this->fields;
|
||||
if ( $page ) {
|
||||
$fields = cmplz_tc_array_filter_multidimensional( $this->fields,
|
||||
'source', $page );
|
||||
}
|
||||
|
||||
foreach ( $fields as $fieldname => $field ) {
|
||||
if ( $get_by_fieldname && $fieldname !== $get_by_fieldname ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( $step ) {
|
||||
if ( $section && isset( $field['section'] ) ) {
|
||||
if ( ( $field['step'] == $step
|
||||
|| ( is_array( $field['step'] )
|
||||
&& in_array( $step, $field['step'] ) ) )
|
||||
&& ( $field['section'] == $section )
|
||||
) {
|
||||
$output[ $fieldname ] = $field;
|
||||
}
|
||||
} else {
|
||||
if ( ( $field['step'] == $step )
|
||||
|| ( is_array( $field['step'] )
|
||||
&& in_array( $step, $field['step'] ) )
|
||||
) {
|
||||
$output[ $fieldname ] = $field;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( ! $step ) {
|
||||
$output[ $fieldname ] = $field;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
public function has_sections( $page, $step ) {
|
||||
if ( isset( $this->steps[ $page ][ $step ]["sections"] ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function preload_init(){
|
||||
$this->fields = apply_filters( 'cmplz_fields_load_types', $this->fields );
|
||||
}
|
||||
|
||||
public function init() {
|
||||
$this->fields = apply_filters( 'cmplz_fields', $this->fields );
|
||||
if ( ! is_admin() ) {
|
||||
$regions = cmplz_tc_get_regions();
|
||||
foreach ( $regions as $region => $label ) {
|
||||
if ( !isset( $this->pages[ $region ] ) ) continue;
|
||||
|
||||
foreach ( $this->pages[ $region ] as $type => $data ) {
|
||||
$this->pages[ $region ][ $type ]['document_elements']
|
||||
= apply_filters( 'cmplz_document_elements',
|
||||
$this->pages[ $region ][ $type ]['document_elements'],
|
||||
$region, $type, $this->fields() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an array of languages used on this site in format array('en' => 'en')
|
||||
*
|
||||
* @param bool $count
|
||||
*
|
||||
* @return int|array
|
||||
*/
|
||||
|
||||
public function get_supported_languages( $count = false ) {
|
||||
$site_locale = cmplz_tc_sanitize_language( get_locale() );
|
||||
|
||||
$languages = array( $site_locale => $site_locale );
|
||||
|
||||
if ( function_exists( 'icl_register_string' ) ) {
|
||||
$wpml = apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) );
|
||||
/**
|
||||
* WPML has changed the index from 'language_code' to 'code' so
|
||||
* we check for both.
|
||||
*/
|
||||
$wpml_test_index = reset( $wpml );
|
||||
if ( isset( $wpml_test_index['language_code'] ) ) {
|
||||
$wpml = wp_list_pluck( $wpml, 'language_code' );
|
||||
} elseif ( isset( $wpml_test_index['code'] ) ) {
|
||||
$wpml = wp_list_pluck( $wpml, 'code' );
|
||||
} else {
|
||||
$wpml = array();
|
||||
}
|
||||
$languages = array_merge( $wpml, $languages );
|
||||
}
|
||||
|
||||
/**
|
||||
* TranslatePress support
|
||||
* There does not seem to be an easy accessible API to get the languages, so we retrieve from the settings directly
|
||||
*/
|
||||
|
||||
if ( class_exists( 'TRP_Translate_Press' ) ) {
|
||||
$trp_settings = get_option( 'trp_settings', array() );
|
||||
if ( isset( $trp_settings['translation-languages'] ) ) {
|
||||
$trp_languages = $trp_settings['translation-languages'];
|
||||
foreach ( $trp_languages as $language_code ) {
|
||||
$key = substr( $language_code, 0, 2 );
|
||||
$languages[ $key ] = $key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $count ) {
|
||||
return count( $languages );
|
||||
}
|
||||
|
||||
$languages = array_map(array($this, 'format_code_lang'), $languages);
|
||||
return $languages;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the language for a language code.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string $code Optional. The two-letter language code. Default empty.
|
||||
* @return string The language corresponding to $code if it exists. If it does not exist,
|
||||
* then the first two letters of $code is returned.
|
||||
*/
|
||||
public function format_code_lang( $code = '' ) {
|
||||
$code = strtolower( substr( $code, 0, 2 ) );
|
||||
$lang_codes = array(
|
||||
'aa' => __('Afar','complianz-terms-conditions'),
|
||||
'ab' => __('Abkhazian','complianz-terms-conditions'),
|
||||
'af' => __('Afrikaans','complianz-terms-conditions'),
|
||||
'ak' => __('Akan','complianz-terms-conditions'),
|
||||
'sq' => __('Albanian','complianz-terms-conditions'),
|
||||
'am' => __('Amharic','complianz-terms-conditions'),
|
||||
'ar' => __('Arabic','complianz-terms-conditions'),
|
||||
'an' => __('Aragonese','complianz-terms-conditions'),
|
||||
'hy' => __('Armenian','complianz-terms-conditions'),
|
||||
'as' => __('Assamese','complianz-terms-conditions'),
|
||||
'av' => __('Avaric','complianz-terms-conditions'),
|
||||
'ae' => __('Avestan','complianz-terms-conditions'),
|
||||
'ay' => __('Aymara','complianz-terms-conditions'),
|
||||
'az' => __('Azerbaijani','complianz-terms-conditions'),
|
||||
'ba' => __('Bashkir','complianz-terms-conditions'),
|
||||
'bm' => __('Bambara','complianz-terms-conditions'),
|
||||
'eu' => __('Basque','complianz-terms-conditions'),
|
||||
'be' => __('Belarusian','complianz-terms-conditions'),
|
||||
'bn' => __('Bengali','complianz-terms-conditions'),
|
||||
'bh' => __('Bihari','complianz-terms-conditions'),
|
||||
'bi' => __('Bislama','complianz-terms-conditions'),
|
||||
'bs' => __('Bosnian','complianz-terms-conditions'),
|
||||
'br' => __('Breton','complianz-terms-conditions'),
|
||||
'bg' => __('Bulgarian','complianz-terms-conditions'),
|
||||
'my' => __('Burmese','complianz-terms-conditions'),
|
||||
'ca' => __('Catalan; Valencian','complianz-terms-conditions'),
|
||||
'ch' => __('Chamorro','complianz-terms-conditions'),
|
||||
'ce' => __('Chechen','complianz-terms-conditions'),
|
||||
'zh' => __('Chinese','complianz-terms-conditions'),
|
||||
'cu' => __('Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic','complianz-terms-conditions'),
|
||||
'cv' => __('Chuvash','complianz-terms-conditions'),
|
||||
'kw' => __('Cornish','complianz-terms-conditions'),
|
||||
'co' => __('Corsican','complianz-terms-conditions'),
|
||||
'cr' => __('Cree','complianz-terms-conditions'),
|
||||
'cs' => __('Czech','complianz-terms-conditions'),
|
||||
'da' => __('Danish','complianz-terms-conditions'),
|
||||
'dv' => __('Divehi; Dhivehi; Maldivian','complianz-terms-conditions'),
|
||||
'nl' => __('Dutch','complianz-terms-conditions'),
|
||||
'dz' => __('Dzongkha','complianz-terms-conditions'),
|
||||
'en' => __('English','complianz-terms-conditions'),
|
||||
'eo' => __('Esperanto','complianz-terms-conditions'),
|
||||
'et' => __('Estonian','complianz-terms-conditions'),
|
||||
'ee' => __('Ewe','complianz-terms-conditions'),
|
||||
'fo' => __('Faroese','complianz-terms-conditions'),
|
||||
'fj' => __('Fijjian','complianz-terms-conditions'),
|
||||
'fi' => __('Finnish','complianz-terms-conditions'),
|
||||
'fr' => __('French','complianz-terms-conditions'),
|
||||
'fy' => __('Western Frisian','complianz-terms-conditions'),
|
||||
'ff' => __('Fulah','complianz-terms-conditions'),
|
||||
'ka' => __('Georgian','complianz-terms-conditions'),
|
||||
'de' => __('German','complianz-terms-conditions'),
|
||||
'gd' => __('Gaelic; Scottish Gaelic','complianz-terms-conditions'),
|
||||
'ga' => __('Irish','complianz-terms-conditions'),
|
||||
'gl' => __('Galician','complianz-terms-conditions'),
|
||||
'gv' => __('Manx','complianz-terms-conditions'),
|
||||
'el' => __('Greek, Modern','complianz-terms-conditions'),
|
||||
'gn' => __('Guarani','complianz-terms-conditions'),
|
||||
'gu' => __('Gujarati','complianz-terms-conditions'),
|
||||
'ht' => __('Haitian; Haitian Creole','complianz-terms-conditions'),
|
||||
'ha' => __('Hausa','complianz-terms-conditions'),
|
||||
'he' => __('Hebrew','complianz-terms-conditions'),
|
||||
'hz' => __('Herero','complianz-terms-conditions'),
|
||||
'hi' => __('Hindi','complianz-terms-conditions'),
|
||||
'ho' => __('Hiri Motu','complianz-terms-conditions'),
|
||||
'hu' => __('Hungarian','complianz-terms-conditions'),
|
||||
'ig' => __('Igbo','complianz-terms-conditions'),
|
||||
'is' => __('Icelandic','complianz-terms-conditions'),
|
||||
'io' => __('Ido','complianz-terms-conditions'),
|
||||
'ii' => __('Sichuan Yi','complianz-terms-conditions'),
|
||||
'iu' => __('Inuktitut','complianz-terms-conditions'),
|
||||
'ie' => __('Interlingue','complianz-terms-conditions'),
|
||||
'ia' => __('Interlingua (International Auxiliary Language Association)','complianz-terms-conditions'),
|
||||
'id' => __('Indonesian','complianz-terms-conditions'),
|
||||
'ik' => __('Inupiaq','complianz-terms-conditions'),
|
||||
'it' => __('Italian','complianz-terms-conditions'),
|
||||
'jv' => __('Javanese','complianz-terms-conditions'),
|
||||
'ja' => __('Japanese','complianz-terms-conditions'),
|
||||
'kl' => __('Kalaallisut; Greenlandic','complianz-terms-conditions'),
|
||||
'kn' => __('Kannada','complianz-terms-conditions'),
|
||||
'ks' => __('Kashmiri','complianz-terms-conditions'),
|
||||
'kr' => __('Kanuri','complianz-terms-conditions'),
|
||||
'kk' => __('Kazakh','complianz-terms-conditions'),
|
||||
'km' => __('Central Khmer','complianz-terms-conditions'),
|
||||
'ki' => __('Kikuyu; Gikuyu','complianz-terms-conditions'),
|
||||
'rw' => __('Kinyarwanda','complianz-terms-conditions'),
|
||||
'ky' => __('Kirghiz; Kyrgyz','complianz-terms-conditions'),
|
||||
'kv' => __('Komi','complianz-terms-conditions'),
|
||||
'kg' => __('Kongo','complianz-terms-conditions'),
|
||||
'ko' => __('Korean','complianz-terms-conditions'),
|
||||
'kj' => __('Kuanyama; Kwanyama','complianz-terms-conditions'),
|
||||
'ku' => __('Kurdish','complianz-terms-conditions'),
|
||||
'lo' => __('Lao','complianz-terms-conditions'),
|
||||
'la' => __('Latin','complianz-terms-conditions'),
|
||||
'lv' => __('Latvian','complianz-terms-conditions'),
|
||||
'li' => __('Limburgan; Limburger; Limburgish','complianz-terms-conditions'),
|
||||
'ln' => __('Lingala','complianz-terms-conditions'),
|
||||
'lt' => __('Lithuanian','complianz-terms-conditions'),
|
||||
'lb' => __('Luxembourgish; Letzeburgesch','complianz-terms-conditions'),
|
||||
'lu' => __('Luba-Katanga','complianz-terms-conditions'),
|
||||
'lg' => __('Ganda','complianz-terms-conditions'),
|
||||
'mk' => __('Macedonian','complianz-terms-conditions'),
|
||||
'mh' => __('Marshallese','complianz-terms-conditions'),
|
||||
'ml' => __('Malayalam','complianz-terms-conditions'),
|
||||
'mi' => __('Maori','complianz-terms-conditions'),
|
||||
'mr' => __('Marathi','complianz-terms-conditions'),
|
||||
'ms' => __('Malay','complianz-terms-conditions'),
|
||||
'mg' => __('Malagasy','complianz-terms-conditions'),
|
||||
'mt' => __('Maltese','complianz-terms-conditions'),
|
||||
'mo' => __('Moldavian','complianz-terms-conditions'),
|
||||
'mn' => __('Mongolian','complianz-terms-conditions'),
|
||||
'na' => __('Nauru','complianz-terms-conditions'),
|
||||
'nv' => __('Navajo; Navaho','complianz-terms-conditions'),
|
||||
'nr' => __('Ndebele, South; South Ndebele','complianz-terms-conditions'),
|
||||
'nd' => __('Ndebele, North; North Ndebele','complianz-terms-conditions'),
|
||||
'ng' => __('Ndonga','complianz-terms-conditions'),
|
||||
'ne' => __('Nepali','complianz-terms-conditions'),
|
||||
'nn' => __('Norwegian Nynorsk; Nynorsk, Norwegian','complianz-terms-conditions'),
|
||||
'nb' => __('Bokmål, Norwegian, Norwegian Bokmål','complianz-terms-conditions'),
|
||||
'no' => __('Norwegian','complianz-terms-conditions'),
|
||||
'ny' => __('Chichewa; Chewa; Nyanja','complianz-terms-conditions'),
|
||||
'oc' => __('Occitan, Provençal','complianz-terms-conditions'),
|
||||
'oj' => __('Ojibwa','complianz-terms-conditions'),
|
||||
'or' => __('Oriya','complianz-terms-conditions'),
|
||||
'om' => __('Oromo','complianz-terms-conditions'),
|
||||
'os' => __('Ossetian; Ossetic','complianz-terms-conditions'),
|
||||
'pa' => __('Panjabi; Punjabi','complianz-terms-conditions'),
|
||||
'fa' => __('Persian','complianz-terms-conditions'),
|
||||
'pi' => __('Pali','complianz-terms-conditions'),
|
||||
'pl' => __('Polish','complianz-terms-conditions'),
|
||||
'pt' => __('Portuguese','complianz-terms-conditions'),
|
||||
'ps' => __('Pushto','complianz-terms-conditions'),
|
||||
'qu' => __('Quechua','complianz-terms-conditions'),
|
||||
'rm' => __('Romansh','complianz-terms-conditions'),
|
||||
'ro' => __('Romanian','complianz-terms-conditions'),
|
||||
'rn' => __('Rundi','complianz-terms-conditions'),
|
||||
'ru' => __('Russian','complianz-terms-conditions'),
|
||||
'sg' => __('Sango','complianz-terms-conditions'),
|
||||
'sa' => __('Sanskrit','complianz-terms-conditions'),
|
||||
'sr' => __('Serbian','complianz-terms-conditions'),
|
||||
'hr' => __('Croatian','complianz-terms-conditions'),
|
||||
'si' => __('Sinhala; Sinhalese','complianz-terms-conditions'),
|
||||
'sk' => __('Slovak','complianz-terms-conditions'),
|
||||
'sl' => __('Slovenian','complianz-terms-conditions'),
|
||||
'se' => __('Northern Sami','complianz-terms-conditions'),
|
||||
'sm' => __('Samoan','complianz-terms-conditions'),
|
||||
'sn' => __('Shona','complianz-terms-conditions'),
|
||||
'sd' => __('Sindhi','complianz-terms-conditions'),
|
||||
'so' => __('Somali','complianz-terms-conditions'),
|
||||
'st' => __('Sotho, Southern','complianz-terms-conditions'),
|
||||
'es' => __('Spanish; Castilian','complianz-terms-conditions'),
|
||||
'sc' => __('Sardinian','complianz-terms-conditions'),
|
||||
'ss' => __('Swati','complianz-terms-conditions'),
|
||||
'su' => __('Sundanese','complianz-terms-conditions'),
|
||||
'sw' => __('Swahili','complianz-terms-conditions'),
|
||||
'sv' => __('Swedish','complianz-terms-conditions'),
|
||||
'ty' => __('Tahitian','complianz-terms-conditions'),
|
||||
'ta' => __('Tamil','complianz-terms-conditions'),
|
||||
'tt' => __('Tatar','complianz-terms-conditions'),
|
||||
'te' => __('Telugu','complianz-terms-conditions'),
|
||||
'tg' => __('Tajik','complianz-terms-conditions'),
|
||||
'tl' => __('Tagalog','complianz-terms-conditions'),
|
||||
'th' => __('Thai','complianz-terms-conditions'),
|
||||
'bo' => __('Tibetan','complianz-terms-conditions'),
|
||||
'ti' => __('Tigrinya','complianz-terms-conditions'),
|
||||
'to' => __('Tonga (Tonga Islands)','complianz-terms-conditions'),
|
||||
'tn' => __('Tswana','complianz-terms-conditions'),
|
||||
'ts' => __('Tsonga','complianz-terms-conditions'),
|
||||
'tk' => __('Turkmen','complianz-terms-conditions'),
|
||||
'tr' => __('Turkish','complianz-terms-conditions'),
|
||||
'tw' => __('Twi','complianz-terms-conditions'),
|
||||
'ug' => __('Uighur; Uyghur','complianz-terms-conditions'),
|
||||
'uk' => __('Ukrainian','complianz-terms-conditions'),
|
||||
'ur' => __('Urdu','complianz-terms-conditions'),
|
||||
'uz' => __('Uzbek','complianz-terms-conditions'),
|
||||
've' => __('Venda','complianz-terms-conditions'),
|
||||
'vi' => __('Vietnamese','complianz-terms-conditions'),
|
||||
'vo' => __('Volapük','complianz-terms-conditions'),
|
||||
'cy' => __('Welsh','complianz-terms-conditions'),
|
||||
'wa' => __('Walloon','complianz-terms-conditions'),
|
||||
'wo' => __('Wolof','complianz-terms-conditions'),
|
||||
'xh' => __('Xhosa','complianz-terms-conditions'),
|
||||
'yi' => __('Yiddish','complianz-terms-conditions'),
|
||||
'yo' => __('Yoruba','complianz-terms-conditions'),
|
||||
'za' => __('Zhuang; Chuang','complianz-terms-conditions'),
|
||||
'zu' => __('Zulu','complianz-terms-conditions'),
|
||||
);
|
||||
|
||||
|
||||
return strtr( $code, $lang_codes );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
} //class closure
|
||||
@@ -0,0 +1,332 @@
|
||||
<?php
|
||||
$this->eu_countries = array(
|
||||
"BE",
|
||||
"BG",
|
||||
"CY",
|
||||
"DK",
|
||||
"DE",
|
||||
"EE",
|
||||
"FI",
|
||||
"FR",
|
||||
"GR",
|
||||
"HU",
|
||||
"IE",
|
||||
"IT",
|
||||
"IS",
|
||||
"HR",
|
||||
"LV",
|
||||
"LT",
|
||||
"LI",
|
||||
"LU",
|
||||
"MT",
|
||||
"NL",
|
||||
"NO",
|
||||
"AT",
|
||||
"PL",
|
||||
"PT",
|
||||
"RO",
|
||||
"SK",
|
||||
"SI",
|
||||
"ES",
|
||||
"CZ",
|
||||
"VL",
|
||||
"SE",
|
||||
);
|
||||
|
||||
$this->regions = array(
|
||||
'us' => array(
|
||||
'label' => __( 'US', 'complianz-terms-conditions' ),
|
||||
'countries' => array( 'US' ),
|
||||
'law' => __( "CCPA", 'complianz-terms-conditions' ),
|
||||
'type' => 'optout',
|
||||
),
|
||||
'ca' => array(
|
||||
'label' => __( 'CA', 'complianz-terms-conditions' ),
|
||||
'countries' => array( 'CA' ),
|
||||
'law' => __( "PIPEDA", 'complianz-terms-conditions' ),
|
||||
'type' => 'optout',
|
||||
),
|
||||
'eu' => array(
|
||||
'label' => __( 'EU', 'complianz-terms-conditions' ),
|
||||
'countries' => $this->eu_countries,
|
||||
'law' => __( "GDPR", 'complianz-terms-conditions' ),
|
||||
'type' => 'optin',
|
||||
),
|
||||
'uk' => array(
|
||||
'label' => __( 'UK', 'complianz-terms-conditions' ),
|
||||
'countries' => array( 'GB' ),
|
||||
'law' => __( "UK-GDPR", 'complianz-terms-conditions' ),
|
||||
'type' => 'optinstats',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
$this->countries = array
|
||||
(
|
||||
'AF' => __( 'Afghanistan' , 'complianz-terms-conditions' ),
|
||||
'AX' => __( 'Aland Islands' , 'complianz-terms-conditions' ),
|
||||
'AL' => __( 'Albania' , 'complianz-terms-conditions' ),
|
||||
'DZ' => __( 'Algeria' , 'complianz-terms-conditions' ),
|
||||
'AS' => __( 'American Samoa' , 'complianz-terms-conditions' ),
|
||||
'AD' => __( 'Andorra' , 'complianz-terms-conditions' ),
|
||||
'AO' => __( 'Angola' , 'complianz-terms-conditions' ),
|
||||
'AI' => __( 'Anguilla' , 'complianz-terms-conditions' ),
|
||||
'AQ' => __( 'Antarctica' , 'complianz-terms-conditions' ),
|
||||
'AG' => __( 'Antigua And Barbuda' , 'complianz-terms-conditions' ),
|
||||
'AR' => __( 'Argentina' , 'complianz-terms-conditions' ),
|
||||
'AM' => __( 'Armenia' , 'complianz-terms-conditions' ),
|
||||
'AW' => __( 'Aruba' , 'complianz-terms-conditions' ),
|
||||
'AU' => __( 'Australia' , 'complianz-terms-conditions' ),
|
||||
'AT' => __( 'Austria' , 'complianz-terms-conditions' ),
|
||||
'AZ' => __( 'Azerbaijan' , 'complianz-terms-conditions' ),
|
||||
'BS' => __( 'Bahamas' , 'complianz-terms-conditions' ),
|
||||
'BH' => __( 'Bahrain' , 'complianz-terms-conditions' ),
|
||||
'BD' => __( 'Bangladesh' , 'complianz-terms-conditions' ),
|
||||
'BB' => __( 'Barbados' , 'complianz-terms-conditions' ),
|
||||
'BY' => __( 'Belarus' , 'complianz-terms-conditions' ),
|
||||
'BE' => __( 'Belgium' , 'complianz-terms-conditions' ),
|
||||
'BZ' => __( 'Belize' , 'complianz-terms-conditions' ),
|
||||
'BJ' => __( 'Benin' , 'complianz-terms-conditions' ),
|
||||
'BM' => __( 'Bermuda' , 'complianz-terms-conditions' ),
|
||||
'BT' => __( 'Bhutan' , 'complianz-terms-conditions' ),
|
||||
'BO' => __( 'Bolivia' , 'complianz-terms-conditions' ),
|
||||
'BA' => __( 'Bosnia And Herzegovina' , 'complianz-terms-conditions' ),
|
||||
'BW' => __( 'Botswana' , 'complianz-terms-conditions' ),
|
||||
'BV' => __( 'Bouvet Island' , 'complianz-terms-conditions' ),
|
||||
'BR' => __( 'Brazil' , 'complianz-terms-conditions' ),
|
||||
'IO' => __( 'British Indian Ocean Territory' , 'complianz-terms-conditions' ),
|
||||
'BN' => __( 'Brunei Darussalam' , 'complianz-terms-conditions' ),
|
||||
'BG' => __( 'Bulgaria' , 'complianz-terms-conditions' ),
|
||||
'BF' => __( 'Burkina Faso' , 'complianz-terms-conditions' ),
|
||||
'BI' => __( 'Burundi' , 'complianz-terms-conditions' ),
|
||||
'KH' => __( 'Cambodia' , 'complianz-terms-conditions' ),
|
||||
'CM' => __( 'Cameroon' , 'complianz-terms-conditions' ),
|
||||
'CA' => __( 'Canada' , 'complianz-terms-conditions' ),
|
||||
'CV' => __( 'Cape Verde' , 'complianz-terms-conditions' ),
|
||||
'KY' => __( 'Cayman Islands' , 'complianz-terms-conditions' ),
|
||||
'CF' => __( 'Central African Republic' , 'complianz-terms-conditions' ),
|
||||
'TD' => __( 'Chad' , 'complianz-terms-conditions' ),
|
||||
'CL' => __( 'Chile' , 'complianz-terms-conditions' ),
|
||||
'CN' => __( 'China' , 'complianz-terms-conditions' ),
|
||||
'CX' => __( 'Christmas Island' , 'complianz-terms-conditions' ),
|
||||
'CC' => __( 'Cocos (Keeling) Islands' , 'complianz-terms-conditions' ),
|
||||
'CO' => __( 'Colombia' , 'complianz-terms-conditions' ),
|
||||
'KM' => __( 'Comoros' , 'complianz-terms-conditions' ),
|
||||
'CG' => __( 'Congo' , 'complianz-terms-conditions' ),
|
||||
'CD' => __( 'Congo, Democratic Republic' , 'complianz-terms-conditions' ),
|
||||
'CK' => __( 'Cook Islands' , 'complianz-terms-conditions' ),
|
||||
'CR' => __( 'Costa Rica' , 'complianz-terms-conditions' ),
|
||||
'CI' => __( 'Cote D\'Ivoire' , 'complianz-terms-conditions' ),
|
||||
'HR' => __( 'Croatia' , 'complianz-terms-conditions' ),
|
||||
'CU' => __( 'Cuba' , 'complianz-terms-conditions' ),
|
||||
'CY' => __( 'Cyprus' , 'complianz-terms-conditions' ),
|
||||
'CZ' => __( 'Czech Republic' , 'complianz-terms-conditions' ),
|
||||
'DK' => __( 'Denmark' , 'complianz-terms-conditions' ),
|
||||
'DJ' => __( 'Djibouti' , 'complianz-terms-conditions' ),
|
||||
'DM' => __( 'Dominica' , 'complianz-terms-conditions' ),
|
||||
'DO' => __( 'Dominican Republic' , 'complianz-terms-conditions' ),
|
||||
'EC' => __( 'Ecuador' , 'complianz-terms-conditions' ),
|
||||
'EG' => __( 'Egypt' , 'complianz-terms-conditions' ),
|
||||
'SV' => __( 'El Salvador' , 'complianz-terms-conditions' ),
|
||||
'GB-EW' => __( 'England and Wales' , 'complianz-terms-conditions' ),
|
||||
'GQ' => __( 'Equatorial Guinea' , 'complianz-terms-conditions' ),
|
||||
'ER' => __( 'Eritrea' , 'complianz-terms-conditions' ),
|
||||
'EE' => __( 'Estonia' , 'complianz-terms-conditions' ),
|
||||
'ET' => __( 'Ethiopia' , 'complianz-terms-conditions' ),
|
||||
'FK' => __( 'Falkland Islands (Malvinas)' , 'complianz-terms-conditions' ),
|
||||
'FO' => __( 'Faroe Islands' , 'complianz-terms-conditions' ),
|
||||
'FJ' => __( 'Fiji' , 'complianz-terms-conditions' ),
|
||||
'FI' => __( 'Finland' , 'complianz-terms-conditions' ),
|
||||
'FR' => __( 'France' , 'complianz-terms-conditions' ),
|
||||
'GF' => __( 'French Guiana' , 'complianz-terms-conditions' ),
|
||||
'PF' => __( 'French Polynesia' , 'complianz-terms-conditions' ),
|
||||
'TF' => __( 'French Southern Territories' , 'complianz-terms-conditions' ),
|
||||
'GA' => __( 'Gabon' , 'complianz-terms-conditions' ),
|
||||
'GM' => __( 'Gambia' , 'complianz-terms-conditions' ),
|
||||
'GE' => __( 'Georgia' , 'complianz-terms-conditions' ),
|
||||
'DE' => __( 'Germany' , 'complianz-terms-conditions' ),
|
||||
'GH' => __( 'Ghana' , 'complianz-terms-conditions' ),
|
||||
'GI' => __( 'Gibraltar' , 'complianz-terms-conditions' ),
|
||||
'GR' => __( 'Greece' , 'complianz-terms-conditions' ),
|
||||
'GL' => __( 'Greenland' , 'complianz-terms-conditions' ),
|
||||
'GD' => __( 'Grenada' , 'complianz-terms-conditions' ),
|
||||
'GP' => __( 'Guadeloupe' , 'complianz-terms-conditions' ),
|
||||
'GU' => __( 'Guam' , 'complianz-terms-conditions' ),
|
||||
'GT' => __( 'Guatemala' , 'complianz-terms-conditions' ),
|
||||
'GG' => __( 'Guernsey' , 'complianz-terms-conditions' ),
|
||||
'GN' => __( 'Guinea' , 'complianz-terms-conditions' ),
|
||||
'GW' => __( 'Guinea-Bissau' , 'complianz-terms-conditions' ),
|
||||
'GY' => __( 'Guyana' , 'complianz-terms-conditions' ),
|
||||
'HT' => __( 'Haiti' , 'complianz-terms-conditions' ),
|
||||
'HM' => __( 'Heard Island & Mcdonald Islands' , 'complianz-terms-conditions' ),
|
||||
'VA' => __( 'Holy See (Vatican City State)' , 'complianz-terms-conditions' ),
|
||||
'HN' => __( 'Honduras' , 'complianz-terms-conditions' ),
|
||||
'HK' => __( 'Hong Kong' , 'complianz-terms-conditions' ),
|
||||
'HU' => __( 'Hungary' , 'complianz-terms-conditions' ),
|
||||
'IS' => __( 'Iceland' , 'complianz-terms-conditions' ),
|
||||
'IN' => __( 'India' , 'complianz-terms-conditions' ),
|
||||
'ID' => __( 'Indonesia' , 'complianz-terms-conditions' ),
|
||||
'IR' => __( 'Iran, Islamic Republic Of' , 'complianz-terms-conditions' ),
|
||||
'IQ' => __( 'Iraq' , 'complianz-terms-conditions' ),
|
||||
'IE' => __( 'Ireland' , 'complianz-terms-conditions' ),
|
||||
'IM' => __( 'Isle Of Man' , 'complianz-terms-conditions' ),
|
||||
'IL' => __( 'Israel' , 'complianz-terms-conditions' ),
|
||||
'IT' => __( 'Italy' , 'complianz-terms-conditions' ),
|
||||
'JM' => __( 'Jamaica' , 'complianz-terms-conditions' ),
|
||||
'JP' => __( 'Japan' , 'complianz-terms-conditions' ),
|
||||
'JE' => __( 'Jersey' , 'complianz-terms-conditions' ),
|
||||
'JO' => __( 'Jordan' , 'complianz-terms-conditions' ),
|
||||
'KZ' => __( 'Kazakhstan' , 'complianz-terms-conditions' ),
|
||||
'KE' => __( 'Kenya' , 'complianz-terms-conditions' ),
|
||||
'KI' => __( 'Kiribati' , 'complianz-terms-conditions' ),
|
||||
'KR' => __( 'Korea' , 'complianz-terms-conditions' ),
|
||||
'KW' => __( 'Kuwait' , 'complianz-terms-conditions' ),
|
||||
'KG' => __( 'Kyrgyzstan' , 'complianz-terms-conditions' ),
|
||||
'LA' => __( 'Lao People\'s Democratic Republic' , 'complianz-terms-conditions' ),
|
||||
'LV' => __( 'Latvia' , 'complianz-terms-conditions' ),
|
||||
'LB' => __( 'Lebanon' , 'complianz-terms-conditions' ),
|
||||
'LS' => __( 'Lesotho' , 'complianz-terms-conditions' ),
|
||||
'LR' => __( 'Liberia' , 'complianz-terms-conditions' ),
|
||||
'LY' => __( 'Libyan Arab Jamahiriya' , 'complianz-terms-conditions' ),
|
||||
'LI' => __( 'Liechtenstein' , 'complianz-terms-conditions' ),
|
||||
'LT' => __( 'Lithuania' , 'complianz-terms-conditions' ),
|
||||
'LU' => __( 'Luxembourg' , 'complianz-terms-conditions' ),
|
||||
'MO' => __( 'Macao' , 'complianz-terms-conditions' ),
|
||||
'MK' => __( 'North Macedonia' , 'complianz-terms-conditions' ),
|
||||
'MG' => __( 'Madagascar' , 'complianz-terms-conditions' ),
|
||||
'MW' => __( 'Malawi' , 'complianz-terms-conditions' ),
|
||||
'MY' => __( 'Malaysia' , 'complianz-terms-conditions' ),
|
||||
'MV' => __( 'Maldives' , 'complianz-terms-conditions' ),
|
||||
'ML' => __( 'Mali' , 'complianz-terms-conditions' ),
|
||||
'MT' => __( 'Malta' , 'complianz-terms-conditions' ),
|
||||
'MH' => __( 'Marshall Islands' , 'complianz-terms-conditions' ),
|
||||
'MQ' => __( 'Martinique' , 'complianz-terms-conditions' ),
|
||||
'MR' => __( 'Mauritania' , 'complianz-terms-conditions' ),
|
||||
'MU' => __( 'Mauritius' , 'complianz-terms-conditions' ),
|
||||
'YT' => __( 'Mayotte' , 'complianz-terms-conditions' ),
|
||||
'MX' => __( 'Mexico' , 'complianz-terms-conditions' ),
|
||||
'FM' => __( 'Micronesia, Federated States Of' , 'complianz-terms-conditions' ),
|
||||
'MD' => __( 'Moldova' , 'complianz-terms-conditions' ),
|
||||
'MC' => __( 'Monaco' , 'complianz-terms-conditions' ),
|
||||
'MN' => __( 'Mongolia' , 'complianz-terms-conditions' ),
|
||||
'ME' => __( 'Montenegro' , 'complianz-terms-conditions' ),
|
||||
'MS' => __( 'Montserrat' , 'complianz-terms-conditions' ),
|
||||
'MA' => __( 'Morocco' , 'complianz-terms-conditions' ),
|
||||
'MZ' => __( 'Mozambique' , 'complianz-terms-conditions' ),
|
||||
'MM' => __( 'Myanmar' , 'complianz-terms-conditions' ),
|
||||
'NA' => __( 'Namibia' , 'complianz-terms-conditions' ),
|
||||
'NR' => __( 'Nauru' , 'complianz-terms-conditions' ),
|
||||
'NP' => __( 'Nepal' , 'complianz-terms-conditions' ),
|
||||
'NL' => __( 'The Netherlands' , 'complianz-terms-conditions' ),
|
||||
'AN' => __( 'Netherlands Antilles' , 'complianz-terms-conditions' ),
|
||||
'NC' => __( 'New Caledonia' , 'complianz-terms-conditions' ),
|
||||
'NZ' => __( 'New Zealand' , 'complianz-terms-conditions' ),
|
||||
'NI' => __( 'Nicaragua' , 'complianz-terms-conditions' ),
|
||||
'NE' => __( 'Niger' , 'complianz-terms-conditions' ),
|
||||
'NG' => __( 'Nigeria' , 'complianz-terms-conditions' ),
|
||||
'NU' => __( 'Niue' , 'complianz-terms-conditions' ),
|
||||
'NF' => __( 'Norfolk Island' , 'complianz-terms-conditions' ),
|
||||
'GB-NIR' => __( 'Northern Ireland' , 'complianz-terms-conditions' ),
|
||||
'MP' => __( 'Northern Mariana Islands' , 'complianz-terms-conditions' ),
|
||||
'NO' => __( 'Norway' , 'complianz-terms-conditions' ),
|
||||
'OM' => __( 'Oman' , 'complianz-terms-conditions' ),
|
||||
'PK' => __( 'Pakistan' , 'complianz-terms-conditions' ),
|
||||
'PW' => __( 'Palau' , 'complianz-terms-conditions' ),
|
||||
'PS' => __( 'Palestinian Territory, Occupied' , 'complianz-terms-conditions' ),
|
||||
'PA' => __( 'Panama' , 'complianz-terms-conditions' ),
|
||||
'PG' => __( 'Papua New Guinea' , 'complianz-terms-conditions' ),
|
||||
'PY' => __( 'Paraguay' , 'complianz-terms-conditions' ),
|
||||
'PE' => __( 'Peru' , 'complianz-terms-conditions' ),
|
||||
'PH' => __( 'Philippines' , 'complianz-terms-conditions' ),
|
||||
'PN' => __( 'Pitcairn' , 'complianz-terms-conditions' ),
|
||||
'PL' => __( 'Poland' , 'complianz-terms-conditions' ),
|
||||
'PT' => __( 'Portugal' , 'complianz-terms-conditions' ),
|
||||
'PR' => __( 'Puerto Rico' , 'complianz-terms-conditions' ),
|
||||
'QA' => __( 'Qatar' , 'complianz-terms-conditions' ),
|
||||
'RE' => __( 'Reunion' , 'complianz-terms-conditions' ),
|
||||
'RO' => __( 'Romania' , 'complianz-terms-conditions' ),
|
||||
'RU' => __( 'Russian Federation' , 'complianz-terms-conditions' ),
|
||||
'RW' => __( 'Rwanda' , 'complianz-terms-conditions' ),
|
||||
'BL' => __( 'Saint Barthelemy' , 'complianz-terms-conditions' ),
|
||||
'SH' => __( 'Saint Helena' , 'complianz-terms-conditions' ),
|
||||
'KN' => __( 'Saint Kitts And Nevis' , 'complianz-terms-conditions' ),
|
||||
'LC' => __( 'Saint Lucia' , 'complianz-terms-conditions' ),
|
||||
'MF' => __( 'Saint Martin' , 'complianz-terms-conditions' ),
|
||||
'PM' => __( 'Saint Pierre And Miquelon' , 'complianz-terms-conditions' ),
|
||||
'VC' => __( 'Saint Vincent And Grenadines' , 'complianz-terms-conditions' ),
|
||||
'WS' => __( 'Samoa' , 'complianz-terms-conditions' ),
|
||||
'SM' => __( 'San Marino' , 'complianz-terms-conditions' ),
|
||||
'ST' => __( 'Sao Tome And Principe' , 'complianz-terms-conditions' ),
|
||||
'SA' => __( 'Saudi Arabia' , 'complianz-terms-conditions' ),
|
||||
'GB-SCT' => __( 'Scotland' , 'complianz-terms-conditions'),
|
||||
'SN' => __( 'Senegal' , 'complianz-terms-conditions' ),
|
||||
'RS' => __( 'Serbia' , 'complianz-terms-conditions' ),
|
||||
'SC' => __( 'Seychelles' , 'complianz-terms-conditions' ),
|
||||
'SL' => __( 'Sierra Leone' , 'complianz-terms-conditions' ),
|
||||
'SG' => __( 'Singapore' , 'complianz-terms-conditions' ),
|
||||
'SK' => __( 'Slovakia' , 'complianz-terms-conditions' ),
|
||||
'SI' => __( 'Slovenia' , 'complianz-terms-conditions' ),
|
||||
'SB' => __( 'Solomon Islands' , 'complianz-terms-conditions' ),
|
||||
'SO' => __( 'Somalia' , 'complianz-terms-conditions' ),
|
||||
'ZA' => __( 'South Africa' , 'complianz-terms-conditions' ),
|
||||
'GS' => __( 'South Georgia And Sandwich Isl.' , 'complianz-terms-conditions' ),
|
||||
'ES' => __( 'Spain' , 'complianz-terms-conditions' ),
|
||||
'LK' => __( 'Sri Lanka' , 'complianz-terms-conditions' ),
|
||||
'SD' => __( 'Sudan' , 'complianz-terms-conditions' ),
|
||||
'SR' => __( 'Suriname' , 'complianz-terms-conditions' ),
|
||||
'SJ' => __( 'Svalbard And Jan Mayen' , 'complianz-terms-conditions' ),
|
||||
'SZ' => __( 'Swaziland' , 'complianz-terms-conditions' ),
|
||||
'SE' => __( 'Sweden' , 'complianz-terms-conditions' ),
|
||||
'CH' => __( 'Switzerland' , 'complianz-terms-conditions' ),
|
||||
'SY' => __( 'Syrian Arab Republic' , 'complianz-terms-conditions' ),
|
||||
'TW' => __( 'Taiwan' , 'complianz-terms-conditions' ),
|
||||
'TJ' => __( 'Tajikistan' , 'complianz-terms-conditions' ),
|
||||
'TZ' => __( 'Tanzania' , 'complianz-terms-conditions' ),
|
||||
'TH' => __( 'Thailand' , 'complianz-terms-conditions' ),
|
||||
'TL' => __( 'Timor-Leste' , 'complianz-terms-conditions' ),
|
||||
'TG' => __( 'Togo' , 'complianz-terms-conditions' ),
|
||||
'TK' => __( 'Tokelau' , 'complianz-terms-conditions' ),
|
||||
'TO' => __( 'Tonga' , 'complianz-terms-conditions' ),
|
||||
'TT' => __( 'Trinidad And Tobago' , 'complianz-terms-conditions' ),
|
||||
'TN' => __( 'Tunisia' , 'complianz-terms-conditions' ),
|
||||
'TR' => __( 'Turkey' , 'complianz-terms-conditions' ),
|
||||
'TM' => __( 'Turkmenistan' , 'complianz-terms-conditions' ),
|
||||
'TC' => __( 'Turks And Caicos Islands' , 'complianz-terms-conditions' ),
|
||||
'TV' => __( 'Tuvalu' , 'complianz-terms-conditions' ),
|
||||
'UG' => __( 'Uganda' , 'complianz-terms-conditions' ),
|
||||
'UA' => __( 'Ukraine' , 'complianz-terms-conditions' ),
|
||||
'AE' => __( 'United Arab Emirates' , 'complianz-terms-conditions' ),
|
||||
'GB' => __( 'United Kingdom' , 'complianz-terms-conditions' ),
|
||||
'US' => __( 'United States' , 'complianz-terms-conditions' ),
|
||||
'UM' => __( 'United States Outlying Islands' , 'complianz-terms-conditions' ),
|
||||
'UY' => __( 'Uruguay' , 'complianz-terms-conditions' ),
|
||||
'UZ' => __( 'Uzbekistan' , 'complianz-terms-conditions' ),
|
||||
'VU' => __( 'Vanuatu' , 'complianz-terms-conditions' ),
|
||||
'VE' => __( 'Venezuela' , 'complianz-terms-conditions' ),
|
||||
'VN' => __( 'Viet Nam' , 'complianz-terms-conditions' ),
|
||||
'VG' => __( 'Virgin Islands, British' , 'complianz-terms-conditions' ),
|
||||
'VI' => __( 'Virgin Islands, U.S.' , 'complianz-terms-conditions' ),
|
||||
'WF' => __( 'Wallis And Futuna' , 'complianz-terms-conditions'),
|
||||
'EH' => __( 'Western Sahara' , 'complianz-terms-conditions' ),
|
||||
'YE' => __( 'Yemen' , 'complianz-terms-conditions' ),
|
||||
'ZM' => __( 'Zambia' , 'complianz-terms-conditions' ),
|
||||
'ZW' => __( 'Zimbabwe' , 'complianz-terms-conditions' ),
|
||||
);
|
||||
|
||||
/**
|
||||
* Used in dropdown in cookies editor in wizard. Only major languages to limit translatable strings
|
||||
*/
|
||||
|
||||
$this->language_codes = array(
|
||||
'en' => __( 'English', 'complianz-terms-conditions' ),
|
||||
'da' => __( 'Danish', 'complianz-terms-conditions' ),
|
||||
'de' => __( 'German', 'complianz-terms-conditions' ),
|
||||
'el' => __( 'Greek', 'complianz-terms-conditions' ),
|
||||
'es' => __( 'Spanish', 'complianz-terms-conditions' ),
|
||||
'et' => __( 'Estonian', 'complianz-terms-conditions' ),
|
||||
'fr' => __( 'French', 'complianz-terms-conditions' ),
|
||||
'it' => __( 'Italian', 'complianz-terms-conditions' ),
|
||||
'nl' => __( 'Dutch', 'complianz-terms-conditions' ),
|
||||
'no' => __( 'Norwegian', 'complianz-terms-conditions' ),
|
||||
'sv' => __( 'Swedish', 'complianz-terms-conditions' ),
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
defined('ABSPATH') or die("you do not have access to this page!");
|
||||
|
||||
$this->pages['all'] = array(
|
||||
'terms-conditions' => array(
|
||||
'title' => __("Terms and Conditions", 'complianz-terms-conditions'),
|
||||
'public' => true,
|
||||
'document_elements' => '',
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
@@ -0,0 +1,564 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
|
||||
|
||||
$this->pages['all']['terms-conditions']['document_elements'] = array(
|
||||
array(
|
||||
'content' => '<i>' . sprintf( _x( 'The Terms and Conditions were last updated on %s', 'Legal document', 'complianz-terms-conditions' ), '[checked_date]' ) .'</i>',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => _x( 'Introduction', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'These Terms and conditions apply to this website and to the transactions related to our products and services.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You may be bound by additional contracts related to your relationship with us or any products or services that you receive from us.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'If any provisions of the additional contracts conflict with any provisions of these Terms, the provisions of these additional contracts will control and prevail.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Binding
|
||||
array(
|
||||
'title' => _x( 'Binding', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'By registering with, accessing, or otherwise using this website, you hereby agree to be bound by these Terms and conditions set forth below.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'The mere use of this website implies the knowledge and acceptance of these Terms and conditions.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'In some particular cases, we can also ask you to explicitly agree.',
|
||||
'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Electronic communication
|
||||
array(
|
||||
'title' => _x( 'Electronic communication', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'By using this website or communicating with us by electronic means, you agree and acknowledge that we may communicate with you electronically on our website or by sending an email to you, and you agree that all agreements, notices, disclosures, and other communications that we provide to you electronically satisfy any legal requirement, including but not limited to the requirement that such communications should be in writing.',
|
||||
'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'electronic_communication' => 'yes'
|
||||
),
|
||||
),
|
||||
|
||||
// Intellectual property -> %s als subtitel en dynamisch entry text?
|
||||
array(
|
||||
'title' => _x( 'Intellectual property', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We or our licensors own and control all of the copyright and other intellectual property rights in the website and the data, information, and other resources displayed by or accessible within the website.',
|
||||
'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'subtitle' => _x( 'All the rights are reserved', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Unless specific content dictates otherwise, you are not granted a license or any other right under Copyright, Trademark, Patent, or other Intellectual Property Rights.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'This means that you will not use, copy, reproduce, perform, display, distribute, embed into any electronic medium, alter, reverse engineer, decompile, transfer, download, transmit, monetize, sell, market, or commercialize any resources on this website in any form, without our prior written permission, except and only insofar as otherwise stipulated in regulations of mandatory law (such as the right to quote).',
|
||||
'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'about_copyright' => 'allrights'
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
array(
|
||||
'subtitle' => _x( 'No rights are reserved', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Copying, distributing, and any other use of these materials is permitted without our written permission.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'about_copyright' => 'norights' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'subtitle' => _x( 'Creative Commons', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf( _x( 'The content on this website is available under a %s License, unless specified otherwise.', 'Legal document',
|
||||
'complianz-terms-conditions' ), '[about_copyright]' ), 'callback_condition' => array(
|
||||
'cmplz_tcf_creative_commons'
|
||||
),
|
||||
),
|
||||
|
||||
// Newsletter
|
||||
array(
|
||||
'title' => _x( 'Newsletter', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Notwithstanding the foregoing, you may forward our newsletter in the electronic form to others who may be interested in visiting our website.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'newsletter_communication' => 'yes'
|
||||
),
|
||||
),
|
||||
|
||||
// Third-party property
|
||||
array(
|
||||
'title' => _x( 'Third-party property', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Our website may include hyperlinks or other references to other party’s websites.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We do not monitor or review the content of other party’s websites which are linked to from this website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Products or services offered by other websites shall be subject to the applicable Terms and Conditions of those third parties.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Opinions expressed or material appearing on those websites are not necessarily shared or endorsed by us.', 'Legal document', 'complianz-terms-conditions' )
|
||||
),
|
||||
array(
|
||||
'content' => _x( 'We will not be responsible for any privacy practices or content of these sites.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You bear all risks associated with the use of these websites and any related third-party services.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We will not accept any responsibility for any loss or damage in whatever manner, however caused, resulting from your disclosure to third parties of personal information.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Responsible use
|
||||
array(
|
||||
'title' => _x( 'Responsible use', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'By visiting our website, you agree to use it only for the purposes intended and as permitted by these Terms, any additional contracts with us, and applicable laws, regulations, and generally accepted online practices and industry guidelines.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You must not use our website or services to use, publish or distribute any material which consists of (or is linked to) malicious computer software; use data collected from our website for any direct marketing activity, or conduct any systematic or automated data collection activities on or in relation to our website.', 'Legal document', 'complianz-terms-conditions' )
|
||||
),
|
||||
array(
|
||||
'content' => _x( 'Engaging in any activity that causes, or may cause, damage to the website or that interferes with the performance, availability, or accessibility of the website is strictly prohibited.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Registration
|
||||
array(
|
||||
'title' => _x( 'Registration', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'You may register for an account with our website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'During this process, you may be required to choose a password.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You are responsible for maintaining the confidentiality of passwords and account information and agree not to share your passwords, account information, or secured access to our website or services with any other person.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You must not allow any other person to use your account to access the website because you are responsible for all activities that occur through the use of your passwords or accounts.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You must notify us immediately if you become aware of any disclosure of your password.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'account_content' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'After account termination, you will not attempt to register a new account without our permission.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'account_content' => 'yes' ),
|
||||
),
|
||||
|
||||
// Refund and return policy
|
||||
array(
|
||||
'title' => _x( 'Refund and Return policy', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
array(
|
||||
'subtitle' => _x( 'Right of withdrawal', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'You have the right to withdraw from this contract within %s days without giving any reason.', 'Legal document', 'complianz-terms-conditions' ), '[refund_period]'),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
array(
|
||||
'content' => sprintf(_x( 'The withdrawal period will expire after %s days from the day of the conclusion of the contract.', 'Legal document', 'complianz-terms-conditions' ), '[refund_period]'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
),
|
||||
'callback_condition' => 'cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'The withdrawal period will expire after %s days from the day on which you acquire, or a third-party other than the carrier and indicated by you acquires, physical possession of the goods.', 'Legal document', 'complianz-terms-conditions' ), '[refund_period]'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'about_returns' => 'webshop'
|
||||
),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'The withdrawal period will expire after %s days from the day on which you acquire, or a third-party other than the carrier and indicated by you acquires, physical possession of the last good, or physical possession of the last lot or piece', 'Legal document', 'complianz-terms-conditions' ), '[refund_period]'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'about_returns' => 'multiples'
|
||||
),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'The withdrawal period will expire after %s days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the first good', 'Legal document', 'complianz-terms-conditions' ), '[refund_period]'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'about_returns' => 'subscription'
|
||||
),
|
||||
),
|
||||
|
||||
//PDF
|
||||
array(
|
||||
'content' => _x( 'To exercise the right of withdrawal, you must inform us of your decision to withdraw from this contract by an unequivocal statement (for example a letter sent by post, fax, or email).','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Our contact details can be found below.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
sprintf(_x( 'You may use the attached model %swithdrawal form%s, but it is not obligatory.','Legal document', 'complianz-terms-conditions' ), '<a target="_blank" href="[withdrawal_form_link]">', '</a>'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'if_returns_custom' => 'no',
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
array(
|
||||
'content' => _x( 'To exercise the right of withdrawal, you must inform us of your decision to withdraw from this contract by an unequivocal statement (for example a letter sent by post, fax, or email).','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Our contact details can be found below.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
sprintf(_x( 'You may use the attached model %swithdrawal form%s, but it is not obligatory.' , 'Legal document', 'complianz-terms-conditions' ), '[if_returns_custom_link]', '</a>'),
|
||||
|
||||
'condition' => array( 'if_returns_custom' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'You can also electronically fill in and submit the model withdrawal form or any other unequivocal statement on our %s website%s.','Legal document', 'complianz-terms-conditions' ), '[page_company]', '[/page_company]'),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'contact_company' => 'NOT manually',
|
||||
),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'If you use this option, we will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (for example by email) without delay.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
|
||||
// If Products
|
||||
|
||||
|
||||
array(
|
||||
'subtitle' => _x( 'Effects of withdrawal', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'If you withdraw from this contract, we shall reimburse you all payments received from you, including the costs of delivery (with the exception of the supplementary costs resulting from your choice of a type of delivery other than the least expensive type of standard delivery offered by us), without undue delay and in any event not later than 14 days from the day on which we are informed about your decision to withdraw from this contract.','Legal document', 'complianz-terms-conditions') .' '.
|
||||
_x( 'We will carry out such reimbursement using the same means of payment as you used for the initial transaction unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.',
|
||||
'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'We will collect the goods.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'product_returns' => 'yes'
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
array(
|
||||
'content' => _x( 'You shall send back the goods or hand them over to us or a person authorised by us to receive the goods, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us.','Legal document', 'complianz-terms-conditions' ) .' '.
|
||||
_x( 'The deadline is met if you send back the goods before the period of 14 days has expired.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'product_returns' => 'no'
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'We may withhold reimbursement until we have received the goods back or you have supplied evidence of having sent back the goods, whichever is the earliest.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'product_returns' => 'no',
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
// bear costs_returns
|
||||
array(
|
||||
'content' => _x( 'We will bear the cost of returning / collecting the goods.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'costs_returns' => 'seller'
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
// amount
|
||||
array(
|
||||
'content' => sprintf(_x( 'The maximum cost of returning the goods is %s.', 'Legal document', 'complianz-terms-conditions'), '[max_amount_returned]' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'costs_returns' => 'maxcost'
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'You will have to bear the direct cost of returning the goods.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
'costs_returns' => 'customer'
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics, and functioning of the goods.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
),
|
||||
'callback_condition' => 'NOT cmplz_tcf_nuts'
|
||||
),
|
||||
array(
|
||||
'content' => _x( 'If you requested to begin the performance of services during the withdrawal period, you shall pay us an amount which is in proportion to what has been provided until you have communicated to us your withdrawal from this contract, in comparison with the full coverage of the contract.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
// 'about_returns' => 'webshop'
|
||||
),
|
||||
'callback_condition' => 'cmplz_tcf_nuts'
|
||||
|
||||
),
|
||||
array(
|
||||
'content' => _x( 'Please note that there are some legal exceptions to the right to withdraw, and some items can therefore not be returned or exchanged. ','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We will let you know if this applies in your particular case.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'if_returns' => 'yes' ),
|
||||
),
|
||||
|
||||
// Content Posted by You
|
||||
array(
|
||||
'title' => _x( 'Content posted by you', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We may provide various open communication tools on our website, such as blog comments, blog posts, forums, message boards, ratings and reviews, and various social media services.', 'Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'It might not be feasible for us to screen or monitor all content that you or others may share or submit on or through our website.', 'Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'However, we reserve the right to review the content and to monitor all use of and activity on our website, and remove or reject any content in our sole discretion.', 'Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'By posting information or otherwise using any open communication tools as mentioned, you agree that your content will comply with these Terms and Conditions and must not be illegal or unlawful or infringe any person’s legal rights.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'forum_content' => 'yes' ),
|
||||
),
|
||||
|
||||
|
||||
|
||||
// Idea submission
|
||||
array(
|
||||
'title' => _x( 'Idea submission', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Do not submit any ideas, inventions, works of authorship, or other information that can be considered your own intellectual property that you would like to present to us unless we have first signed an agreement regarding the intellectual property or a non-disclosure agreement.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'If you disclose it to us absent such written agreement, you grant to us a worldwide, irrevocable, non-exclusive, royalty-free license to use, reproduce, store, adapt, publish, translate and distribute your content in any existing or future media.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Termination of use
|
||||
array(
|
||||
'title' => _x( 'Termination of use', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We may, in our sole discretion, at any time modify or discontinue access to, temporarily or permanently, the website or any Service thereon.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You agree that we will not be liable to you or any third party for any such modification, suspension or discontinuance of your access to, or use of, the website or any content that you may have shared on the website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You will not be entitled to any compensation or other payment, even if certain features, settings, and/or any Content you have contributed or have come to rely on, are permanently lost.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You must not circumvent or bypass, or attempt to circumvent or bypass, any access restriction measures on our website.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Warranties and liability
|
||||
array(
|
||||
'title' => _x( 'Warranties and liability', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Nothing in this section will limit or exclude any warranty implied by law that it would be unlawful to limit or to exclude.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'This website and all content on the website are provided on an “as is” and “as available” basis and may include inaccuracies or typographical errors.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We expressly disclaim all warranties of any kind, whether express or implied, as to the availability, accuracy, or completeness of the Content.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We make no warranty that:', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Warranties and liability - Webshop
|
||||
array(
|
||||
'p' => false,
|
||||
'content' =>
|
||||
'<ul>
|
||||
<li>' . _x( 'this website or our products or services will meet your requirements;', 'Legal document', 'complianz-terms-conditions' ) . '</li>
|
||||
<li>' . _x( 'this website will be available on an uninterrupted, timely, secure, or error-free basis;', 'Legal document', 'complianz-terms-conditions' ) . '</li>
|
||||
<li>' . _x( 'the quality of any product or service purchased or obtained by you through this website will meet your expectations.', 'Legal document', 'complianz-terms-conditions' ) . '</li>
|
||||
</ul>',
|
||||
'condition' => array( 'webshop_content' => 'yes' ),
|
||||
),
|
||||
|
||||
// Warranties and liability - Not webshop
|
||||
array(
|
||||
'p' => false,
|
||||
'content' =>
|
||||
'<ul>
|
||||
<li>' . _x( 'this website or our content will meet your requirements;', 'Legal document', 'complianz-terms-conditions' ) . '</li>
|
||||
<li>' . _x( 'this website will be available on an uninterrupted, timely, secure, or error-free basis.', 'Legal document', 'complianz-terms-conditions' ) . '</li>
|
||||
</ul>',
|
||||
'condition' => array( 'webshop_content' => 'no' ),
|
||||
),
|
||||
|
||||
// Warranties and liability - Sensitive data
|
||||
array(
|
||||
'content' => _x( 'Nothing on this website constitutes or is meant to constitute, legal, financial or medical advice of any kind.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'If you require advice you should consult an appropriate professional.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'sensitive_liability' => 'no' ),
|
||||
),
|
||||
|
||||
|
||||
// Warranties and liability - Static
|
||||
array(
|
||||
'content' => _x( 'The following provisions of this section will apply to the maximum extent permitted by applicable law and will not limit or exclude our liability in respect of any matter which it would be unlawful or illegal for us to limit or to exclude our liability.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'In no event will we be liable for any direct or indirect damages (including any damages for loss of profits or revenue, loss or corruption of data, software or database, or loss of or harm to property or data) incurred by you or any third party, arising from your access to, or use of, our website.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Warranties and liability - Liability
|
||||
array(
|
||||
'content' => _x( 'Except to the extent any additional contract expressly states otherwise, our maximum liability to you for all damages arising out of or related to the website or any products and services marketed or sold through the website, regardless of the form of legal action that imposes liability (whether in contract, equity, negligence, intended conduct, tort or otherwise) will be limited to the total price that you paid to us to purchase such products or services or use the website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Such limit will apply in the aggregate to all of your claims, actions and causes of action of every kind and nature.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'max_liability' => 'no' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'Except to the extent any additional contract expressly states otherwise, our maximum liability to you for all damages arising out of or related to the website or any products and services marketed or sold through the website, regardless of the form of legal action that imposes liability (whether in contract, equity, negligence, intended conduct, tort or otherwise) will be limited to %s.','Legal document', 'complianz-terms-conditions' ), '[about_liability]').' '.
|
||||
_x( 'Such limit will apply in the aggregate to all of your claims, actions and causes of action of every kind and nature.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'max_liability' => 'yes' ), // fixed bedrag
|
||||
),
|
||||
|
||||
// Privacy
|
||||
array(
|
||||
'title' => _x( 'Privacy', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'To access our website and/or services, you may be required to provide certain information about yourself as part of the registration process.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You agree that any information you provide will always be accurate, correct, and up to date.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'We take your personal data seriously and are committed to protecting your privacy.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We will not use your email address for unsolicited mail.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Any emails sent by us to you will only be in connection with the provision of agreed products or services.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'webshop_content' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'We have developed a policy to address any privacy concerns you may have.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
sprintf( _x( 'For more information, please see our %sPrivacy Statement%s and our %sCookie Policy%s.',
|
||||
'Legal document', 'complianz-terms-conditions' ), '[privacy_policy]', '</a>', '[cookie_policy]', '</a>' ),
|
||||
'condition' => array('legal_mention' => 'yes'),
|
||||
),
|
||||
|
||||
// Accessibility
|
||||
array(
|
||||
'title' => _x( 'Accessibility', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We are committed to making the content we provide accessible to individuals with disabilities.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'If you have a disability and are unable to access any portion of our website due to your disability, we ask you to give us a notice including a detailed description of the issue you encountered.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'If the issue is readily identifiable and resolvable in accordance with industry-standard information technology tools and techniques we will promptly resolve it.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'accessibility_content' => 'yes' ),
|
||||
),
|
||||
|
||||
// Minimum age
|
||||
array(
|
||||
'title' => _x( 'Minimum age requirement', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'By using our website or agreeing to these Terms and Conditions, you warrant and represent to us that you are at least %s years of age.', 'Legal document', 'complianz-terms-conditions' ), '[minimum_age]'),
|
||||
'condition' => array( 'age_content' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'If you are over %s years old but under the age of 18, your Parent or legal guardian must review and agree to these Terms before you use our website any further, and your Parent or legal guardian will be responsible and liable for all of your acts and omissions.', 'Legal document', 'complianz-terms-conditions' ), '[minimum_age]'),
|
||||
'condition' => array(
|
||||
'minimum_age' => "< 17",
|
||||
'age_content' => 'yes'
|
||||
), // lager dan 18
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x( 'If you are %s years old, your Parent or legal guardian must review and agree to these Terms before you use our website any further, and your Parent or legal guardian will be responsible and liable for all of your acts and omissions.', 'Legal document', 'complianz-terms-conditions' ), '[minimum_age]'),
|
||||
'condition' => array(
|
||||
'minimum_age' => "17",
|
||||
'minimum_age' => "17",
|
||||
'age_content' => 'yes'
|
||||
), // lager dan 18
|
||||
),
|
||||
|
||||
// Export restrictions / Legal compliance
|
||||
array(
|
||||
'title' => _x( 'Export restrictions / Legal compliance', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Access to the website from territories or countries where the Content or purchase of the products or Services sold on the website is illegal is prohibited.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
sprintf(_x( 'You may not use this website in violation of export laws and regulations of %s.', 'Legal document', 'complianz-terms-conditions' ), '[country_company]'),
|
||||
),
|
||||
|
||||
// Affiliate marketing
|
||||
array(
|
||||
'title' => _x( 'Affiliate marketing', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Through this Website we may engage in affiliate marketing whereby we receive a percentage of or a commission on the sale of services or products on or through this website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We may also accept sponsorships or other forms of advertising compensation from businesses.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'This disclosure is intended to comply with legal requirements on marketing and advertising which may apply, such as the US Federal Trade Commission Rules.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'affiliate_content' => 'yes' ),
|
||||
),
|
||||
|
||||
// Availability of Products or Services
|
||||
array(
|
||||
'title' => _x( 'Availability of products or services', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Our website may reference products or services that might not be available in your location.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'This does not imply that we commit or plan to make such products or services available in your location.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'content_webshop' => 'yes' ),
|
||||
),
|
||||
|
||||
// Assignment
|
||||
array(
|
||||
'title' => _x( 'Assignment', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'You may not assign, transfer or sub-contract any of your rights and/or obligations under these Terms and conditions, in whole or in part, to any third party without our prior written consent.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Any purported assignment in violation of this Section will be null and void.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Breaches of these Terms and conditions
|
||||
array(
|
||||
'title' => _x( 'Breaches of these Terms and conditions', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Without prejudice to our other rights under these Terms and Conditions, if you breach these Terms and Conditions in any way, we may take such action as we deem appropriate to deal with the breach, including temporarily or permanently suspending your access to the website, contacting your internet service provider to request that they block your access to the website, and/or commence legal action against you.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => _x( 'We may also suspend or terminate your or any other user’s account on the website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'After account termination, you will not attempt to register a new account without our permission.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'delete_content' => 'yes' ),
|
||||
),
|
||||
|
||||
// Force majeure
|
||||
array(
|
||||
'title' => _x( 'Force majeure', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Except for obligations to pay money hereunder, no delay, failure or omission by either party to carry out or observe any of its obligations hereunder will be deemed to be a breach of these Terms and conditions if and for as long as such delay, failure or omission arises from any cause beyond the reasonable control of that party.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'majeure_communication' => 'yes' ),
|
||||
),
|
||||
|
||||
// Indemnification
|
||||
array(
|
||||
'title' => _x( 'Indemnification', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'You agree to indemnify, defend and hold us harmless, from and against any and all claims, liabilities, damages, losses and expenses, relating to your violation of these Terms and conditions, and applicable laws, including intellectual property rights and privacy rights.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'You will promptly reimburse us for our damages, losses, costs and expenses relating to or arising out of such claims.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Waiver
|
||||
array(
|
||||
'title' => _x( 'Waiver', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'Failure to enforce any of the provisions set out in these Terms and Conditions and any Agreement, or failure to exercise any option to terminate, shall not be construed as waiver of such provisions and shall not affect the validity of these Terms and Conditions or of any Agreement or any part thereof, or the right thereafter to enforce each and every provision.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Language
|
||||
array(
|
||||
'title' => _x( 'Language', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'These Terms and Conditions will be interpreted and construed exclusively in %s.','Legal document', 'complianz-terms-conditions' ), '[languages]').' '.
|
||||
_x( 'All notices and correspondence will be written exclusively in that language.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Entire agreement
|
||||
array(
|
||||
'title' => _x( 'Entire agreement', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'These Terms and Conditions, together with our %sprivacy statement%s and %scookie policy%s, constitute the entire agreement between you and %s in relation to your use of this website.', 'Legal document', 'complianz-terms-conditions' ),'[privacy_policy]', '</a>', '[cookie_policy]', '</a>', '[organisation_name]'),
|
||||
'condition' => array('legal_mention' => 'yes' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => _x( 'Entire agreement', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'These Terms and Conditions shall constitute the entire agreement between you and %s in relation to your use of this website.', 'Legal document', 'complianz-terms-conditions' ),'[organisation_name]'),
|
||||
'condition' => array('legal_mention' => 'no' ),
|
||||
),
|
||||
|
||||
// Updating of these Terms and conditions
|
||||
array(
|
||||
'title' => _x( 'Updating of these Terms and conditions', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We may update these Terms and Conditions from time to time.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'It is your obligation to periodically check these Terms and Conditions for changes or updates.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'The date provided at the beginning of these Terms and Conditions is the latest revision date.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Changes to these Terms and Conditions will become effective upon such changes being posted to this website.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Your continued use of this website following the posting of changes or updates will be considered notice of your acceptance to abide by and be bound by these Terms and Conditions.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'notice_communication' => 'no' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => _x( 'Updating of these Terms and conditions', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => _x( 'We may update these Terms and Conditions from time to time.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'The date provided at the beginning of these Terms and Conditions is the latest revision date.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'We will give you a written notice of any changes or updates, and the revised Terms and Conditions will become effective from the date that we give you such a notice.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'Your continued use of this website following the posting of changes or updates will be considered notice of your acceptance to abide by and be bound by these Terms and Conditions.','Legal document', 'complianz-terms-conditions' ).' '.
|
||||
_x( 'To request a prior version of these Terms and conditions, please contact us.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'notice_communication' => 'yes' ),
|
||||
),
|
||||
|
||||
// Choice of Law and Jurisdiction
|
||||
array(
|
||||
'title' => _x( 'Choice of Law and Jurisdiction', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x( 'These Terms and Conditions shall be governed by the laws of %s.', 'Legal document', 'complianz-terms-conditions'), '[country_company]').' '.
|
||||
sprintf(_x( 'Any disputes relating to these Terms and Conditions shall be subject to the jurisdiction of the courts of %s.','Legal document', 'complianz-terms-conditions' ), '[country_company]').' '.
|
||||
sprintf(_x( 'If any part or provision of these Terms and Conditions is found by a court or other authority to be invalid and/or unenforceable under applicable law, such part or provision will be modified, deleted and/or enforced to the maximum extent permissible so as to give effect to the intent of these Terms and Conditions.','Legal document', 'complianz-terms-conditions' ), '[country_company]').' '.
|
||||
_x( 'The other provisions will not be affected.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
// Contact information
|
||||
array(
|
||||
'title' => _x( 'Contact information', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'content' => sprintf(_x('This website is owned and operated by %s.', 'Legal document', 'complianz-terms-conditions'), '[organisation_name]' ),
|
||||
),
|
||||
array(
|
||||
'content' => sprintf(_x('You may contact us regarding these Terms and Conditions through our %scontact%s page.', 'Legal document', 'complianz-terms-conditions' ), '[page_company]', '[/page_company]'),
|
||||
'condition' => array(
|
||||
'contact_company' => 'webpage',
|
||||
),
|
||||
),
|
||||
|
||||
array(
|
||||
'content' => sprintf(_x('You may contact us regarding these Terms and Conditions by writing or emailing us at the following address: %s ', 'Legal document', 'complianz-terms-conditions' ), '[email_company]<br>[address_company]'),
|
||||
'condition' => array( 'contact_company' => 'manually' ),
|
||||
),
|
||||
array(
|
||||
'content' => _x('You may contact us regarding these Terms and Conditions by telephone, on the contact number published on our website.', 'Legal document', 'complianz-terms-conditions' ),
|
||||
'condition' => array( 'contact_company' => 'refer_to_contact' ),
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __('Download',"complianz-terms-conditions"),
|
||||
'content' => sprintf(_x('You can also %sdownload%s our Terms and Conditions as a PDF.', 'Legal document', 'complianz-terms-conditions' ), '<a href="[download_pdf_link]">', '</a>'),
|
||||
),
|
||||
|
||||
);
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
@@ -0,0 +1,544 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) or die( "you do not have acces to this page!" );
|
||||
|
||||
/*
|
||||
* condition: if a question should be dynamically shown or hidden, depending on another answer. Use NOT answer to hide if not answer.
|
||||
* callback_condition: if should be shown or hidden based on an answer in another screen.
|
||||
* callback roept action cmplz_$page_$callback aan
|
||||
* required: verplicht veld.
|
||||
* help: helptext die achter het veld getoond wordt.
|
||||
"fieldname" => '',
|
||||
"type" => 'text',
|
||||
"required" => false,
|
||||
'default' => '',
|
||||
'label' => '',
|
||||
'table' => false,
|
||||
'callback_condition' => false,
|
||||
'condition' => false,
|
||||
'callback' => false,
|
||||
'placeholder' => '',
|
||||
'optional' => false,
|
||||
* */
|
||||
|
||||
// General
|
||||
$this->fields = $this->fields + array(
|
||||
|
||||
'organisation_name' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'placeholder' => __( "Company or personal name", 'complianz-terms-conditions' ),
|
||||
'label' => __( "Who is the owner of the website?", 'complianz-terms-conditions' ),
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'address_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'placeholder' => __( 'Address, City and Zipcode', 'complianz-terms-conditions' ),
|
||||
'type' => 'textarea',
|
||||
'default' => '',
|
||||
'label' => __( "Address", 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
'country_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'select',
|
||||
'options' => $this->countries,
|
||||
'default' => '',
|
||||
'label' => __( "Jurisdiction", 'complianz-terms-conditions' ),
|
||||
'required' => true,
|
||||
'tooltip' => __( "This setting is automatically pre-filled based on your WordPress language setting.", 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
'contact_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'manually' => __( 'I would like to add an email address to the terms & conditions', 'complianz-terms-conditions' ),
|
||||
'webpage' => __( 'I would like to select an existing contact page', 'complianz-terms-conditions' ),
|
||||
'refer_to_contact' => __( 'I would like to refer to a phone number published on the website', 'complianz-terms-conditions' ),
|
||||
),
|
||||
'default' => '',
|
||||
'tooltip' => __( "An existing page would be a contact or an 'about us' page where your contact details are readily available, or a contact form is present.",
|
||||
'complianz-terms-conditions' ),
|
||||
'label' => __( "How do you wish visitors to contact you?", 'complianz-terms-conditions' ),
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'email_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'email',
|
||||
'default' => '',
|
||||
'tooltip' => __( "Your email address will be obfuscated on the front-end to prevent spidering.", 'complianz-terms-conditions' ),
|
||||
'label' => __( "What is the email address your visitors can use to contact you about the terms & conditions?", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'contact_company' => 'manually',
|
||||
),
|
||||
),
|
||||
|
||||
'page_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'translatable' => true,
|
||||
'default' => home_url('/contact/'),
|
||||
'type' => 'url',
|
||||
'label' => __( "Add the URL for your contact details", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'contact_company' => 'webpage',
|
||||
),
|
||||
),
|
||||
|
||||
// Moet leeg kunnen zijn en handmatig ingevuld. Een upsell naar Complianz en ingevuld als ze Complianz hebben. Wanneer ingevuld -> Tekst toevoegen
|
||||
'legal_mention' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'default' => 'yes',
|
||||
'required' => true,
|
||||
'label' => __( "Do you want to refer to your cookie policy and privacy statement?", 'complianz-terms-conditions' ),
|
||||
'comment' => __( "If you don't have the relevant documents, please have a look at Complianz - The Privacy Suite for WordPress.",
|
||||
'complianz-terms-conditions' ) . cmplz_tc_read_more( 'https://complianz.io/pricing/?tc&step=1'),
|
||||
'options' => $this->yes_no,
|
||||
|
||||
),
|
||||
|
||||
'cookie_policy' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'translatable' => true,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'url',
|
||||
'placeholder' => site_url('cookie-policy'),
|
||||
'label' => __( "URL to your Cookie Policy", 'complianz-terms-conditions' ),
|
||||
'comment' => __( "Complianz GDPR/CCPA Cookie Consent can create one for you!",
|
||||
'complianz-terms-conditions' ) . cmplz_tc_read_more( 'https://wordpress.org/plugins/complianz-gdpr/'),
|
||||
'condition' => array(
|
||||
'legal_mention' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
'privacy_policy' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'translatable' => true,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'url',
|
||||
'placeholder' => site_url('privacy-statement'),
|
||||
'label' => __( "URL to your Privacy Statement", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'legal_mention' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
'disclosure_company' => array(
|
||||
'step' => 1,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'translatable' => true,
|
||||
'type' => 'url',
|
||||
'help' => __( "For Germany and Austria, refer to your Impressum, for other EU countries and the UK select a page with your company or personal details.",
|
||||
'complianz-terms-conditions' ) . cmplz_tc_read_more( 'https://complianz.io/definitions/what-are-statutory-and-regulatory-disclosures?tc&step=1' ),
|
||||
'label' => __( "Where can your visitors find your statutory and regulatory disclosures?", 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
// Questions - Content
|
||||
|
||||
$this->fields = $this->fields + array(
|
||||
// constante zoeken + callback
|
||||
'webshop_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'label' => __( "Are you running a webshop?", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'account_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Is there an option to register an account on your website for clients?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'This means any registration form or account creation for your customers or website visitors.', 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'delete' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to suspend or delete user accounts of visitors that breach the terms & conditions?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'Appends a paragraph to your terms & conditions enabling your to delete any account breaching this document.', 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
'condition' => array(
|
||||
'account_content' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
// constante zoeken + callback
|
||||
'affiliate_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you engage in affiliate marketing?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'Either by accepting affiliate commission through your webshop or engaging in other affiliate programs.', 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
// constante zoeken + callback
|
||||
'forum_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Is there an option for visitors to post their own content on your websites?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'Think about reviews, a forum, comments and other moderated and unmoderated content.', 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'accessibility_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to include your efforts concerning accessibility?", 'complianz-terms-conditions' ),
|
||||
'help' => __( 'Extend your document with a reference to your efforts toward accessibility.', 'complianz-terms-conditions' )
|
||||
. cmplz_tc_read_more( 'https://complianz.io/definitions/what-is-wcag?tc&step=2§ion=1' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'age_content' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Is your website specifically targeted at minors?", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'minimum_age' => array(
|
||||
'step' => 2,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'number',
|
||||
'default' => 12,
|
||||
'label' => __( "What is the minimum appropriate age for your website? ", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'This will ensure a paragraph explaining a legal guardian must review and agree to these terms & conditions', 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'age_content' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
// Communication
|
||||
'electronic_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to state that communication in writing is done electronically?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'This will contain a paragraph that communication in writing will be done electronically e.g., email and other digital communication tools.',
|
||||
'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'newsletter_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'tooltip' => __( 'Order updates, customer service and other direct and specific communication with your clients or users should not be considered.', 'complianz-terms-conditions' ),
|
||||
'label' => __( "Do you send newsletters?", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'majeure_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to enable Force Majeure? ", 'complianz-terms-conditions' ),
|
||||
'help' => __('Force majeure are occurrences beyond the reasonable control of a party and that will void liability', 'complianz-terms-conditions' ) . cmplz_tc_read_more( 'https://complianz.io/definition/what-is-force-majeure/?tc&step=2§ion=2' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'notice_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Will you give a written notice of any changes or updates to the terms & conditions before these changes will become effective?", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'language_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => 'yes',
|
||||
'label' => __( "Do you want to limit the interpretation of this document to your current language?", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
|
||||
// WPML & polylang
|
||||
'multilanguage_communication' => array(
|
||||
'step' => 2,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'multicheckbox',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'condition' => array(
|
||||
'language_communication' => 'no',
|
||||
),
|
||||
'label' => __( "In which languages is this document available for interpretation?", 'complianz-terms-conditions' ),
|
||||
'help' => __( 'This answer is pre-filled if a multilanguage plugin is available e.g. WPML or Polylang.', 'complianz-terms-conditions' )
|
||||
. cmplz_tc_read_more( 'https://complianz.io/translating-terms-conditions/' ),
|
||||
'options' => $this->languages,
|
||||
),
|
||||
|
||||
// Liability
|
||||
'sensitive_liability' => array(
|
||||
'step' => 2,
|
||||
'section' => 3,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you offer financial, legal or medical advice?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( "If you answer 'No', a paragraph will explain the content on your website does not constitute professional advice.", 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'max_liability' => array(
|
||||
'step' => 2,
|
||||
'section' => 3,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to limit liability with a fixed amount?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( 'If you choose no, liability will be fixed to the amount paid by your customer.', 'complianz-terms-conditions' ),
|
||||
'options' => $this->yes_no,
|
||||
),
|
||||
|
||||
'about_liability' => array(
|
||||
'step' => 2,
|
||||
'section' => 3,
|
||||
'source' => 'terms-conditions',
|
||||
'placeholder' => '$1000',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'label' => __( "Regarding the previous question, fill in the fixed amount including the currency.", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'max_liability' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
// Copyright
|
||||
'about_copyright' => array(
|
||||
'step' => 2,
|
||||
'section' => 4,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'allrights' => __( 'All rights reserved', 'complianz-terms-conditions' ),
|
||||
'norights' => __( 'No rights are reserved', 'complianz-terms-conditions' ),
|
||||
'ccattr' => __( 'Creative commons - Attribution', 'complianz-terms-conditions' ),
|
||||
'ccsal' => __( 'Creative commons - Share a like', 'complianz-terms-conditions' ),
|
||||
'ccnod' => __( 'Creative commons - No derivates', 'complianz-terms-conditions' ),
|
||||
'ccnon' => __( 'Creative commons - Noncommercial', 'complianz-terms-conditions' ),
|
||||
'ccnonsal' => __( 'Creative commons - Share a like Noncommercial', 'complianz-terms-conditions' ),
|
||||
),
|
||||
'default' => '',
|
||||
'help' => __( 'Want to know more about Creative Commons?', 'complianz-terms-conditions' )
|
||||
. cmplz_tc_read_more( 'https://complianz.io/definitions/what-is-creative-commons?tc&step=2§ion=4' ),
|
||||
'label' => __( "What do you want to do with any intellectual property claims?",
|
||||
'complianz-terms-conditions' ),
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
// Returns
|
||||
'if_returns' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => $this->yes_no,
|
||||
'default' => 'yes',
|
||||
'tooltip' => __( "This will append the conditions for returns and withdrawals, mandatory when selling to consumers in the EU. ", 'complianz-terms-conditions' ),
|
||||
'label' => __( "Do you offer returns of goods or the withdrawal of services?", 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
'if_returns_custom' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => $this->yes_no,
|
||||
'default' => 'no',
|
||||
'tooltip' => __( "We will add a standard, translatable form to this paragraph. To use your own, you can add the link below.", 'complianz-terms-conditions' ),
|
||||
'label' => __( "Do you want to use a custom withdrawal form?", 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
'if_returns_custom_link' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'default' => home_url('/wp-content/uploads/custom-withdrawal-form.pdf'),
|
||||
'type' => 'url',
|
||||
'label' => __( "Add the URL for your custom withdrawal form", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns_custom' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
'refund_period' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'minimum' => 14,
|
||||
'required' => true,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'number',
|
||||
'default' => 14,
|
||||
'label' => __( "What is your refund period in days?", 'complianz-terms-conditions' ),
|
||||
'tooltip' => __( "EU legislation requires you to offer a minimum of 14 days refund period.", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
'about_returns' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'nuts_services' => __( 'Services and/or digital content.', 'complianz-terms-conditions' ),
|
||||
'nuts_utilities' => __( 'Utilities - Gas, water and electricity.', 'complianz-terms-conditions' ),
|
||||
'webshop' => __( 'Products and goods.', 'complianz-terms-conditions' ),
|
||||
'multiples' => __( 'A contract relating to goods ordered by the consumer and delivered separately.', 'complianz-terms-conditions' ),
|
||||
'subscription' => __( 'Subscription-based delivery of goods.', 'complianz-terms-conditions' ),
|
||||
),
|
||||
'default' => '',
|
||||
'help' => cmplz_tc_read_more( 'https://complianz.io/definition/about-return-policies/' ),
|
||||
'label' => __( "Please choose the option that best describes the contract a consumer closes with you through the use of the website.", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'if_returns' => 'yes',
|
||||
),
|
||||
),
|
||||
|
||||
'product_returns' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => $this->yes_no,
|
||||
'default' => '',
|
||||
'label' => __( "Do you want to offer your customer to collect the goods yourself in the event of withdrawal?", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'about_returns' => 'webshop OR multiples OR subscription',
|
||||
),
|
||||
),
|
||||
|
||||
'costs_returns' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'seller' => __( 'We, the seller', 'complianz-terms-conditions' ),
|
||||
'customer' => __( 'The customer', 'complianz-terms-conditions' ),
|
||||
'maxcost' => __( 'The goods, by their nature, cannot normally be returned by post and a maximum cost of return applies ', 'complianz-terms-conditions' ),
|
||||
),
|
||||
'default' => '',
|
||||
'label' => __( "Who will bear the cost of returning the goods?", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'about_returns' => 'webshop OR multiples OR subscription',
|
||||
),
|
||||
),
|
||||
|
||||
'max_amount_returned' => array(
|
||||
'step' => 2,
|
||||
'section' => 5,
|
||||
'source' => 'terms-conditions',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'placeholder' => '$1000',
|
||||
'label' => __( "Regarding the previous question, fill in the maximum amount including the currency.", 'complianz-terms-conditions' ),
|
||||
'condition' => array(
|
||||
'costs_returns' => 'maxcost',
|
||||
'if_returns' => 'yes',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// End of Questions
|
||||
$this->fields = $this->fields + array(
|
||||
'create_pages' => array(
|
||||
'step' => 3,
|
||||
'section' => 1,
|
||||
'source' => 'terms-conditions',
|
||||
'callback' => 'terms_conditions_add_pages',
|
||||
'label' => '',
|
||||
),
|
||||
);
|
||||
|
||||
$this->fields = $this->fields + array(
|
||||
'add_pages_to_menu' => array(
|
||||
'step' => 3,
|
||||
'section' => 2,
|
||||
'source' => 'terms-conditions',
|
||||
'callback' => 'terms_conditions_add_pages_to_menu',
|
||||
'label' => '',
|
||||
),
|
||||
);
|
||||
|
||||
$this->fields = $this->fields + array(
|
||||
'finish_setup' => array(
|
||||
'step' => 4,
|
||||
'source' => 'terms-conditions',
|
||||
'callback' => 'last_step',
|
||||
'label' => '',
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) or die( "you do not have acces to this page!" );
|
||||
|
||||
$this->steps = apply_filters('cmplz_tc_steps',array(
|
||||
'terms-conditions' =>
|
||||
array(
|
||||
1 => array(
|
||||
"id" => "company",
|
||||
"title" => __( "General", 'complianz-terms-conditions' ),
|
||||
'intro' => '<h1 class="h4">'.__('Terms & Conditions', 'complianz-terms-conditions').'</h1><p>'.
|
||||
sprintf(__('We have tried to make our Wizard as simple and fast as possible. Although these questions are all necessary, if there’s any way you think we can improve the plugin, please let us %sknow%s!', 'complianz-terms-conditions'),'<a target="_blank" href="https://complianz.io/contact">', '</a>').
|
||||
' '.sprintf(__(' Please note that you can always save and finish the wizard later, use our %sdocumentation%s for additional information or log a %ssupport ticket%s if you need our assistance.', 'complianz-terms-conditions'),'<a target="_blank" href="https://complianz.io/docs/terms-conditions">', '</a>','<a target="_blank" href="https://wordpress.org/support/plugin/complianz-terms-conditions/">', '</a>').'</p>',
|
||||
|
||||
),
|
||||
|
||||
2 => array(
|
||||
"title" => __( "Questions", 'complianz-terms-conditions' ),
|
||||
"id" => "questions",
|
||||
'sections' => array(
|
||||
1 => array(
|
||||
'title' => __( 'Content', 'complianz-terms-conditions' ),
|
||||
'intro' => __( 'These questions will concern the content presented on your website and specific functionalities that might need to be included in the Terms & Conditions.', 'complianz-terms-conditions' ). cmplz_tc_read_more( 'https://complianz.io/docs/terms-conditions?tc&step=2§ion=1' ),
|
||||
),
|
||||
2 => array(
|
||||
'title' => __( 'Communication', 'complianz-terms-conditions' ),
|
||||
'intro' => __( 'These questions will explicitly explain your efforts in communicating with your customers or visitors regarding the services you provide.', 'complianz-terms-conditions'),
|
||||
|
||||
),
|
||||
|
||||
3 => array(
|
||||
'title' => __( 'Liability', 'complianz-terms-conditions' ),
|
||||
'intro' => __( 'Based on earlier answers you can now choose to limit liability if needed.', 'complianz-terms-conditions' ). cmplz_tc_read_more( 'https://complianz.io/docs/terms-conditions?tc&step=2§ion=3' ),
|
||||
|
||||
),
|
||||
|
||||
4 => array(
|
||||
'title' => __( 'Copyright', 'complianz-terms-conditions' ),
|
||||
'intro' => __( 'Creative Commons (CC) is an American non-profit organization devoted to expanding the range of creative works available for others to build upon legally and to share.', 'complianz-terms-conditions' ),
|
||||
),
|
||||
|
||||
5 => array(
|
||||
'title' => __( 'Returns', 'complianz-terms-conditions' ),
|
||||
'intro' => __( 'If you offer returns of goods or the withdrawal of services you can specify the terms below.', 'complianz-terms-conditions' ). cmplz_tc_read_more( 'https://complianz.io/docs/terms-conditions?tc&step=2§ion=5' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
3 => array(
|
||||
"id" => "menu",
|
||||
"title" => __( "Documents", 'complianz-terms-conditions' ),
|
||||
'intro' =>
|
||||
'<h1>' . __( "Get ready to finish your configuration.", 'complianz-terms-conditions' ) . '</h1>' .
|
||||
'<p>'
|
||||
. __( "Generate the Terms & Conditions, then you can add them to your menu directly or do it manually after the wizard is finished.", 'complianz-terms-conditions' ) . '</p>',
|
||||
'sections' => array(
|
||||
1 => array(
|
||||
'title' => __( 'Create document', 'complianz-terms-conditions' ),
|
||||
),
|
||||
2 => array(
|
||||
'title' => __( 'Link to menu', 'complianz-terms-conditions' ),
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
4 => array(
|
||||
"title" => __( "Finish", 'complianz-terms-conditions' ),
|
||||
),
|
||||
),
|
||||
));
|
||||
Reference in New Issue
Block a user