Lines Matching refs:event
31 * @param Doku_Event $event Event.
34 public function handle_login_form(&$event, $param) { argument
54 $event->data->params['action'] = $phpbb_url . '/ucp.php?mode=login';
61 $pos = $event->data->findElementByAttribute('name', 'u');
65 $event->data->replaceElement($pos, null);
66 $event->data->insertElement($pos, $elem);
73 $pos = $event->data->findElementByAttribute('name', 'p');
77 $event->data->replaceElement($pos, null);
78 $event->data->insertElement($pos, $elem);
86 $pos = $event->data->findElementByAttribute('name', 'r');
90 $event->data->replaceElement($pos, null);
91 $event->data->insertElement($pos, $elem);
99 $event->data->insertElement($pos + 1, $elem);
104 $pos = $event->data->findElementByType('button');
108 $event->data->replaceElement($pos, null);
109 $event->data->insertElement($pos, $elem);
112 $event->data->insertElement($pos - 1, $elem);
114 …$event->data->addElement('<p>' . sprintf($this->getLang('login_bottom_text'), $phpbb_url) . '</p>'…
120 * @param Doku_Event $event Event.
123 public function handle_user_link(&$event, $param) { argument
130 if (($conf['showuseras'] !== 'username_link') || $event->data['textonly']) {
133 if (empty($event->data['name'])) {
134 $event->data['name'] = $event->data['username'];
136 $data = $auth->getUserData($event->data['username']);
144 $profile = sprintf($profile, '#', $event->data['name']);
146 $event->data = array(
147 'username' => $event->data['username'],
148 'name' => $event->data['name'],
149 'link' => $event->data['link'],
151 'textonly' => $event->data['textonly']