roundcubemail/program/lib/Roundcube/rcube_string_replacer.php
public function linkref_addindex($matches)
    {
        $key = $matches[1];
        $this->linkrefs[$key] = $this->urls[$matches[3]];

        return $this->get_replacement($this->add('['.$key.']')) . $matches[2];
    }
public function linkref_addindex($matches)
    {
        $key = $matches[1];
        $this->linkrefs[$key] = $this->urls[$matches[3]];

        return $this->get_replacement($this->add('['.$key.']')) . $matches[2];
    }
public function linkref_addindex ( $ matches ) { $ key = $ matches [ 1 ] ; $ this -> linkrefs [ $ key ] = $ this -> urls [ $ matches [ 3 ] ] ; return $ this -> get_replacement ( $ this -> add ( '[' . $ key . ']' ) ) . $ matches [ 2 ] ; }
Callback to add an entry to the link index
Callback to add an entry to the link index