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

Comparing FeepingCreaturism/FeepingCreaturism.cpp (file contents):
Revision 211 by Douglas Thrift, 2004-09-04T20:44:52-07:00 vs.
Revision 229 by Douglas Thrift, 2004-09-06T16:50:13-07:00

# Line 171 | Line 171 | void FeepingCreaturism::select(const ext
171          {
172                  api::Cout << "Content-Type: text/html; charset=UTF-8\r\n\r\n";
173  
174 <                _M::iterator include(cgi.find("include"));
174 >                Jargon jargon(path + "/" + selection, cgi.find("include") != cgi.end()
175 >                        && lexical_cast<bool>(ext::String(cgi.find("include")->second)),
176 >                        cgi.find("relative") != cgi.end()
177 >                        ? ext::String(cgi.find("relative")->second) : ext::String());
178  
179 <                if (include != cgi.end())
177 <                {
178 <                        Jargon jargon(path + "/" + selection,
179 <                                lexical_cast<bool>(include->second));
180 <
181 <                        api::Cout << jargon;
182 <                }
183 <                else
184 <                {
185 <                        Jargon jargon(path + "/" + selection);
186 <
187 <                        api::Cout << jargon;
188 <                }
179 >                api::Cout << jargon;
180          }
181          else
182          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines