Added info about cookies
This commit is contained in:
parent
262f0b730b
commit
9777b4c1ba
9 changed files with 87 additions and 417 deletions
|
@ -554,3 +554,45 @@ function _storm_attribute_domain_autocomplete($string = '') {
|
|||
|
||||
drupal_json($matches);
|
||||
}
|
||||
|
||||
function storm_cookies_page() {
|
||||
$breadcrumb = array();
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
drupal_set_title(t('About Cookies'));
|
||||
$output = '<div class="help"><p>' .
|
||||
t("This website uses cookies to differentiate between distinct users who access it. A cookie is a small alpha-numeric archive which is stored on the hard drive or in the browser of a computer, tablet, smartphone or similar device when it browses the internet. Cookies allow us to offer relevant information on our products and services and to provide you with a good experience when you browse the website.") .
|
||||
'</p><p>' .
|
||||
t("None of our cookies store any personal information such as your name or address. Please be aware that restricting cookies may impact on the functionality of this site.") .
|
||||
'</p>';
|
||||
$output .= '<h3>' .
|
||||
t("TYPES OF COOKIES") .
|
||||
'</h3><h4>' .
|
||||
t("According to the type of organisation which administers them") .
|
||||
'</h4><p>' .
|
||||
'<strong>' . t("First party cookies") . '</strong>: ' . t("installed by this website.") .
|
||||
'</p><p>' .
|
||||
'<strong>' . t("Third party cookies") . '</strong>: ' . t("installed by other websites, or links which users can use to share content. A user accessing such content from this website may have cookies added from these third parties. It's not posible to control these third party cookies and so the user must review the cookie policies of these other websites for further information.") .
|
||||
'</p><h4>' .
|
||||
t("According to the length of time they remain active in the user’s system") .
|
||||
'</h4><p>' .
|
||||
'<strong>' . t("Session cookies") . '</strong>: ' . t("collect and store data only whilst the user is visiting the website.") .
|
||||
'</p><p>' .
|
||||
'<strong>' . t("Persistent cookies") . '</strong>: ' . t("remain stored in a computer and may be accessed and managed by the organisation responsible for the cookie for a specific length of time, or until the user deletes it.") .
|
||||
'</p><h4>' .
|
||||
t("According to the purpose for which data are collected through the cookies") .
|
||||
'</h4><p>' .
|
||||
'<strong>' . t("Technical cookies") . '</strong>: ' . t("allow the user to make use of the different options they facilitate: for example controlling data traffic and communication, identifying a session, accessing restricted areas, carrying out a purchase, requesting a subscription or participating in an event etc.") .
|
||||
'</p><p>' .
|
||||
'<strong>' . t("Personalisation cookies") . '</strong>: ' . t("allow the user to access services with certain personalised characteristics such as language, browser type, configuration for the region from which the user accesses services etc") .
|
||||
'</p><p>' .
|
||||
'<strong>' . t("Analytical cookies") . '</strong>: ' . t("allow website managers to follow and analyse the behaviour of users on a website so that they can make improvements informed by data analysis on the use of the website by users of its services.") .
|
||||
'</p><p>' .
|
||||
'<strong>' . t("Advertising cookies") . '</strong>: ' . t("help with the management of advertising spaces which a web editor has included on a website where services are offered, based on criteria such as the type of content or the frequency with which the content is shown.") .
|
||||
'</p>';
|
||||
$output .= '<h3>' .
|
||||
t("TURNING OFF COOKIES") .
|
||||
'</h3><p>' .
|
||||
t("You can block cookies by activating the setting on your browser that allows you to refuse the setting of all or some cookies. However, if you use your browser settings to block all cookies (including essential cookies) you may not be able to access all or parts of our site or any other websites that you visit.") .
|
||||
'</p></div>';
|
||||
return $output;
|
||||
}
|
||||
|
|
|
@ -508,7 +508,7 @@ function storm_init() {
|
|||
function storm_menu() {
|
||||
$items = array();
|
||||
|
||||
// Redirect to SuiteCRM:
|
||||
// Redirect to SuiteCRM.
|
||||
$items['suitecrm'] = array(
|
||||
'title' => 'SuiteCRM',
|
||||
'page callback' => 'storm_suitecrm_callback',
|
||||
|
@ -516,6 +516,7 @@ function storm_menu() {
|
|||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
// SuiteDesk options.
|
||||
$dashboard_types = module_invoke_all('storm_dashboard_types');
|
||||
foreach ($dashboard_types as $type => $type_info) {
|
||||
if (isset($type_info['url'])) {
|
||||
|
@ -568,6 +569,7 @@ function storm_menu() {
|
|||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
// Admin options.
|
||||
$items['admin/settings/suitedesk'] = array(
|
||||
'title' => 'SuiteDesk',
|
||||
'description' => 'SuiteDesk administration page',
|
||||
|
@ -576,7 +578,6 @@ function storm_menu() {
|
|||
'access arguments' => array('Storm: access administration pages'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/settings/suitedesk/suitedesk'] = array(
|
||||
'title' => 'SuiteDesk',
|
||||
'description' => 'SuiteDesk administration page',
|
||||
|
@ -584,7 +585,6 @@ function storm_menu() {
|
|||
'type' => MENU_DEFAULT_LOCAL_TASK,
|
||||
'weight' => -100,
|
||||
);
|
||||
|
||||
$items['admin/settings/suitedesk/notify'] = array(
|
||||
'title' => 'Notification settings',
|
||||
'description' => 'Adjust settings for new SuiteDesk content notifications sent by e-mail.',
|
||||
|
@ -594,7 +594,6 @@ function storm_menu() {
|
|||
'access arguments' => array('Storm: administer notify'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/user/user/notify'] = array(
|
||||
'title' => 'SuiteDesk notifications',
|
||||
'page callback' => 'drupal_get_form',
|
||||
|
@ -603,15 +602,8 @@ function storm_menu() {
|
|||
'access arguments' => array('create users'),
|
||||
'type' => MENU_LOCAL_TASK,
|
||||
);
|
||||
/*
|
||||
$items['admin/settings/chamilo'] = array(
|
||||
'title' => 'Chamilo',
|
||||
'description' => 'Configure integration settings with Chamilo.',
|
||||
'page callback' => '_storm_chamilo_settings',
|
||||
'access callback' => 'user_access',
|
||||
'access arguments' => array('administer chamilo'),
|
||||
);
|
||||
*/
|
||||
|
||||
// Attributes management.
|
||||
$items['attributes'] = array(
|
||||
'title' => 'Attributes',
|
||||
'description' => 'SuiteDesk attributes',
|
||||
|
@ -621,7 +613,6 @@ function storm_menu() {
|
|||
'type' => MENU_NORMAL_ITEM,
|
||||
'weight' => 11,
|
||||
);
|
||||
|
||||
$items['attributes/add'] = array(
|
||||
'title' => 'Add a new attribute',
|
||||
'description' => 'SuiteDesk attributes',
|
||||
|
@ -631,7 +622,6 @@ function storm_menu() {
|
|||
'file' => 'storm.admin.inc',
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['attributes/edit/%'] = array(
|
||||
'title' => 'Edit an attribute',
|
||||
'description' => 'SuiteDesk attributes',
|
||||
|
@ -641,7 +631,6 @@ function storm_menu() {
|
|||
'file' => 'storm.admin.inc',
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['attributes/delete/%'] = array(
|
||||
'title' => 'Delete an attribute',
|
||||
'description' => 'SuiteDesk attributes',
|
||||
|
@ -651,7 +640,6 @@ function storm_menu() {
|
|||
'file' => 'storm.admin.inc',
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
$items['storm/attributes/domain/autocomplete'] = array(
|
||||
'title' => 'List of attributes',
|
||||
'description' => 'SuiteDesk attributes',
|
||||
|
@ -662,6 +650,7 @@ function storm_menu() {
|
|||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
// User notifications.
|
||||
$items['user/%user/notify'] = array(
|
||||
'title' => 'Notifications',
|
||||
'page callback' => 'drupal_get_form',
|
||||
|
@ -670,6 +659,15 @@ function storm_menu() {
|
|||
'type' => MENU_LOCAL_TASK,
|
||||
);
|
||||
|
||||
// Info about cookies:
|
||||
$items['about/cookies'] = array(
|
||||
'title' => 'About Cookies',
|
||||
'page callback' => 'storm_cookies_page',
|
||||
'access callback' => TRUE,
|
||||
'file' => 'storm.admin.inc',
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue