forked from pool/doxygen
54 lines
3.2 KiB
Diff
54 lines
3.2 KiB
Diff
--- src/config.xml.orig 2010-06-15 15:12:20.000000000 +0200
|
|
+++ src/config.xml 2010-06-15 15:13:33.000000000 +0200
|
|
@@ -761,6 +761,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_FOOTER_DESCRIPTION' docs='
|
|
+The HTML_FOOTER_DATE_AND_PROJECT_NAME tag can be used to add build date,
|
|
+project name and Doxygen version to HTML footer.
|
|
+standard footer.
|
|
+' 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
|
|
--- src/htmlgen.cpp.orig 2010-06-15 15:14:40.000000000 +0200
|
|
+++ src/htmlgen.cpp 2010-06-15 15:16:10.000000000 +0200
|
|
@@ -952,10 +952,16 @@
|
|
QTextStream t(&file);
|
|
t.setEncoding(QTextStream::UnicodeUTF8);
|
|
t << "<hr class=\"footer\"/><address class=\"footer\"><small>\n";
|
|
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
|
|
t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
|
|
- t << " <a href=\"http://www.doxygen.org/index.html\">"
|
|
+ t << " ";
|
|
+ }
|
|
+ t << "<a href=\"http://www.doxygen.org/index.html\">"
|
|
<< "<img class=\"footer\" src=\"$relpath$doxygen.png\" alt=\"doxygen\"/>"
|
|
- << "</a> $doxygenversion";
|
|
+ << "</a>";
|
|
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
|
|
+ t << " $doxygenversion";
|
|
+ }
|
|
t << "</small></address>\n"
|
|
<< "</body>\n"
|
|
<< "</html>\n";
|
|
--- src/configoptions.cpp.orig 2010-06-15 15:13:45.000000000 +0200
|
|
+++ src/configoptions.cpp 2010-06-15 15:14:28.000000000 +0200
|
|
@@ -1095,6 +1095,15 @@
|
|
cs->setWidgetType(ConfigString::File);
|
|
cs->addDependency("GENERATE_HTML");
|
|
//----
|
|
+ cb = cfg->addBool(
|
|
+ "HTML_FOOTER_DESCRIPTION",
|
|
+ "If the HTML_FOOTER_DESCRIPTION tag is set to YES, Doxygen will \n"
|
|
+ "add generated date, project name and doxygen version to HTML footer.",
|
|
+ FALSE
|
|
+ );
|
|
+ //cs->setDefaultValue("FALSE");
|
|
+ cs->addDependency("GENERATE_HTML");
|
|
+ //----
|
|
cs = cfg->addString(
|
|
"HTML_STYLESHEET",
|
|
"The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
|