Lines Matching refs:out

130                     $out = $this->showcontact($_REQUEST['showcontact'],$ID);
131 if ($out !== false) $renderer->doc .= $out.'<br>';
190 $out = $this->buildForm($contact_id,$cinfo);
191 $renderer->doc .= $out;
198 $out = $this->searchDialog();
199 $renderer->doc .= $out;
220 $out = $this->showcontact($_REQUEST['showcontact'],$ID);
221 if ($out !== false) $renderer->doc .= $out.'<br>';
239 $out = '';
241 $out .= '<div class="plugin_addressbook_searchbox">';
243 $out .= '<form enctype="multipart/form-data" action="'.wl($ID).'" method="POST">';
244 …$out .= '<span>'.$this->getLang('addressbook').'</span> <input type="text" name="searchtext" place…
245 $out .= '<input type="submit" name="Submit" value="'.$this->getLang('exec search').'" />';
247 $out .= '</form>';
248 $out .= '</div>';
250 return $out;
256 $out = '<div class="plugin_addressbook_editform">';
258 …if ($contact_id == 'new') {$out .= '<h2>'.$this->getLang('header add').'</h2>';} else {$out .= '<h…
260 $out .= '<br><form enctype="multipart/form-data" action="'.wl($ID).'" method="POST">';
261 $out .= '<input type="hidden" name="MAX_FILE_SIZE" value="2200000" />';
262 $out .= '<input type="hidden" name="contactid" value="'.$contact_id.'" />';
263 …$out .= '<input type="text" name="firstname" placeholder="'.$this->getLang('form firstname').'" va…
264 …$out .= '<input type="text" name="surname" placeholder="'.$this->getLang('form surname').'" value=…
265 …$out .= '<input type="text" name="cfunction" placeholder="'.$this->getLang('form function').'" val…
266 …$out .= '<input type="text" name="department" placeholder="'.$this->getLang('form department').'" …
267 …$out .= '<input type="text" name="tel1" placeholder="'.$this->getLang('form tel1').'" value="'.$ci…
268 …$out .= '<input type="text" name="tel2" placeholder="'.$this->getLang('form tel2').'" value="'.$ci…
269 …$out .= '<input type="text" name="fax" placeholder="'.$this->getLang('form fax').'" value="'.$cinf…
270 …$out .= '<input type="text" name="email" placeholder="'.$this->getLang('form email').'" value="'.$…
271 …$out .= '<br>'.$this->getLang('form description').':<br><textarea name="description">'.$cinfo['des…
273 $out .= '<div class="photoupload">';
276 …$out .= "<img style='float:left;max-width:120px' src='data:image/jpg;base64,".($cinfo['photo'])."'…
277 … $out .= '<br><input type="checkbox" id="removephoto" name="removephoto" value="Remove photo"> ';
278 $out .= '<label for="removephoto">'.$this->getLang('form remove').'</label><br><br>';
279 $out .= $this->getLang('form upload info2').'.<br>';
280 $out .= '<input type="hidden" name="blob" value="'.($cinfo['photo']).'">';
283 $out .= '</div>';
284 …$out .= $this->getLang('form upload').': <input name="photo" type="file" /> '.$this->getLang('form…
288 $out .= '<br><input type="submit" name="Submit" value="'.$this->getLang('exec save').'" />';
289 $out .= '<input type="submit" name="Submit" value="'.$this->getLang('exec cancel').'" />';
290 $out .= '</form>';
291 $out .= "<div class='id'>ID: $contact_id</div>";
292 $out .= '</div>';
294 return $out;
303 $out ='';
305 $out .= '<div class="plugin_addressbook_singlecontact">';
307 $out .= '<div class="content">';
309 $out .= '<div class="data">';
312 $out .= '<b>'.$r['surname'] .($r['firstname'] <> ''? ', '.$r['firstname']:'').'</b>';
313 if (strlen($r['surname'] .$r['firstname'])>0) $out .= '<br>';
316 if ($r['surname'].$r['firstname'] == '') $out .= '<b>';
318 …if ($r['department'].$r['cfunction'] != '') $out .= $this->names(array($r['cfunction'],$r['departm…
320 if (strlen($r['cfuntion'] .$r['department'])>0) $out .= '<br>';
321 if ($r['surname'].$r['firstname'] == '') $out .= '</b>';
324 …if ($r['tel1'].$r['tel2'] <> '') $out .= '<br>Tel.: '.$this->names(array($r['tel1'],$r['tel2']),' …
327 if ($r['fax']<>'') $out .= '<br>Fax: '.$r['fax'];
330 … if ($r['email']<>'') $out .= '<br>Mail: <a href="mailto:'.$r['email'].'">'.$r['email'].'</a>';
332 $out .= '</div>';
334 …if ($r['photo'] != false) $out .= "<img class='photo' src='data:image/jpg;base64,".($r['photo'])."…
336 $out .= '</div>';
338 if ($r['description']<>'') $out .= $r['description'];
341 $out .= '<div class="footer">';
343 $out .= 'Nr. '.$r['id'];
346 $out .= '<span class="buttons">';
347 … $out .= '<a href="'.wl($target,'editcontact='.$r['id']).'">'.$this->getLang('exec edit').'</a>';
348 …$out .= '<a href="'.wl($target,'erasecontact='.$r['id']).'" onclick="return confirm(\'Sure?\');">'…
349 $out .= '</span>';
352 $out .= '</div>';
355 $out .= '</div>';
357 return $out;
747 $out .= $this->getLang('elements').': '.count($list);
748 $out .= '<div class="addressbook_list" style="column-width:20em;margin-top:3px;">';
757 $out .= '<h3>'.$r[$separator].'</h3>';
761 $out .= '<span>';
765 if ($target != false) $out .= '<a href="'.wl($target,'showcontact='.$r['id']).'">';
767 $out .= $r['surname'] .($r['firstname'] <> ''? ', '.$r['firstname']:'');
768 if (!$names) $out .= $this->names(array($r['cfunction'],$r['department']));
770 if ($target != false) $out .= '</a>';
772 …if ($names && $r['cfunction'].$r['department'] <>'') $out .= ' ('.$this->names(array($r['cfunction…
774 … if ($r['tel1'].$r['tel2'] <> '') $out .= ' Tel: '.$this->names(array($r['tel1'],$r['tel2']));
776 $out .= '</span>';
778 $out .= '</div>';
780 return $out;
871 $out .= '<table class="plugin_addressbook_print">';
881 $out .= '<tr'.($row % 2 == 1? ' style="background:lightgray"':'').'>';
886 …$out .= '<td style="font-weight:bold;text-decoration:underline;font-size:12px;text-align:left;back…
888 … if ($col < count($i)) $out .= '<td style="background:white;width:10px;"></td>';
894 …$out .= '<td style="text-align:left">'.$this->names(array($list[$d]['cfunction'],$list[$d]['surnam…
895 $out .= '<td>'.$list[$d]['tel1'].'</td>';
896 $out .= '<td>'.$list[$d]['tel2'].'</td>';
897 $out .= '<td>'.$list[$d]['fax'].'</td>';
900 … if ($col < count($i)) $out .= '<td style="background:white;width:10px;"></td>';
905 … $out.= '<td colspan=4 style="background:white;">'.str_repeat('&nbsp;',15).'</td>';
907 … if ($col < count($i)) $out .= '<td style="background:white;width:10px;"></td>';
912 $out .= '</tr>';
916 $out .= '</table>';
920 return $out;
971 $out = '<pre>'.print_r($_REQUEST,true).'</pre>';
972 if ($direct) echo $out;
973 return $out;