Subversion Repositories oidplus

Rev

Rev 1131 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1131 Rev 1279
Line 40... Line 40...
40
         * @param string $text
40
         * @param string $text
41
         * @return void
41
         * @return void
42
         * @throws \ViaThinkSoft\OIDplus\OIDplusException
42
         * @throws \ViaThinkSoft\OIDplus\OIDplusException
43
         */
43
         */
44
        public function modifyContent(string $id, string &$title, string &$icon, string &$text) {
44
        public function modifyContent(string $id, string &$title, string &$icon, string &$text) {
45
            $text .= '<br /> <a href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE)
45
            $payload = '<br /> <a href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE)
46
                        .'rdap/rdap.php?query='.urlencode($id).'" class="gray_footer_font" target="_blank">'._L('RDAP').'</a>';
46
                        .'rdap/rdap.php?query='.urlencode($id).'" class="gray_footer_font" target="_blank">'._L('RDAP').'</a>';
-
 
47
 
-
 
48
                $text = str_replace('<!-- MARKER 6 -->', '<!-- MARKER 6 -->'.$payload, $text);
47
        }
49
        }
48
 
50
 
49
        /**
51
        /**
50
         * @param string $request
52
         * @param string $request
51
         * @return bool
53
         * @return bool