Blob Blame History Raw
--- doxygen-1.7.3.ORIG/src/configoptions.cpp	2011-01-14 22:32:45.571915149 +0100
+++ doxygen-1.7.3.ORIG/src/configoptions.cpp	2011-01-14 22:36:27.083723068 +0100
@@ -1128,6 +1128,14 @@ 
   cs->setWidgetType(ConfigString::File);
   cs->addDependency("GENERATE_HTML");
   //----
+  cb = cfg->addBool(
+                 "HTML_TIMESTAMP",
+                 "If the HTML_TIMESTAMP tag is set to YES then the generated HTML\n"
+                 "documentation will contain the timesstamp.",
+                 FALSE
+                );
+  cb->addDependency("GENERATE_HTML");
+  //----
   cs = cfg->addString(
                  "HTML_STYLESHEET",
                  "The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
--- doxygen-1.7.3.ORIG/src/config.xml	2011-01-14 22:32:45.465909531 +0100
+++ doxygen-1.7.3.ORIG/src/config.xml	2011-01-14 22:38:07.124095918 +0100
@@ -789,6 +789,11 @@ 
 each generated HTML page. If it is left blank doxygen will generate a 
 standard footer. 
 ' defval='' depends='GENERATE_HTML'/>
+    <option type='bool' id='HTML_TIMESTAMP' docs='
+If the HTML_TIMESTAMP tag is set to YES then the generated HTML
+documentation will contain the timesstamp.
+' defval='' depends='GENERATE_HTML'/>
+
     <option type='string' id='HTML_STYLESHEET' format='file' docs='
 The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
 style sheet that is used by each HTML page. It can be used to 
--- doxygen-1.7.3.ORIG/src/htmlgen.cpp	2011-01-14 22:32:45.474910008 +0100
+++ doxygen-1.7.3.ORIG/src/htmlgen.cpp	2011-01-14 22:40:18.025120209 +0100
@@ -61,7 +61,7 @@ 
 
 static QCString g_header;
 static QCString g_footer;
-
+static bool timestamp=false;
 //------------------------- Pictures for the Tabs ------------------------
 
 // active
@@ -854,6 +854,8 @@ 
   if (!Config_getString("HTML_FOOTER").isEmpty()) 
   {
     g_footer=fileToString(Config_getString("HTML_FOOTER"));
+    if (Config_getBool("HTML_TIMESTAMP"))
+      timestamp=true;
     //printf("g_footer='%s'\n",g_footer.data());
   }
   createSubDirs(d);
@@ -1208,7 +1210,7 @@ 
   if (timeStamp)
   {
     result += theTranslator->trGeneratedAt(
-               dateToString(TRUE),
+               dateToString(timestamp),
                Config_getString("PROJECT_NAME")
               );
   }