ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostStatus/HostStatus.cpp
(Generate patch)

Comparing HostStatus/HostStatus.cpp (file contents):
Revision 35 by Douglas Thrift, 2003-11-15T01:40:10-08:00 vs.
Revision 37 by Douglas Thrift, 2003-11-15T15:12:56-08:00

# Line 124 | Line 124 | void HostStatus::display(const string& m
124  
125   void HostStatus::header()
126   {
127 <        cout << "<html>\n"
127 >        cout << "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\"\n"
128 >                << "\t\"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
129 >                << "<html>\n"
130                  << "<head>\n"
131 <                << "<link rel=\"StyleSheet\" href=\"../stylesheets/regular.css\" type\""
132 <                << "text/css\">\n"
131 >                << "<link rel=\"StyleSheet\" href=\"../stylesheets/regular.css\" type="
132 >                << "\"text/css\">\n"
133                  << "<title>Host Status</title>\n"
134                  << "</head>\n"
135                  << "<body>\n"
# Line 138 | Line 140 | void HostStatus::header()
140   void HostStatus::footer()
141   {
142          cout << "</table>\n"
143 + /*              << "<pre>" << flush;
144 +
145 +        ipstream env("env");
146 +
147 +        do
148 +        {
149 +                string line;
150 +
151 +                getline(env, line);
152 +
153 +                cout << line << '\n';
154 +        }
155 +        while (env.good());
156 +
157 +        cout << "</pre>\n"*/
158                  << "</html>\n";
159   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines