文件操作 - other.rhtml
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/gettext-3.4.9/samples/cgi/other.rhtml
编辑文件内容
<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> <h1><%= _("Another sample") %> - <%= @domainname %></h1> <p><%= _("This sample(other.rhtml) is the another ERB file of helloerb1.cgi.") %></p> <div class="locale"> <p><%= _("locale") %>: <%= Locale.get %></p> <p><%= _("output_charset") %>: <%= GetText.output_charset %></p> <p><%= _("QUERY_STRING") %>: <%= CGI.escapeHTML(cgi.query_string) %></p> </div> <p><a href="/"><%= _("Back") %></a></p> <div class="copyright"> Copyright (C) 2005 Masao Mutoh </div> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件