/** * Set JS/Hook for geolocation * * @param Database_Result $objPage * @param Database_Result $objLayout * @param PageRegular $objPageRegular */ public function checkModuleelement($strBuffer, $strTemplate) { if ($this->booRunFinished == true) { return $strBuffer; } // Check if we have allready a geolocation from user if ($this->objUserGeolocation->isTracked() == true) { $this->booRunFinished = true; return $strBuffer; } $this->checkGeolocation(); return $strBuffer; }