42 $initServerName =
'test.local';
45 $bearsamppWinbinder->reset();
48 $this->wbLabelName = $bearsamppWinbinder->createLabel($this->wbWindow,
$bearsamppLang->getValue(
Lang::NAME) .
' :', 15, 15, 85,
null, WBC_RIGHT);
49 $this->wbInputName = $bearsamppWinbinder->createInputText($this->wbWindow, $initServerName, 105, 13, 150,
null);
51 $this->wbLabelDest = $bearsamppWinbinder->createLabel($this->wbWindow,
$bearsamppLang->getValue(
Lang::TARGET) .
' :', 15, 45, 85,
null, WBC_RIGHT);
52 $this->wbInputDest = $bearsamppWinbinder->createInputText($this->wbWindow, $initDocumentRoot, 105, 43, 190,
null,
null, WBC_READONLY);
55 $this->wbProgressBar = $bearsamppWinbinder->createProgressBar($this->wbWindow, self::GAUGE_SAVE + 1, 15, 97, 275);
59 $bearsamppWinbinder->setHandler($this->wbWindow, $this,
'processWindow');
60 $bearsamppWinbinder->mainLoop();
61 $bearsamppWinbinder->reset();
86 if ($target && is_dir($target)) {
91 $bearsamppWinbinder->setProgressBarMax($this->wbProgressBar, self::GAUGE_SAVE + 1);
92 $bearsamppWinbinder->incrProgressBar($this->wbProgressBar);
95 if ($bearsamppOpenSsl->createCrt($name, $target)) {
96 $bearsamppWinbinder->incrProgressBar($this->wbProgressBar);
97 $bearsamppWinbinder->messageBoxInfo(
100 $bearsamppWinbinder->destroyWindow($window);
103 $bearsamppWinbinder->resetProgressBar($this->wbProgressBar);
108 $bearsamppWinbinder->destroyWindow($window);