00001 <?php 00002 00006 class oxwCookieNote extends oxWidget 00007 { 00008 00013 protected $_sThisTemplate = 'widget/header/cookienote.tpl'; 00014 00021 public function render() 00022 { 00023 parent::render(); 00024 00025 // seeting cookie that cookie notification was shown [cookie solution] 00026 $oUtilsServer = oxRegistry::get("oxUtilsServer"); 00027 00028 return $this->_sThisTemplate; 00029 } 00030 00036 function isEnabled() 00037 { 00038 if ( $this->getConfig()->getConfigParam( 'blShowCookiesNotification' ) ) { 00039 return true; 00040 } 00041 00042 return false; 00043 } 00044 }