Subversion Repositories oidplus

Rev

Rev 1433 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1433 Rev 1457
Line 109... Line 109...
109
                        $out['icon'] = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png' : '';
109
                        $out['icon'] = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png' : '';
110
 
110
 
111
                        $out['text']  = '<p>'._L('With the OID Information Protocol (OID-IP), you can query object information in a format that is human-readable and machine-readable.').'</p>';
111
                        $out['text']  = '<p>'._L('With the OID Information Protocol (OID-IP), you can query object information in a format that is human-readable and machine-readable.').'</p>';
112
 
112
 
113
                        // Use this if webwhois.php matches the currently uploaded Internet Draft:
113
                        // Use this if webwhois.php matches the currently uploaded Internet Draft:
114
                        $out['text'] .= '<p>'._L('RFC Internet Draft').': <a target="_blank" href="https://datatracker.ietf.org/doc/draft-viathinksoft-oidip/">draft-viathinksoft-oidip-06</a></p>';
114
                        $out['text'] .= '<p>'._L('RFC Internet Draft').': <a target="_blank" href="https://datatracker.ietf.org/doc/draft-viathinksoft-oidip/">draft-viathinksoft-oidip-07</a></p>';
115
                        // Use this if webwhois.php implements something which is not yet uploaded to IETF:
115
                        // Use this if webwhois.php implements something which is not yet uploaded to IETF:
116
                        //$out['text'] .= '<p>'._L('RFC Internet Draft').': <a href="'.OIDplus::webpath(__DIR__.'/whois/rfc/draft-viathinksoft-oidip-06.txt', true).'" target="_blank">draft-viathinksoft-oidip-06</a></p>';
116
                        //$out['text'] .= '<p>'._L('RFC Internet Draft').': <a href="'.OIDplus::webpath(__DIR__.'/whois/rfc/draft-viathinksoft-oidip-07.txt', true).'" target="_blank">draft-viathinksoft-oidip-07</a></p>';
117
                        # ---
117
                        # ---
118
                        $out['text'] .= '<noscript>';
118
                        $out['text'] .= '<noscript>';
119
                        $out['text'] .= '<p><font color="red">'._L('You need to enable JavaScript to use this feature.').'</font></p>';
119
                        $out['text'] .= '<p><font color="red">'._L('You need to enable JavaScript to use this feature.').'</font></p>';
120
                        $out['text'] .= '</noscript>';
120
                        $out['text'] .= '</noscript>';
121
                        $out['text'] .= '<div id="oidipArea" style="display:none">';
121
                        $out['text'] .= '<div id="oidipArea" style="display:none">';
Line 128... Line 128...
128
                        # ---
128
                        # ---
129
                        $out['text'] .= _L('Output format').':<br><fieldset id="whois_format">';
129
                        $out['text'] .= _L('Output format').':<br><fieldset id="whois_format">';
130
                        $out['text'] .= '    <input type="radio" id="text" name="format" value="text" checked onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
130
                        $out['text'] .= '    <input type="radio" id="text" name="format" value="text" checked onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
131
                        $out['text'] .= '    <label for="text"><code>$format=text</code> '._L('Text format').'</label><br>';
131
                        $out['text'] .= '    <label for="text"><code>$format=text</code> '._L('Text format').'</label><br>';
132
                        $out['text'] .= '    <input type="radio" id="json" name="format" value="json" onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
132
                        $out['text'] .= '    <input type="radio" id="json" name="format" value="json" onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
133
                        $out['text'] .= '    <label for="json"><code>$format=json</code>  '._L('JSON format').'</label> (<a target="_blank" href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'whois/draft-viathinksoft-oidip-06.json">'._L('Schema').'</a>)<br>';
133
                        $out['text'] .= '    <label for="json"><code>$format=json</code>  '._L('JSON format').'</label> (<a target="_blank" href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'whois/draft-viathinksoft-oidip-07.json">'._L('Schema').'</a>)<br>';
134
                        $out['text'] .= '    <input type="radio" id="xml" name="format" value="xml" onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
134
                        $out['text'] .= '    <input type="radio" id="xml" name="format" value="xml" onclick="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
135
                        $out['text'] .= '    <label for="xml"><code>$format=xml</code>  '._L('XML format').'</label> (<a target="_blank" href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'whois/draft-viathinksoft-oidip-06.xsd">'._L('Schema').'</a>)<br>';
135
                        $out['text'] .= '    <label for="xml"><code>$format=xml</code>  '._L('XML format').'</label> (<a target="_blank" href="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'whois/draft-viathinksoft-oidip-07.xsd">'._L('Schema').'</a>)<br>';
136
                        $out['text'] .= '</fieldset><br>';
136
                        $out['text'] .= '</fieldset><br>';
137
                        # ---
137
                        # ---
138
                        $out['text'] .= _L('Authentication token(s), comma separated (optional)').':<br>';
138
                        $out['text'] .= _L('Authentication token(s), comma separated (optional)').':<br>';
139
                        $out['text'] .= '<code>$auth = </code><input type="text" id="whois_auth" name="auth" value="" onkeyup="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
139
                        $out['text'] .= '<code>$auth = </code><input type="text" id="whois_auth" name="auth" value="" onkeyup="OIDplusPagePublicWhois.refresh_whois_url_bar()">';
140
                        $out['text'] .= '&nbsp;<span id="whois_auth_invalid" style="display:none"><font color="red"><b>('._L('Invalid').')</b></font></span>';
140
                        $out['text'] .= '&nbsp;<span id="whois_auth_invalid" style="display:none"><font color="red"><b>('._L('Invalid').')</b></font></span>';