Changeset 200
- Timestamp:
- Sep 9, 2006, 12:55:52 PM (17 years ago)
- Location:
- trunk/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Node.cc
r199 r200 26 26 #include "SVNproperty.h" 27 27 #include "utility.h" 28 #include <config.h> // this header file is created by configure29 28 30 29 #include <ctime> … … 92 91 93 92 94 void Node::print_footer(std::ostream& os) const95 {96 time_t rawtime;97 struct tm * timeinfo;98 time ( &rawtime );99 timeinfo = gmtime ( &rawtime );100 os << "<p align=center><font size=-2>\nGenerated on "101 << asctime (timeinfo) << " (UTC) by ";102 anchor(os, "http://lev.thep.lu.se/trac/svndigest/", PACKAGE_STRING);103 os << "</font>\n</p>\n</div>\n</body>\n</html>\n";104 }105 106 107 93 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Node.h
r199 r200 160 160 void path_anchor(std::ostream& os) const; 161 161 162 ///163 /// @brief print html footer of page164 ///165 void print_footer(std::ostream&) const;166 167 162 u_int level_; 168 163 std::string output_name_; //without suffix -
trunk/lib/html_utility.cc
r199 r200 23 23 24 24 #include "utility.h" 25 #include <config.h> // this header file is created by configure 25 26 26 27 #include <fstream> 27 #include <iostream> // remove this when 'blame' is removed28 #include <iostream> 28 29 #include <sstream> 29 30 #include <stdexcept> … … 177 178 178 179 180 void print_footer(std::ostream& os) 181 { 182 time_t rawtime; 183 struct tm * timeinfo; 184 time ( &rawtime ); 185 timeinfo = gmtime ( &rawtime ); 186 os << "<p align=center><font size=-2>\nGenerated on " 187 << asctime (timeinfo) << " (UTC) by "; 188 anchor(os, "http://lev.thep.lu.se/trac/svndigest/", PACKAGE_STRING, 0, ""); 189 os << "</font>\n</p>\n</div>\n</body>\n</html>\n"; 190 } 191 192 179 193 void print_header(std::ostream& os, const std::string& title, u_int level) 180 194 { -
trunk/lib/html_utility.h
r199 r200 57 57 58 58 /// 59 /// @brief print html footer of page 60 /// 61 void print_footer(std::ostream&); 62 63 /// 59 64 /// @brief print html header of page 60 65 ///
Note: See TracChangeset
for help on using the changeset viewer.