eu-cookie-compliance-popup-agreed.tpl.php in EU Cookie Compliance (GDPR Compliance) 6
Same filename and directory in other branches
This is a template file for a pop-up informing a user that he has already agreed to cookies.
When overriding this template it is important to note that jQuery will use the following classes to assign actions to buttons:
hide-popup-button - destroy the pop-up find-more-button - link to an information page
Variables available:
- $message: Contains the text that will be display whithin the pop-up
- $hide_button: Contains hide butlon title
- $find_more_button: Contains find more button title
1 theme call to eu-cookie-compliance-popup-agreed.tpl.php
- eu_cookie_compliance_footer in ./
eu_cookie_compliance.module - Implements hook_footer().
File
theme/eu-cookie-compliance-popup-agreed.tpl.phpView source
<?php
/**
* @file
* This is a template file for a pop-up informing a user that he has already
* agreed to cookies.
*
* When overriding this template it is important to note that jQuery will use
* the following classes to assign actions to buttons:
*
* hide-popup-button - destroy the pop-up
* find-more-button - link to an information page
*
* Variables available:
* - $message: Contains the text that will be display whithin the pop-up
* - $hide_button: Contains hide butlon title
* - $find_more_button: Contains find more button title
*/
?>
<div>
<div class ="popup-content agreed">
<div id="popup-text">
<?php
print $message;
?>
</div>
<div id="popup-buttons">
<button type="button" class="hide-popup-button"><?php
print $hide_button;
?> </button>
<button type="button" class="find-more-button" ><?php
print $find_more_button;
?></button>
</div>
</div>
</div>