[Swift-commit] r5271 - in wwwdev: docs support

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Nov 2 00:32:14 CDT 2011


Author: davidk
Date: 2011-11-02 00:32:13 -0500 (Wed, 02 Nov 2011)
New Revision: 5271

Modified:
   wwwdev/docs/index.php
   wwwdev/support/index.php
Log:
Add searches to mailing lists and documentation


Modified: wwwdev/docs/index.php
===================================================================
--- wwwdev/docs/index.php	2011-11-01 16:27:22 UTC (rev 5270)
+++ wwwdev/docs/index.php	2011-11-02 05:32:13 UTC (rev 5271)
@@ -85,6 +85,18 @@
 </ul>
 <p> </p>
 
+<h3>Search All Documentation</h3>
+<div id="cse" style="width: 100%;">Loading</div>
+<script src="//www.google.com/jsapi" type="text/javascript"></script>
+<script type="text/javascript"> 
+  google.load('search', '1', {language : 'en', style : google.loader.themes.SHINY});
+  google.setOnLoadCallback(function() {
+    var customSearchControl = new google.search.CustomSearchControl('007067124251691692991:pbx7ijbjeea');
+    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
+    customSearchControl.draw('cse');
+  }, true);
+</script>
+
 <!-- 
 <h3>Swift Cookbook</h3>
         
@@ -107,6 +119,7 @@
 				
   </div>
 <!-- end .container_12 -->
+
 <!-- footer -->
 <?php require('../inc/footer2.php') ?> 
 <!-- end footer -->
@@ -119,5 +132,6 @@
 var pageTracker = _gat._getTracker("UA-106257-5");
 pageTracker._trackPageview();
 } catch(err) {}</script>
+
 </body>
 </html>

Modified: wwwdev/support/index.php
===================================================================
--- wwwdev/support/index.php	2011-11-01 16:27:22 UTC (rev 5270)
+++ wwwdev/support/index.php	2011-11-02 05:32:13 UTC (rev 5271)
@@ -29,7 +29,7 @@
         as a part of your run. If the log files are too large to include in an email, please provide 
         access to the logs in a publicly readable directory or website. More information on these
         mailing lists are provided below.
-        <br><br>
+        <br><br><br>
 
 	<h3>Mailing Lists</h3>
 	<table class="mailinglists">
@@ -72,17 +72,28 @@
 	</table>
 	<p> </p>
 	<p> </p>
+          <h3>Search Mailing List Archive</h3>
+           <div id="cse" style="width: 100%;">Loading</div>
+           <script src="//www.google.com/jsapi" type="text/javascript"></script>
+           <script type="text/javascript"> 
+              google.load('search', '1', {language : 'en', style : google.loader.themes.SHINY});
+              google.setOnLoadCallback(function() {
+              var customSearchControl = new google.search.CustomSearchControl('007067124251691692991:zxjheipt4is');
+              customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
+              customSearchControl.draw('cse');
+              }, true);
+           </script>
+</div> 
 	</div>
   <!-- end .grid_9 -->
-  <div class="grid_3">
+  <!-- 
+    <div class="grid_3">
   	<h3>Bug Reports</h3>
     <p>We have a Bugzilla, at <a href="http://bugzilla.mcs.anl.gov/swift/">bugzilla.mcs.anl.gov/swift/</a>. </p>
     <p> </p>
   </div>
+  -->
   <!-- end .grid_3 -->
-  
-  <div class="clear"></div>
-				
   </div>
 <!-- end .container_12 -->
 <!-- footer -->




More information about the Swift-commit mailing list