&dn=<?php echo rawurlencode($val); ?> "><img style="vertical-align: top" src="images/go.png" /></a> <?php } elseif (is_mail_string($val)) { ?> <a href="mailto:<?php echo htmlspecialchars($val); ?> "><img style="vertical-align: center" src="images/mail.png" /></a> <?php } elseif (is_url_string($val)) { ?> <a href="<?php echo htmlspecialchars($val); ?> " target="new"><img style="vertical-align: center" src="images/dc.png" /></a> <?php } if ($ldapserver->isMultiLineAttr($attr, $val)) { if ($side == 'dst') { ?> <textarea class="val" rows="3" cols="30" name="<?php echo $input_name; ?>
/** DRAW ICONS FOR ATTRIBUTES VALUES **/ protected function drawIconAttribute($attribute, $val) { if (DEBUGTMP) { printf('<font size=-2>%s</font><br />', __METHOD__); } if (is_dn_string($val) || $this->getServer()->isDNAttr($attribute->getName())) { $this->draw('DnValueIcon', $attribute, $val); } elseif (is_mail_string($val)) { $this->draw('MailValueIcon', $attribute, $val); } elseif (is_url_string($val)) { $this->draw('UrlValueIcon', $attribute, $val); } else { if ($icon = $attribute->getIcon()) { printf('<img src="%s" alt="Icon" style="float: right;" /> ', $icon); } } }