[299402] Extract properties files from Eclipse project update sites for translation
diff --git a/html/content/en_map_files.php b/html/content/en_map_files.php
index f35fbfa..cc35006 100644
--- a/html/content/en_map_files.php
+++ b/html/content/en_map_files.php
@@ -1,29 +1,14 @@
 <script src="js/mapFiles.js" type='text/javascript'></script>
 <script src="js/train.js" type='text/javascript'></script>
 <div id="maincontent">
-<div id="rightcolumn">
-		<div class="sideitem">
-			<h6>Committer checklist</h6>
-			<ul>
-				<li>Externalize strings to .properties files</li>
-				<br />
-				<li>Maintain your map files on the Babel server (this page) with every release</li>
-				<br />
-				<li>Tell your community about Babel, how to help translate, link to the <a href="http://www.eclipse.org/babel/downloads.php">Babel download page</a></li>
-			</ul>
-		</div>
-</div>
-
 <div id="midcolumn">
-
 <h1><?= $pageTitle ?></h1>
-<p>Use this form to define the map files for your project. The map files are read nightly, and any .properties files (except build.properties) contained in the plugins they reference will be parsed and imported into Babel, allowing the community to translate the externalized strings.</p>  
-<p>This page is only accessible by Eclipse committers.</p>
+<p>Use this form to define the map files or update sites for your project. The map files or update sites are read nightly. Any .properties files except those listed in the plugin exclude patterns will be parsed and imported into Babel, allowing the community to translate the externalized strings.</p>
 <form name="form1" method="post">
 <table cellspacing=4 cellpadding=0 border=0>
-<tr><td></td><td colspan=2 style="color:red;"><?= $GLOBALS['g_ERRSTRS'][0] ?></td></tr>
+<tr><td "width:100px; color:red;"><?= $GLOBALS['g_ERRSTRS'][0] ?></td></tr>
 <tr>
-  <td>Project:</td><td><select name="project_id" onchange="fnSetVersionList();">
+  <td>Project:</td><td><select name="project_id" onchange="fnSetVersionList();" style="width:100px">
 <?php
 	while($myrow = mysql_fetch_assoc($rs_project_list)) {
 		$selected = "";
@@ -33,16 +18,16 @@
 		echo "<option value='" . $myrow['project_id'] . "' $selected>" . $myrow['project_id'] . "</option>";
 	}
  ?></select></td>
-  <td style='width:100px; color:red;'><?= $GLOBALS['g_ERRSTRS'][1] ?></td>
+  <td style="width:100px; color:red;"><?= $GLOBALS['g_ERRSTRS'][1] ?></td>
 </tr>
 <tr>
-  <td>Release Version</td><td><select name="version" onchange="fnUpdateFileList();">
-</select> * Indicates map files present</td> 
+  <td>Release Version:</td>
+  <td><select name="version" onchange="fnUpdateFileList();" style="width:100px"></select> * Indicates map files or update sites present</td> 
   <td style='width:100px; color:red;'><?= $GLOBALS['g_ERRSTRS'][4] ?></td>
 </tr>
 <tr>
-  <td>Release Train</td><td><select name="train_id">
-  <?php
+  <td>Release Train:</td>
+  <td><select name="train_id" style="width:100px"><?php
 	while($myrow = mysql_fetch_assoc($rs_train_list)) {
 		$selected = "";
 		if($myrow['train_id'] == $TRAIN_ID) {
@@ -50,34 +35,32 @@
 		}
 		echo "<option value='" . $myrow['train_id'] . "' $selected>" . $myrow['train_id'] . "</option>";
 	}
- ?>
-</select></td>
+  ?></select></td>
   <td></td>
 </tr>
 <tr>
-	<td>&#160;</td><td>Babel builds one update site per Train.  Even if your project does not participate in the actual train, please pick the Train that your project is targetting.</td>
+  <td>URLs to Map Files or Update Sites:</td>
+  <td>
+    <input id="urlType-mapFiles" name="urlType" type="radio" value="mapFiles" checked>Map Files</input>
+    <input id="urlType-updateSites" name="urlType" type="radio" value="updateSites">Update Sites</input>
+  </td>
+  <td style="width:100px; color:red;"><?= $GLOBALS['g_ERRSTRS'][2] ?></td>
 </tr>
 <tr>
-	<td>&#160;</td><td><b>NOTE: </b>The Release Train applies to all map files for the selected Project Release Version.</td>
+  <td colspan=3><textarea id="files-area" name="fileFld" onclick="fnClickTextFilesArea();" rows=5 cols="100"></textarea></td>
 </tr>
 <tr>
-	<td>&#160;</td><td></td>
-</tr>
-
-<tr>
-  <td colspan="2"><a href="<?php echo imageRoot() ?>/viewcvs/index.cgi">ViewCVS</a> download URLs to map files (one per line):</td><td></td>
-  <td style='width:100px; color:red;'><?= $GLOBALS['g_ERRSTRS'][2] ?></td>
+  <td colspan=2>Plugin Exclude Patterns:</td>
+  <td style="width:100px; color:red;"><?= $GLOBALS['g_ERRSTRS'][2] ?></td>
 </tr>
 <tr>
-	<td colspan="3"><textarea id="files-area" name="fileFld" onclick="fnClickText();" rows="14" cols="120"></textarea></td>
+  <td colspan=3><textarea id="patterns-area" name="patterns" onclick="fnClickTextPatternsArea();" rows="5" cols="100"></textarea></td>
 </tr>
 <tr>
-  <td colspan="2"><b>NOTE: </b>If you're defining map files for a Release, you must use the download link to the CVS TAG of that release.  This is the pathrev=R3_4 parameter in this example:<br />
-  <a href="<?php echo imageRoot() ?>/viewcvs/index.cgi/org.eclipse.releng/maps/core.map?view=co&pathrev=R3_4">http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng/maps/core.map?view=co&pathrev=R3_4</a><br />
-  <a href="<?php echo imageRoot() ?>/viewcvs/index.cgi/org.eclipse.releng/maps/core.map?view=co&pathrev=HEAD">http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng/maps/core.map?view=co&pathrev=HEAD</a>  </td>
+  <td><input type="submit" name="submit" value="Save" style="font-size:14px;" /></td>
+  <td></td>
+  <td></td>
 </tr>
-<tr>
-  <td></td><td><input type="submit" name="submit" value="Save" style="font-size:14px;" /></td></tr>
 </table>
 </form>
 <script language="javascript">
@@ -109,14 +92,24 @@
 		return _value.replace(/^\* /, "");
 	}
 
-	function fnClickText() {
-		if(document.form1.fileFld.value.substr(0,18) == "No map files found") {
+	function fnClickTextFilesArea() {
+		if(document.form1.fileFld.value.substr(0,12) == "No map files") {
 			document.form1.fileFld.value = "";
 		}
 	}
 	
+	function fnClickTextPatternsArea() {
+		if(document.form1.patterns.value.substr(0,26) == "No plugin exclude patterns") {
+			document.form1.patterns.value = "";
+		}
+	}
+
 	function fnUpdateFileList() {
-		showMapFiles(document.form1.project_id.value, cleanVersion(document.form1.version.options[document.form1.version.selectedIndex].value));		
+        var project_id = document.form1.project_id.value;
+		var version = cleanVersion(document.form1.version.options[document.form1.version.selectedIndex].value);
+		showMapFiles(project_id, version);		
+		showPluginExcludePatterns(project_id, version);		
+		setUrlType(project_id, version);		
 		fnSetTrain();
 	}
 	
@@ -192,4 +185,4 @@
 	echo "};";
  ?>
 	fnSetVersionList();
- </script>
\ No newline at end of file
+ </script>