Server IP : 66.29.132.122 / Your IP : 3.15.137.75 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/gettext-3.2.2/samples/cgi/ |
Upload File : |
<html> <head> <meta http-equiv="content-type" content="text/html; charset=<%= GetText.output_charset %>"> <link rel="stylesheet" type="text/css" href="gettext.css" media="all"> <title><%= _("Sample script for CGI/ERB and gettext") %></title> </head> <body> <% require 'hellolib' require 'cgi' lib = HelloLib.new %> <h1><%= _("Hello World") %> - <%= @domainname %></h1> <p><%= description %></p> <div class="locale"> <p><%= _("locale") %>: <%= Locale.get %></p> <p><%= _("output_charset") %>: <%= GetText.output_charset %></p> <p><%= _("QUERY_STRING") %>: <%= cgi.query_string %></p> </div> <p><%= _("Call a library method which has another textdomain.") %></p> <div class="locale"><%= lib.hello %></div> <p><a href="/"><%= _("Back") %></a></p> <div class="copyright"> Copyright (C) 2005 Masao Mutoh </div> </body> </html>