/** */ public function renderActive($renderer, $vars, $action, $method) { parent::renderActive($renderer, $vars, $action, $method); if ($this->_contact->isGroup()) { $edit_url = Horde::url('browse.php')->add(array('key' => $this->_contact->getValue('__key'), 'source' => $this->_contact->getSource())); echo '<div class="editGroupMembers">' . Horde::link($edit_url) . '<span class="iconImg groupImg"></span>' . _("Edit/View Contact List Members") . '</a>' . '</div>'; } }
public function getTitle() { return $this->contact ? sprintf($this->contact->isGroup() ? _("Edit Contact List \"%s\"") : _("Edit \"%s\""), $this->contact->getValue('name')) : _("Not Found"); }