Lines Matching +full:- +full:q
13 $html .= $this->tabNavigation();
15 switch ($this->currentTab()) {
17 $html .= $this->tabSearch();
20 $html .= $this->tabTemplates();
23 $html .= $this->tabInstall();
27 $html .= $this->tabPlugins();
41 foreach ($this->tabs as $tab) {
42 $url = $this->tabURL($tab);
43 if ($this->currentTab() == $tab) {
49 $this->getLang('tab_' . $tab) . '</a></li>';
63 $html .= $this->helper->locale_xhtml('intro_plugins');
66 $plugins = (new Local())->getPlugins();
69 Repository::getInstance()->initExtensions(array_keys($plugins));
71 msg($e->getMessage(), -1); // this should not happen
75 $html .= '<form action="' . $this->tabURL('plugins') . '" method="post">';
80 $html .= $gui->render();
96 $html .= $this->helper->locale_xhtml('intro_templates');
99 $templates = (new Local())->getTemplates();
102 Repository::getInstance()->initExtensions(array_keys($templates));
104 msg($e->getMessage(), -1); // this should not happen
108 $html .= '<form action="' . $this->tabURL('templates') . '" method="post">';
113 $html .= $gui->render();
131 $html .= $this->helper->locale_xhtml('intro_search');
135 'action' => $this->tabURL('search'),
138 $form->addTagOpen('div')->addClass('no');
139 $form->addTextInput('q', $this->getLang('search_for'))
140 ->addClass('edit')
141 ->val($INPUT->str('q'));
142 $form->addButton('submit', $this->getLang('search'))
143 ->attrs(['type' => 'submit', 'title' => $this->getLang('search')]);
144 $form->addTagClose('div');
145 $html .= $form->toHTML();
147 if ($INPUT->str('q')) $html .= $this->searchResults($INPUT->str('q'));
162 $html .= $this->helper->locale_xhtml('intro_install');
166 'action' => $this->tabURL('install'),
167 'enctype' => 'multipart/form-data',
170 $form->addTagOpen('div')->addClass('no');
171 $form->addTextInput('installurl', $this->getLang('install_url'))
172 ->addClass('block')
173 ->attrs(['type' => 'url']);
174 $form->addTag('br');
175 $form->addTextInput('installfile', $this->getLang('install_upload'))
176 ->addClass('block')
177 ->attrs(['type' => 'file']);
178 $form->addTag('br');
179 $form->addCheckbox('overwrite', $lang['js']['media_overwrt'])
180 ->addClass('block');
181 $form->addTag('br');
182 $form->addButton('', $this->getLang('btn_install'))
183 ->attrs(['type' => 'submit', 'title' => $this->getLang('btn_install')]);
184 $form->addTagClose('div');
185 $html .= $form->toHTML();
193 * @param string $q the query
196 protected function searchResults($q) argument
201 $html .= '<form action="' . $this->tabURL('search') . '" method="post">';
205 $extensions = $repo->searchExtensions($q);
209 $html .= $gui->render();
213 msg($e->getMessage(), -1);