diff --git a/releng.wtpbuilder/distribution/jsdt.site/templateFiles/buildvariables.php b/releng.wtpbuilder/distribution/jsdt.site/templateFiles/buildvariables.php index 01a293b1c5982d4b1905a67291680c67c862105c..41d7d3f184e15409f87eee7afe2ee5f1ebc460c5 100644 --- a/releng.wtpbuilder/distribution/jsdt.site/templateFiles/buildvariables.php +++ b/releng.wtpbuilder/distribution/jsdt.site/templateFiles/buildvariables.php @@ -9,6 +9,8 @@ include_once("miscUtil.php"); $build_distribution="@build_distribution@"; +$displayBuildNotes=false; + $buildBranch="@buildBranch@"; $build="@build@"; $type="@type@"; diff --git a/releng.wtpbuilder/distribution/jsdt.site/templateFiles/index.html.template.php b/releng.wtpbuilder/distribution/jsdt.site/templateFiles/index.html.template.php index f02d667c73a4425bf8632125a9c88ae8a7a687c5..7a10008b26875f42afff3fb51f66f36599558447 100644 --- a/releng.wtpbuilder/distribution/jsdt.site/templateFiles/index.html.template.php +++ b/releng.wtpbuilder/distribution/jsdt.site/templateFiles/index.html.template.php @@ -653,11 +653,14 @@ else { <table border=0 cellspacing=2 cellpadding=2 width="90%" align="center"> <tr> - <td><!-- - Its silly to always display 'Build notes', but hard to - compute if required or not. - <a href="buildNotes.php">Build notes</a> <br /> - --> <a href="directory.txt">map files</a> <br /> + <td> + <?php + if (isset($displayBuildNotes) && $displayBuildNotes) { + echo "<a href=\"buildNotes.php\">Build notes</a> <br />"; + } + ?> + + <a href="directory.txt">map files</a> <br /> <?php if (file_exists("components")) { diff --git a/releng.wtpbuilder/distribution/patches32x.site/templateFiles/buildvariables.php b/releng.wtpbuilder/distribution/patches32x.site/templateFiles/buildvariables.php index 171b880a3253ee59461bf8f8b5ee16b8a152b6a8..e79fae2c84e97d8d1fb750dfe5f44025e09e2665 100644 --- a/releng.wtpbuilder/distribution/patches32x.site/templateFiles/buildvariables.php +++ b/releng.wtpbuilder/distribution/patches32x.site/templateFiles/buildvariables.php @@ -9,7 +9,7 @@ include_once("miscUtil.php"); $build_distribution="@build_distribution@"; -$displayBuildNotes="true"; +$displayBuildNotes=true; $buildBranch="@buildBranch@"; $build="@build@"; diff --git a/releng.wtpbuilder/distribution/patches32x.site/templateFiles/index.html.template.php b/releng.wtpbuilder/distribution/patches32x.site/templateFiles/index.html.template.php index c22d06471bc1f901fa1068e925a2bfdb09feb5b3..413b813cc0c36f2f0e2bb453561162ed7deab6c4 100644 --- a/releng.wtpbuilder/distribution/patches32x.site/templateFiles/index.html.template.php +++ b/releng.wtpbuilder/distribution/patches32x.site/templateFiles/index.html.template.php @@ -655,7 +655,12 @@ else { <tr> <td> - <a href="buildNotes.php">Build notes</a> <br /> + <?php + if (isset($displayBuildNotes) && $displayBuildNotes) { + echo "<a href=\"buildNotes.php\">Build notes</a> <br />"; + } + ?> + <a href="directory.txt">map files</a> <br /> <?php