Lines Matching refs:pos
200 $pos = $form->findPositionByAttribute('name', 'fullname');
201 $form->getElementAt($pos)->attr('disabled', 'disabled');
209 $pos = $form->elementCount();
223 $this->insertTextInput($form, $pos, $faction, $this->getLang('faction'));
226 $this->insertTextInput($form, $pos, $alliance, $this->getLang('alliance'));
229 $this->insertTextInput($form, $pos, $corp, $this->getLang('corporation'));
237 $pos = count($form->_content);
249 $form->insertElement($pos, form_closefieldset());
251 …$form->insertElement($pos, form_makeTextField($faction, $faction, $this->getLang('faction'), '', '…
254 …$form->insertElement($pos, form_makeTextField($alliance, $alliance, $this->getLang('alliance'), ''…
257 …$form->insertElement($pos, form_makeTextField($corp, $corp, $this->getLang('corporation'), '', 'bl…
268 $pos = strpos($haystack, $needle);
269 if ($pos !== false) {
270 $haystack = substr_replace($haystack, $replace, $pos, strlen($needle));
275 private function insertTextInput($form, $pos, $value, $name) { argument
276 $textInput = $form->addTextInput($value, $name, $pos);
283 $form->addHTML('<br>', $pos);
286 private function insertElement($form, $pos, $out) { argument
288 $form->addHtml($out, $pos);
290 $form->insertElement($pos, $out);
316 $pos = $form->elementCount() - 3; //At the end
319 $pos = 0;
325 $pos = $form->elementCount(); //At the end
327 $pos = count($form->_content);
331 $form->addFieldsetOpen($this->getLang('loginwith'), ++$pos);
332 $form->addHtml($html, ++$pos);
335 …$form->insertElement(++$pos, form_openfieldset(array('_legend' => $this->getLang('loginwith'), 'cl…
336 $form->insertElement(++$pos, $html);
337 $form->insertElement(++$pos, form_closefieldset());