diff options
author | Michi Henning <michi@zeroc.com> | 2007-01-22 00:39:59 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-01-22 00:39:59 +0000 |
commit | b15620ab4cc964d3dd22cb7f06b80e9a935b7440 (patch) | |
tree | f505056a91cc73a5f621c2e0d9648ece29e36ee8 /cpp/src/slice2html/Gen.cpp | |
parent | Doc fixes. (diff) | |
download | ice-b15620ab4cc964d3dd22cb7f06b80e9a935b7440.tar.bz2 ice-b15620ab4cc964d3dd22cb7f06b80e9a935b7440.tar.xz ice-b15620ab4cc964d3dd22cb7f06b80e9a935b7440.zip |
*** empty log message ***
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r-- | cpp/src/slice2html/Gen.cpp | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp index 7d9ca8482cd..a35885f5bee 100644 --- a/cpp/src/slice2html/Gen.cpp +++ b/cpp/src/slice2html/Gen.cpp @@ -679,21 +679,45 @@ Slice::GeneratorBase::printHeaderFooter(const ContainedPtr& c) if(!imageDir.empty() || !isFirst) { start("td"); - _out << "<a href=\"" << prevLink << "\">" << prevImage << "</a>"; + if(!isFirst) + { + _out << "<a href=\"" << prevLink << "\">"; + } + _out << prevImage; + if(!isFirst) + { + _out << "</a>"; + } end(); } if(!imageDir.empty() || hasParent) { start("td"); - _out << "<a href=\"" << upLink << "\">" << upImage << "</a>"; + if(hasParent) + { + _out << "<a href=\"" << upLink << "\">"; + } + _out << upImage; + if(hasParent) + { + _out << "</a>"; + } end(); } if(!imageDir.empty() || !isLast) { start("td"); - _out << "<a href=\"" << nextLink << "\">" << nextImage << "</a>"; + if(!isLast) + { + _out << "<a href=\"" << nextLink << "\">"; + } + _out << nextImage; + if(!isLast) + { + _out << "</a>"; + } end(); } |