74 $this->wbWindow = $winbinder->createAppWindow($lang->getValue(
Lang::CHECK_VERSION_TITLE), 380, 170, WBC_NOTIFY, WBC_KEYDOWN | WBC_KEYUP);
78 $this->wbLinkFull = $winbinder->createHyperLink($this->wbWindow, $labelFullLink, 80, 87, 200, 20, WBC_LINES | WBC_RIGHT);
80 $this->wbBtnOk = $winbinder->createButton($this->wbWindow, $lang->getValue(
Lang::BUTTON_OK), 280, 103);
81 $this->wbImage = $winbinder->drawImage($this->wbWindow, $core->getResourcesPath() .
'/homepage/img/about.bmp');
84 $winbinder->setHandler($this->wbWindow, $this,
'processWindow');
85 $winbinder->mainLoop();
120 if ($latestVersionInfo && isset($latestVersionInfo[
'html_url'])) {
122 if (!$bearsamppWinbinder->exec($browserPath, $latestVersionInfo[
'html_url'])) {
123 Util::logError(
"Failed to open browser at path: $browserPath with URL: " . $latestVersionInfo[
'html_url']);
126 Util::logError(
"Failed to retrieve latest version info or 'html_url' not set.");
131 $bearsamppWinbinder->destroyWindow($window);