Lines Matching +full:- +full:q
13 $html .= $this->tabNavigation();
15 match ($this->currentTab()) {
16 'search' => $html .= $this->tabSearch(),
17 'templates' => $html .= $this->tabTemplates(),
18 'install' => $html .= $this->tabInstall(),
19 default => $html .= $this->tabPlugins(),
33 foreach ($this->tabs as $tab) {
34 $url = $this->tabURL($tab);
35 if ($this->currentTab() == $tab) {
41 $this->getLang('tab_' . $tab) . '</a></li>';
55 $html .= $this->helper->locale_xhtml('intro_plugins');
58 $plugins = (new Local())->getPlugins();
61 Repository::getInstance()->initExtensions(array_keys($plugins));
63 msg($e->getMessage(), -1); // this should not happen
67 $html .= '<form action="' . $this->tabURL('plugins') . '" method="post">';
72 $html .= $gui->render();
88 $html .= $this->helper->locale_xhtml('intro_templates');
91 $templates = (new Local())->getTemplates();
94 Repository::getInstance()->initExtensions(array_keys($templates));
96 msg($e->getMessage(), -1); // this should not happen
100 $html .= '<form action="' . $this->tabURL('templates') . '" method="post">';
105 $html .= $gui->render();
123 $html .= $this->helper->locale_xhtml('intro_search');
127 'action' => $this->tabURL('search'),
130 $form->addTagOpen('div')->addClass('no');
131 $form->addTextInput('q', $this->getLang('search_for'))
132 ->addClass('edit')
133 ->val($INPUT->str('q'));
134 $form->addButton('submit', $this->getLang('search'))
135 ->attrs(['type' => 'submit', 'title' => $this->getLang('search')]);
136 $form->addTagClose('div');
137 $html .= $form->toHTML();
139 if ($INPUT->str('q')) $html .= $this->searchResults($INPUT->str('q'));
154 $html .= $this->helper->locale_xhtml('intro_install');
158 'action' => $this->tabURL('install'),
159 'enctype' => 'multipart/form-data',
162 $form->addTagOpen('div')->addClass('no');
163 $form->addTextInput('installurl', $this->getLang('install_url'))
164 ->addClass('block')
165 ->attrs(['type' => 'url']);
166 $form->addTag('br');
167 $form->addTextInput('installfile', $this->getLang('install_upload'))
168 ->addClass('block')
169 ->attrs(['type' => 'file']);
170 $form->addTag('br');
171 $form->addCheckbox('overwrite', $lang['js']['media_overwrt'])
172 ->addClass('block');
173 $form->addTag('br');
174 $form->addButton('', $this->getLang('btn_install'))
175 ->attrs(['type' => 'submit', 'title' => $this->getLang('btn_install')]);
176 $form->addTagClose('div');
177 $html .= $form->toHTML();
185 * @param string $q the query
188 protected function searchResults($q) argument
193 $html .= '<form action="' . $this->tabURL('search') . '" method="post">';
197 $extensions = $repo->searchExtensions($q);
201 $html .= $gui->render();
205 msg($e->getMessage(), -1);