27 "PublicInstitution" => 0);
37 $oContentList =
oxNew(
"oxcontentlist");
38 $sTable = getViewName(
"oxcontents", $this->_iEditLang);
39 $oContentList->selectString(
40 "SELECT * FROM {$sTable} WHERE OXACTIVE = 1 AND OXTYPE = 0
41 AND OXLOADID IN ('oxagb', 'oxdeliveryinfo', 'oximpressum', 'oxrightofwithdrawal')
54 $aCustomersConf = $this->
getConfig()->getShopConfVar(
"aRDFaCustomers");
55 if (isset($aCustomersConf)) {
56 foreach ($this->_aCustomers as $sCustomer => $iValue) {
57 $aCustomers[$sCustomer] = (in_array($sCustomer, $aCustomersConf)) ? 1 : 0;
60 $aCustomers = array();
72 if ($aParams[
'url']) {
73 $sNotificationUrl =
"http://gr-notify.appspot.com/submit?uri=" . urlencode($aParams[
'url']) .
"&agent=oxid";
74 if ($aParams[
'email']) {
75 $sNotificationUrl .=
"&contact=" . urlencode($aParams[
'email']);
78 if (substr($aHeaders[2], -4) ===
"True") {
79 $this->_aViewData[
"submitMessage"] =
'SHOP_RDFA_SUBMITED_SUCCESSFULLY';
81 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(substr($aHeaders[3], strpos($aHeaders[3],
":") + 2));
84 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'SHOP_RDFA_MESSAGE_NOURL');
97 return get_headers($sURL);