Index: changelog_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/changelog_page.php,v
retrieving revision 1.17
diff -u -r1.17 changelog_page.php
--- changelog_page.php	1 Jan 2006 02:56:39 -0000	1.17
+++ changelog_page.php	10 Jan 2006 16:31:55 -0000
@@ -75,6 +75,67 @@
 		$t_version_rows = version_get_all_rows( $t_project_id );
 
 		echo '<br /><span class="pagetitle">', string_display( $t_project_name ), ' - ', lang_get( 'changelog' ), '</span><br /><br />';
+		$t_last_version =false;
+		$t_last_version_fromget = gpc_get_string( 'last_version' , '' );
+		$t_first_version_fromget = gpc_get_string( 'first_version' , '' );
+
+		if ($t_last_version_fromget != '') $t_do_we_show_this=false; 
+		  else $t_do_we_show_this = true;
+
+		$t_version_rows_filtered = array();
+		foreach( $t_version_rows as $t_version_row ) {
+		      # Did we reach the last version to show?
+		      if ($t_last_version_fromget == $t_version_row['version']) {
+		            $t_do_we_show_this = true;
+		        }
+
+		      # Do we have to show this?
+		      if ($t_do_we_show_this === true) {
+		           $t_version_rows_filtered[]=$t_version_row;
+		        }
+
+		      # Did we reach the first version to show?
+		      if ($t_first_version_fromget == $t_version_row['version']) {
+		            $t_do_we_show_this = false;
+		        }
+
+		     /*
+		      *  Part to define the first and last value default values
+		      */
+		     if ($t_last_version == false) {
+                        $t_last_version = $t_version_row['version'];
+		     }
+                     $t_first_version = $t_version_row['version'];
+		}
+
+		$t_version_rows = $t_version_rows_filtered;
+
+		$t_first_version = gpc_get_string( 'first_version' , $t_first_version);
+		$t_last_version = gpc_get_string( 'last_version' , $t_last_version);
+
+
+
+
+		?>
+<table class="width100" cellspacing="1">
+  <tr>
+    <td class="right" colspan="4">
+      <form method="get" name="list_versions_open" action="changelog_page.php">
+        <?php echo lang_get( 'from_version' ) ?>
+        <select name="first_version">
+          <?php print_version_option_list( $t_first_version, $t_project_id, VERSION_RELEASED ) ?>
+        </select>
+        <?php echo lang_get( 'to_version' ) ?>
+        <select name="last_version">
+          <?php print_version_option_list( $t_last_version, $t_project_id, VERSION_RELEASED ) ?>
+        </select>
+        <input type="submit" name="switch_to_versions_button" class="button-small" value="<?php echo lang_get( 'view_changes' ) ?>" />
+      </form>
+    </td>
+  </tr>
+</table> <?php
+
+		echo '<br />';
 		echo '<tt>';
 
 		$i = 0;
Index: lang/strings_english.txt
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lang/strings_english.txt,v
retrieving revision 1.268
diff -u -r1.268 strings_english.txt
--- lang/strings_english.txt	17 Dec 2005 23:08:52 -0000	1.268
+++ lang/strings_english.txt	10 Jan 2006 16:32:05 -0000
@@ -129,6 +129,11 @@
 $s_view_status_group_bugs_button = 'Update View Status';
 $s_set_sticky_group_bugs_button = 'Set/Unset Sticky';
 
+# changelog_page.php
+$s_view_changes ='View changes';
+$s_to_version ='to';
+$s_from_version ='From';
+
 # improved JPgraphs strings
 $s_graph_imp_status_title = 'Synthesis graphs by status' ;
 $s_graph_imp_priority_title = 'Synthesis graphs by priority' ;
