public function render()
 {
     $Path = $this->getConfig()->getModulesDir() . 'shoplocator/marker/';
     /*
     $sBasePath = $this->getConfig()->getConfigParam('sShopDir');
     echo $sBasePath;
     
     
     
     $sBasePath = $this->getConfig()->getModulesDir()."shoplocator/";
     echo $sBasePath;
     */
     //echo $this->getConfig()->getShopUrl().'modules/shoplocator/out/src/images/';;
     // Ordner auslesen...
     $ordner = $this->getConfig()->getConfigParam('sShopDir') . 'modules/shoplocator/marker/';
     $allfiles = getMarkerimages($ordner);
     $this->_aViewData['ordner_marker'] = 'modules/shoplocator/marker/';
     $this->_aViewData['markers'] = $allfiles;
     $soxIdQuery = 'SELECT OXID FROM `stores_settings` ';
     $soxId = oxDb::getDb()->getOne($soxIdQuery, false, false);
     // load object
     $oShoplocator_Settings = oxNew("shoplocator_settings");
     $oShoplocator_Settings->load($soxId);
     $this->_aViewData["edit"] = $oShoplocator_Settings;
     return parent::render();
 }
Beispiel #2
0
 /**
  * Executes parent method parent::render(), prints shop and
  * PHP configuration information.
  *
  * @return string
  */
 public function render()
 {
     if ($this->getConfig()->isDemoShop()) {
         return oxRegistry::getUtils()->showMessageAndExit("Access denied !");
     }
     parent::render();
     return "tools.tpl";
 }
 /**
  * The render function is invoked before the smarty
  * template is evaluated.
  *
  * @return string The template to be shown.
  */
 public function render()
 {
     // current optinid
     $optinid = oxConfig::getParameter("pbi_exportform_stateid") ? oxConfig::getParameter("pbi_exportform_stateid") : 0;
     // counter
     $optinid_counter = 0;
     $sSql = 'SELECT oxid FROM oxnewssubscribed AS s WHERE oxdboptin =  ' . (int) $optinid;
     $rs = oxDb::getDb(true)->Execute($sSql);
     // Providing variables to the view.
     $this->_aViewData['optinid_counter'] = $rs->_numOfRows;
     $this->_aViewData['optinid'] = $optinid;
     $this->_aViewData['aOptinIds'] = $aOptinIds;
     return parent::render();
 }
Beispiel #4
0
 public function render()
 {
     //      ini_set('display_errors', true);
     parent::render();
     setlocale(LC_TIME, "de_DE");
     //Auslesen/definieren der Formular Werte
     $this->startdate = oxRegistry::getConfig()->getRequestParameter("startdate") != "" ? oxRegistry::getConfig()->getRequestParameter("startdate") : date("Y-m-") . "01";
     $this->enddate = oxRegistry::getConfig()->getRequestParameter("enddate") != "" ? oxRegistry::getConfig()->getRequestParameter("enddate") : date("Y-m-d");
     $this->art = oxRegistry::getConfig()->getRequestParameter("art") != "" ? oxRegistry::getConfig()->getRequestParameter("art") : "UmsatzDatum";
     $this->chart = oxRegistry::getConfig()->getRequestParameter("chart") != "" ? oxRegistry::getConfig()->getRequestParameter("chart") : "column";
     $this->catfilter = oxRegistry::getConfig()->getRequestParameter("catfilter") != "" ? oxRegistry::getConfig()->getRequestParameter("catfilter") : "0";
     $this->markfilter = oxRegistry::getConfig()->getRequestParameter("markfilter") != "ohne" ? oxRegistry::getConfig()->getRequestParameter("markfilter") : "ohne";
     $this->prodfilter = oxRegistry::getConfig()->getRequestParameter("prodfilter") != "" ? oxRegistry::getConfig()->getRequestParameter("prodfilter") : "";
     $this->groupvars = oxRegistry::getConfig()->getRequestParameter("groupvars");
     $this->sort = oxRegistry::getConfig()->getRequestParameter("sort");
     $this->netto = oxRegistry::getConfig()->getRequestParameter("netto");
     $this->tpl = oxRegistry::getConfig()->getRequestParameter("tpl");
     $this->fav = oxRegistry::getConfig()->getRequestParameter("fav");
     $this->maxval = $this->toFloat(oxRegistry::getConfig()->getRequestParameter("maxumsatz"));
     $this->minval = $this->toFloat(oxRegistry::getConfig()->getRequestParameter("minumsatz"));
     $this->limit = intval(oxRegistry::getConfig()->getRequestParameter("limit"));
     //Bereitstellen der Informationen Für das Template
     $oSmarty = oxRegistry::get("oxUtilsView")->getSmarty();
     $oSmarty->assign("oViewConf", $this->_aViewData["oViewConf"]);
     $oSmarty->assign("chart", $this->chart);
     $oSmarty->assign("date", date("Ymdhis"));
     $oSmarty->assign("startdate", $this->startdate);
     $oSmarty->assign("enddate", $this->enddate);
     $oSmarty->assign("charts", array($this->chart => "checked"));
     $oSmarty->assign("arts", array($this->art => "checked"));
     $oSmarty->assign("catfilter", array($this->catfilter => "selected"));
     $oSmarty->assign("groupvars", $this->groupvars);
     $oSmarty->assign("prodfilter", $this->prodfilter);
     $oSmarty->assign("sort", $this->sort);
     $oSmarty->assign("netto", $this->netto);
     $oSmarty->assign("hasMarketing", $this->hasMarkCodes);
     $oSmarty->assign("elements", $this->_elem);
     $oSmarty->assign("isjson", $this->tpl);
     if ($this->_total > 0) {
         $oSmarty->assign("avg", round($this->_total / $this->_elem, 2));
     }
     $oSmarty->assign("height", $this->chart == "column" ? 200 + $this->_elem * 15 : "100%");
     if ($this->fav != "") {
         $oSmarty->assign("json", $this->save_conf($this->fav));
     } else {
         $oSmarty->assign("json", $this->getJSObject());
     }
     return $this->_sThisTemplate;
 }
Beispiel #5
0
 /**
  * Executes parent method parent::render() and returns name of template
  * file "shop.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $sCurrentAdminShop = oxSession::getVar("currentadminshop");
     if (!$sCurrentAdminShop) {
         if (oxSession::getVar("malladmin")) {
             $sCurrentAdminShop = "oxbaseshop";
         } else {
             $sCurrentAdminShop = oxSession::getVar("actshop");
         }
     }
     $this->_aViewData["currentadminshop"] = $sCurrentAdminShop;
     oxSession::setVar("currentadminshop", $sCurrentAdminShop);
     return "shop.tpl";
 }
 /**
  * Calls parent::render, sets admin help url.
  *
  * @return string
  */
 public function render()
 {
     $sReturn = parent::render();
     // generate help link
     $myConfig = $this->getConfig();
     $sDir = $myConfig->getConfigParam('sShopDir') . '/documentation/admin';
     if (is_dir($sDir)) {
         $sDir = $myConfig->getConfigParam('sShopURL') . 'documentation/admin';
     } else {
         $languageId = $this->getDocumentationLanguageId();
         $oShop = $this->_getEditShop(oxRegistry::getSession()->getVariable('actshop'));
         $sDir = "http://docu.oxid-esales.com/PE/{$oShop->oxshops__oxversion->value}/" . $languageId . '/admin';
     }
     $this->_aViewData['sHelpURL'] = $sDir;
     return $sReturn;
 }
Beispiel #7
0
 public function render()
 {
     parent::render();
     $this->jxGetCategoryList('oxrootid', '', '');
     $this->jxSortCategoryList();
     $oModule = oxNew('oxModule');
     $oModule->load('jxgtaxo');
     $this->_aViewData["sModuleId"] = $oModule->getId();
     $this->_aViewData["sModuleVersion"] = $oModule->getInfo('version');
     foreach ($this->_aViewData["languages"] as $lang) {
         if ($lang->selected) {
             $this->_aViewData["actIsoLang"] = $lang->abbr;
         }
     }
     $this->_aViewData["aCategories"] = $this->aCategories;
     return $this->_sThisTemplate;
 }
Beispiel #8
0
 public function render()
 {
     $oConf = oxRegistry::getConfig();
     $this->_aViewData['aToxidCurlSource'] = $oConf->getShopConfVar('aToxidCurlSource');
     $this->_aViewData['aToxidCurlSourceSsl'] = $oConf->getShopConfVar('aToxidCurlSourceSsl');
     $this->_aViewData['aToxidSearchUrl'] = $oConf->getShopConfVar('aToxidSearchUrl');
     $this->_aViewData['aToxidCurlUrlParams'] = $oConf->getShopConfVar('aToxidCurlUrlParams');
     $this->_aViewData['aToxidCurlSeoSnippets'] = $oConf->getShopConfVar('aToxidCurlSeoSnippets');
     $this->_aViewData['toxidDontRewriteRelUrls'] = $oConf->getShopConfVar('toxidDontRewriteRelUrls');
     $this->_aViewData['toxidDontRewriteFileExtension'] = $oConf->getShopConfVar('toxidDontRewriteFileExtension');
     $this->_aViewData['toxidRewriteUrlEncoded'] = $oConf->getShopConfVar('toxidRewriteUrlEncoded');
     $this->_aViewData['toxidDontRewriteUrls'] = $oConf->getShopConfVar('toxidDontRewriteUrls');
     $this->_aViewData['bToxidDontPassPostVarsToCms'] = $oConf->getShopConfVar('bToxidDontPassPostVarsToCms');
     $this->_aViewData['bToxidRedirect301ToStartpage'] = $oConf->getShopConfVar('bToxidRedirect301ToStartpage');
     $this->_aViewData['toxidCacheTtl'] = $oConf->getShopConfVar('toxidCacheTtl');
     $this->_aViewData['toxidError404Link'] = $oConf->getShopConfVar('toxidError404Link');
     return parent::render();
 }
Beispiel #9
0
 public function render()
 {
     $cfg = oxRegistry::getConfig();
     //$this->addTplParam('exLog', $this->getExceptionLog());
     $this->addTplParam('errlog', $this->_sErrLog);
     $this->addTplParam('ip', $_SERVER['REMOTE_ADDR']);
     //var_dump("<h2>".$this->_sExLogPath."</h2>");
     //$this->getExceptionLog();
     //echo "<hr/>";
     //var_dump("<h2>".$this->_sErrorLog."</h2>");
     //$this->addTplParam('ErrorLog'] = $this->getErrorLog();
     //echo "<hr/>";
     //var_dump("<h2>".$this->_sDbLog."</h2>");
     //echo "<hr/>";
     //var_dump("<h2>".$this->_sMailLog."</h2>");
     //$this->addTplParam('ExceltionLog'] = "logs";
     return parent::render();
 }
Beispiel #10
0
 public function render()
 {
     parent::render();
     $this->jxGetCategoryList('oxrootid', '', '');
     $this->jxSortCategoryList();
     $myConfig = oxRegistry::get('oxConfig');
     $this->_aViewData["categoryFile"] = $myConfig->getConfigParam('sJxTaxoAmazonCategoryLocation');
     $oModule = oxNew('oxModule');
     $oModule->load('jxtaxo');
     $this->_aViewData["sModuleId"] = $oModule->getId();
     $this->_aViewData["sModuleVersion"] = $oModule->getInfo('version');
     foreach ($this->_aViewData["languages"] as $lang) {
         if ($lang->selected) {
             $this->_aViewData["actIsoLang"] = $lang->abbr;
         }
     }
     $this->_aViewData["aCategories"] = $this->aCategories;
     return $this->_sThisTemplate;
 }
 /**
  * Executes parent method parent::render() and prepares everything for the
  * payment table with all Barzahlen information.
  *
  * @return string with template file
  */
 public function render()
 {
     parent::render();
     $oOrder = $this->getEditObject();
     $this->_sPaymentMethod = $oOrder->oxorder__oxpaymenttype->value;
     $this->_aTransaction["id"] = $oOrder->oxorder__bztransaction->value;
     $this->_aTransaction["state"] = 'BZ__STATE_' . strtoupper($oOrder->oxorder__bzstate->value);
     $this->_aTransaction["currency"] = $oOrder->oxorder__oxcurrency->value;
     if ($oOrder->oxorder__bzstate->value == 'paid') {
         if ($oOrder->oxorder__bzrefunds->value != "") {
             $aRefundData = unserialize(str_replace("&quot;", "\"", $oOrder->oxorder__bzrefunds->value));
             foreach ($aRefundData as $iKey => $aRefund) {
                 $aRefundData[$iKey]['state'] = 'BZ__STATE_' . strtoupper($aRefund['state']);
             }
             $this->_aTransaction["refunds"] = $aRefundData;
         }
         $this->_aTransaction["refundable"] = $this->_getRefundable();
     }
     return $this->_sThisTemplate;
 }
Beispiel #12
0
 /**
  * Executes parent method parent::render()
  * to Smarty engine, returns name of template file "te_sales.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $myConfig = $this->getConfig();
     $oOrder = oxNew("oxOrder");
     $oCur = $myConfig->getActShopCurrencyObject();
     $oLang = oxRegistry::getLang();
     $this->_aViewData["currency"] = $oCur;
     // orders today
     $dSum = $oOrder->getOrderSum(true);
     $this->_aViewData["ordersum"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt"] = $oOrder->getOrderCnt(true);
     // ALL orders
     $dSum = $oOrder->getOrderSum();
     $this->_aViewData["ordertotalsum"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordertotalcnt"] = $oOrder->getOrderCnt();
     $dSum = $oOrder->getOrderSum(false, "yesterday");
     $this->_aViewData["ordersum_yesterday"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_yesterday"] = $oOrder->getOrderCnt(false, "yesterday");
     $dSum = $oOrder->getOrderSum(false, "week");
     $this->_aViewData["ordersum_week"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_week"] = $oOrder->getOrderCnt(false, "week");
     $dSum = $oOrder->getOrderSum(false, "lastweek");
     $this->_aViewData["ordersum_lastweek"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_lastweek"] = $oOrder->getOrderCnt(false, "lastweek");
     $dSum = $oOrder->getOrderSum(false, "month");
     $this->_aViewData["ordersum_month"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_month"] = $oOrder->getOrderCnt(false, "month");
     $dSum = $oOrder->getOrderSum(false, "lastmonth");
     $this->_aViewData["ordersum_lastmonth"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_lastmonth"] = $oOrder->getOrderCnt(false, "lastmonth");
     $dSum = $oOrder->getOrderSum(false, "nllastmonth");
     $this->_aViewData["ordersum_nllastmonth"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_nllastmonth"] = $oOrder->getOrderCnt(false, "nllastmonth");
     $dSum = $oOrder->getOrderSum(false, "year");
     $this->_aViewData["ordersum_year"] = $oLang->formatCurrency($dSum, $oCur);
     $this->_aViewData["ordercnt_year"] = $oOrder->getOrderCnt(false, "year");
     return "te_sales.tpl";
 }
 /**
  * Calls parent::render, sets admin help url
  *
  * @return string
  */
 public function render()
 {
     $sReturn = parent::render();
     $oLang = oxLang::getInstance();
     // generate help link
     $myConfig = $this->getConfig();
     $sDir = $myConfig->getConfigParam('sShopDir') . '/documentation/admin';
     $iLang = 1;
     $sAbbr = $oLang->getLanguageAbbr($oLang->getTplLanguage());
     if ($sAbbr == "de") {
         $iLang = 0;
     }
     if (is_dir($sDir)) {
         $sDir = $myConfig->getConfigParam('sShopURL') . 'documentation/admin';
     } else {
         $oShop = $this->_getEditShop(oxSession::getVar('actshop'));
         //$sDir = "http://docu.oxid-esales.com/PE/{$oShop->oxshops__oxversion->value}/" . $myConfig->getConfigParam( 'iAdminLanguage' ) . '/admin';
         $sDir = "http://docu.oxid-esales.com/PE/{$oShop->oxshops__oxversion->value}/" . $iLang . '/admin';
     }
     $this->_aViewData['sHelpURL'] = $sDir;
     return $sReturn;
 }
Beispiel #14
0
 /**
  * Executes parent method parent::render(), prints shop and
  * PHP configuration information.
  *
  * @return null
  */
 public function render()
 {
     $myConfig = $this->getConfig();
     parent::render();
     $oAuthUser = oxNew('oxuser');
     $oAuthUser->loadAdminUser();
     $blisMallAdmin = $oAuthUser->oxuser__oxrights->value == "malladmin";
     if ($blisMallAdmin && !$myConfig->isDemoShop()) {
         $aClassVars = get_object_vars($myConfig);
         $aSystemInfo = array();
         $aSystemInfo['pkg.info'] = $myConfig->getPackageInfo();
         $oSmarty = oxRegistry::get("oxUtilsView")->getSmarty();
         while (list($name, $value) = each($aClassVars)) {
             if (gettype($value) == "object") {
                 continue;
             }
             // security fix - we do not output dbname and dbpwd cause of demoshops
             if ($name == "oDB" || $name == "dbUser" || $name == "dbPwd" || $name == "oSerial" || $name == "aSerials" || $name == "sSerialNr") {
                 continue;
             }
             $value = var_export($value, true);
             $value = str_replace("\n", "<br>", $value);
             $aSystemInfo[$name] = $value;
             //echo( "$name = $value <br>");
         }
         $oSmarty->assign("oViewConf", $this->_aViewData["oViewConf"]);
         $oSmarty->assign("oView", $this->_aViewData["oView"]);
         $oSmarty->assign("shop", $this->_aViewData["shop"]);
         $oSmarty->assign("isdemo", $myConfig->isDemoShop());
         $oSmarty->assign("aSystemInfo", $aSystemInfo);
         echo $oSmarty->fetch("systeminfo.tpl");
         echo "<br><br>";
         phpinfo();
         oxRegistry::getUtils()->showMessageAndExit("");
     } else {
         return oxRegistry::getUtils()->showMessageAndExit("Access denied !");
     }
 }
 /**
  * Render view
  *
  * @return string
  */
 public function render()
 {
     $enabled = oxRegistry::getConfig()->getRequestParameter("enabled");
     if ($enabled !== null && count($enabled) > 0) {
         foreach ($enabled as $position => $block) {
             $blockObject = oxNew("rsOxBlock");
             $blockObject->load($block);
             $blockObject->setOxActive(1);
             $blockObject->setOxPos($position);
             $blockObject->save();
         }
     }
     $disabled = oxRegistry::getConfig()->getRequestParameter("disabled");
     if ($disabled !== null && count($disabled) > 0) {
         foreach ($disabled as $block) {
             $blockObject = oxNew("rsOxBlock");
             $blockObject->load($block);
             $blockObject->setOxActive(0);
             $blockObject->save();
         }
     }
     return parent::render();
 }
 /**
  * Executes parent method parent::render(), passes data to Smarty engine
  * and returns name of template file "article_jxattredit.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $myConfig = oxRegistry::get("oxConfig");
     $nColumns = $myConfig->getConfigParam("sJxAttrEditNumberOfColumns");
     $this->_aViewData["edit"] = $oArticle = oxNew("oxarticle");
     $soxId = $this->getConfig()->getRequestParameter("oxid");
     if ($soxId != "-1" && isset($soxId)) {
         // load object
         $oArticle->loadInLang($this->_iEditLang, $soxId);
         // load object in other languages
         $oOtherLang = $oArticle->getAvailableInLangs();
         if (!isset($oOtherLang[$this->_iEditLang])) {
             // echo "language entry doesn't exist! using: ".key($oOtherLang);
             $oArticle->loadInLang(key($oOtherLang), $soxId);
         }
         foreach ($oOtherLang as $id => $language) {
             $oLang = new oxStdClass();
             $oLang->sLangDesc = $language;
             $oLang->selected = $id == $this->_iEditLang;
             $this->_aViewData["otherlang"][$id] = clone $oLang;
         }
         // variant handling
         if ($oArticle->oxarticles__oxparentid->value) {
             $oParentArticle = oxNew("oxarticle");
             $oParentArticle->load($oArticle->oxarticles__oxparentid->value);
             $this->_aViewData["parentarticle"] = $oParentArticle;
             $this->_aViewData["oxparentid"] = $oArticle->oxarticles__oxparentid->value;
         }
         $sShopID = $myConfig->getShopID();
         $sOxvArticles = getViewName('oxarticles', $this->_iEditLang, $sShopID);
         $sOxvAttribute = getViewName('oxattribute', $this->_iEditLang, $sShopID);
         $sOxvObject2Attribute = getViewName('oxobject2attribute', $this->_iEditLang, $sShopID);
         $oDb = oxDb::getDb(oxDB::FETCH_MODE_ASSOC);
         if ($oArticle->oxarticles__oxparentid->value) {
             $sSrcId = $oArticle->oxarticles__oxparentid->value;
         } else {
             $sSrcId = $soxId;
         }
         $sSql = "SELECT oxid AS oxid, oxartnum AS oxartnum, " . "IF(oxparentid='', " . "oxtitle, " . "IF(oxtitle='', " . "CONCAT((SELECT b.oxtitle FROM {$sOxvArticles} b WHERE b.oxid='{$sSrcId}'), ' - ', oxvarselect), " . "CONCAT(oxtitle, ' - ', oxvarselect) " . ") " . ") AS oxtitle " . "FROM {$sOxvArticles} " . "WHERE " . "oxid='{$sSrcId}' " . "OR oxparentid='{$sSrcId}' " . "ORDER BY oxvarselect ";
         $rs = $oDb->Execute($sSql);
         $aProdList = array();
         while (!$rs->EOF) {
             array_push($aProdList, $rs->fields);
             $rs->MoveNext();
         }
         $sSql1 = "SELECT oxid AS oxid, oxtitle AS oxtitle FROM {$sOxvAttribute} a ORDER BY oxtitle";
         $aAttrList = array();
         $i = 0;
         $rs1 = $oDb->Execute($sSql1);
         while (!$rs1->EOF) {
             $sSql2 = "SELECT DISTINCT oxvalue AS oxvalue " . "FROM {$sOxvObject2Attribute} " . "WHERE oxattrid = '" . $rs1->fields['oxid'] . "' " . "ORDER BY oxvalue ";
             $aAttrValues = array();
             $rs2 = $oDb->Execute($sSql2);
             while (!$rs2->EOF) {
                 array_push($aAttrValues, $rs2->fields['oxvalue']);
                 $rs2->MoveNext();
             }
             $sSql3 = "SELECT oxid AS voxid, oxvalue AS oxvalue " . "FROM {$sOxvObject2Attribute} " . "WHERE oxobjectid = '{$soxId}' " . "AND oxattrid = '" . $rs1->fields['oxid'] . "' ";
             $rs3 = $oDb->Execute($sSql3);
             if (!$rs3->EOF) {
                 $ValueID = $rs3->fields['voxid'];
                 $ArtValue = $rs3->fields['oxvalue'];
             } else {
                 $ValueID = "";
                 $ArtValue = "";
             }
             array_push($aAttrList, $rs1->fields);
             $aAttrList[$i]['oxvalueid'] = $ValueID;
             $aAttrList[$i]['oxartvalue'] = $ArtValue;
             $aAttrList[$i]['oxvalues'] = $aAttrValues;
             $i++;
             $rs1->MoveNext();
         }
         $nAttrSplit = round($i / $nColumns + 0.5, 0, PHP_ROUND_HALF_UP);
         $sSql = "SELECT a.oxtitle AS oxtitle, 'Testwert' as oxvalue FROM oxattribute a ORDER BY oxpos, oxtitle";
         $aAttributes = array();
         $rs = $oDb->Execute($sSql);
         while (!$rs->EOF) {
             array_push($aAttributes, $rs->fields);
             $rs->MoveNext();
         }
         $this->_aViewData["nAttrSplit"] = $nAttrSplit;
         $this->_aViewData["nColumns"] = $nColumns;
         $this->_aViewData["aProdList"] = $aProdList;
         $this->_aViewData["aAttrList"] = $aAttrList;
         $this->_aViewData["aAttributes"] = $aAttributes;
     }
     return $this->_sThisTemplate;
 }
 /**
  * @return string
  */
 public function render()
 {
     parent::render();
 }
 /**
  * Changing active shop
  *
  * @return string
  */
 public function chshp()
 {
     parent::chshp();
     // informing about basefrm parameters
     $this->_aViewData['loadbasefrm'] = true;
     $sListView = oxConfig::getParameter('listview');
     $sEditView = oxConfig::getParameter('editview');
     $iActEdit = oxConfig::getParameter('actedit');
     $this->_aViewData['listview'] = $sListView;
     $this->_aViewData['editview'] = $sEditView;
     $this->_aViewData['actedit'] = $iActEdit;
 }
 /**
  * Returns current class template name
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     return $this->_sThisTemplate;
 }
 /**
  * Executes parent method parent::render() and returns name of template
  * file "shop.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $this->_aViewData['currentadminshop'] = static::SHOP_ID;
     return static::CURRENT_TEMPLATE;
 }
 /**
  * Executes parent::render(), sets back search keys to view, sets navigation params
  *
  * @return null
  */
 public function render()
 {
     $sReturn = parent::render();
     // assign our list
     $this->_aViewData['mylist'] = $this->getItemList();
     // set navigation parameters
     $this->_setListNavigationParams();
     return $sReturn;
 }
 public function init()
 {
     parent::init();
     $this->_oConf = $this->getConfig();
 }
Beispiel #23
0
 /**
  * Returns navigation object
  *
  * @return oxnavigationtree
  */
 public function getNavigation()
 {
     if (self::$_oNaviTree == null) {
         self::$_oNaviTree = oxNew('oxnavigationtree');
     }
     return self::$_oNaviTree;
 }
 public function render()
 {
     $this->assignStatusToTemplate();
     parent::render();
     return 'paymill_install.tpl';
 }
Beispiel #25
0
 /**
  * Executes parent method parent::render() and returns name of template
  * file "theme.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     return "theme.tpl";
 }
Beispiel #26
0
 /**
  * Executes parent method parent::render() and returns name of template
  * file "theme.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     return "module.tpl";
 }
Beispiel #27
0
 public function render()
 {
     $ret = parent::render();
     $preview = oxRegistry::getConfig()->getRequestParameter('preview');
     return $preview ? "vt_dev_mails_preview.tpl" : $ret;
 }
 public function render()
 {
     parent::render();
     $this->addTplParam('listUrl', $this->_getAdminUrl() . '&cl=paymill_log_list');
 }
 /**
  * Parent `render` call. Method required for mocking.
  *
  * @codeCoverageIgnore
  *
  * @return null
  */
 protected function _Admin_oxpsModuleGenerator_render_parent()
 {
     return parent::render();
 }
 /**
  * Current view ID getter helps to identify navigation position
  * fix for 0003701, passing dynexportbase::getViewId
  *
  * @return string
  */
 public function getViewId()
 {
     return oxAdminView::getViewId();
 }