roundcubemail/program/include/rcmail_output_html.php
protected function postrender($output)
    {
        // insert objects' contents
        foreach ($this->objects as $key => $val) {
            $output = str_replace($key, $val, $output, $count);
            if ($count) {
                $this->objects[$key] = null;
            }
        }

        // make sure all <form> tags have a valid request token
        $output = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $output);

        return $output;
    }
protected function postrender($output)
    {
        // insert objects' contents
        foreach ($this->objects as $key => $val) {
            $output = str_replace($key, $val, $output, $count);
            if ($count) {
                $this->objects[$key] = null;
            }
        }

        // make sure all <form> tags have a valid request token
        $output = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $output);

        return $output;
    }
protected function postrender ( $ output ) { // insert objects' contents foreach ( $ this -> objects as $ key => $ val ) { $ output = str_replace ( $ key , $ val , $ output , $ count ) ; if ( $ count ) { $ this -> objects [ $ key ] = null ; } } // make sure all <form> tags have a valid request token $ output = preg_replace_callback ( '/<form\s+([^>]+)>/Ui' , array ( $ this , 'alter_form_tag' ) , $ output ) ; return $ output ; }
Put objects' content back into template output
Put objects content back into template output