diff -ru mantisbt/CVS/Entries mantisbt_move/CVS/Entries
--- mantisbt/CVS/Entries	Thu Jul 22 07:00:41 2004
+++ mantisbt_move/CVS/Entries	Wed Jul 21 21:17:46 2004
@@ -37,7 +37,6 @@
 /bug_resolve.php/1.41/Sat Jun 26 14:05:42 2004//
 /bug_resolve_page.php/1.41/Sun Jul 11 13:24:29 2004//
 /bug_set_sponsorship.php/1.2/Tue Jul 20 11:11:14 2004//
-/bug_sponsorship_list_view_inc.php/1.10/Wed Jul 21 12:38:36 2004//
 /bug_update.php/1.63/Sat Jun 26 14:05:42 2004//
 /bug_update_advanced_page.php/1.72/Fri Jul 16 23:03:08 2004//
 /bug_update_page.php/1.75/Sun Jul 18 10:22:21 2004//
@@ -162,11 +161,9 @@
 /summary_graph_imp_status.php/1.20/Fri Mar  5 01:26:16 2004//
 /summary_jpgraph_page.php/1.21/Fri Mar  5 01:26:16 2004//
 /summary_page.php/1.39/Tue Jul 20 15:51:50 2004//
-/view.php/1.2/Wed Jul 21 10:23:36 2004//
 /view_all_bug_page.php/1.54/Tue Jul 20 15:51:50 2004//
 /view_all_inc.php/1.141/Wed May 26 05:25:18 2004//
 /view_all_set.php/1.35/Fri Jul  9 00:02:01 2004//
-/view_filters_page.php/1.15/Wed Jul 21 12:48:00 2004//
 D/admin////
 D/core////
 D/css////
@@ -178,3 +175,6 @@
 D/lang////
 D/packages////
 D/sql////
+/bug_sponsorship_list_view_inc.php/1.10/Thu Jul 22 01:17:45 2004//
+/view.php/1.2/Thu Jul 22 01:17:46 2004//
+/view_filters_page.php/1.15/Thu Jul 22 01:17:46 2004//
diff -ru mantisbt/CVS/Root mantisbt_move/CVS/Root
--- mantisbt/CVS/Root	Wed Jul 21 21:49:48 2004
+++ mantisbt_move/CVS/Root	Tue Jul 20 19:47:29 2004
@@ -1 +1 @@
-:ext:thraxisp@cvs.sourceforge.net:/cvsroot/mantisbt
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mantisbt
diff -ru mantisbt/admin/CVS/Root mantisbt_move/admin/CVS/Root
--- mantisbt/admin/CVS/Root	Wed Jul 21 21:49:50 2004
+++ mantisbt_move/admin/CVS/Root	Tue Jul 20 19:47:35 2004
@@ -1 +1 @@
-:ext:thraxisp@cvs.sourceforge.net:/cvsroot/mantisbt
diff -ru mantisbt/admin/admin.css mantisbt_move/admin/admin.css
--- mantisbt/admin/admin.css	Tue Jan 14 08:46:58 2003
+++ mantisbt_move/admin/admin.css	Thu Jul 22 11:19:20 2004
@@ -5,4 +5,6 @@
 tr.top-bar { background-color: #98b8e8; padding: 3px; padding: 3px; color: #204888 }
 tr.top-bar td { border-top: 1px solid #222222; border-bottom: 1px solid #222222 }
 tr.top-bar td.title { text-align: right; font-size: 10pt; font-weight: bold; letter-spacing: 1.0em; }
-tr.top-bar td.links { text-align: left; font-size: 8pt }
\ No newline at end of file
+tr.top-bar td.links { text-align: left; font-size: 8pt }
+tr.row-1			{ background-color: #d8d8d8; color: #000000; }
+tr.row-2			{ background-color: #e8e8e8; color: #000000; }
diff -ru mantisbt/admin/upgrade_list.php mantisbt_move/admin/upgrade_list.php
--- mantisbt/admin/upgrade_list.php	Sun Feb 16 03:13:15 2003
+++ mantisbt_move/admin/upgrade_list.php	Tue Jul 20 20:21:23 2004
@@ -20,6 +20,7 @@
 	<h1>List of Upgrade Sets</h1>
 	<p>[ <a href="upgrade.php">Basic upgrade set (required)</a> ]</p>
 	<p>[ <a href="upgrade_escaping.php">String escaping fixes (recommended)</a> ]</p>
+	<p>[ <a href="upgrade_utility.php">System Upgrade Utilities (optional)</a> ]</p>
 	</td></tr></table>
 </div>
 </body>
diff -ru mantisbt/core/file_api.php mantisbt_move/core/file_api.php
--- mantisbt/core/file_api.php	Sat Jul 10 19:38:01 2004
+++ mantisbt_move/core/file_api.php	Thu Jul 22 11:10:49 2004
@@ -415,6 +415,13 @@
 
 		return false;
 	}
+
+	# --------------------
+	# clean file name by removing sensitive characters and replacing them with underscores
+	function file_clean_name( $p_filename ) {
+		return preg_replace( "/[\/\\ :&]/", "_", $p_filename); 
+	}
+
 	# --------------------
 	function file_add( $p_bug_id, $p_tmp_file, $p_file_name, $p_file_type='' ) {
 		$c_bug_id		= db_prepare_int( $p_bug_id );
diff -ru mantisbt/core/php_api.php mantisbt_move/core/php_api.php
--- mantisbt/core/php_api.php	Thu Apr  8 14:04:53 2004
+++ mantisbt_move/core/php_api.php	Thu Jul 22 11:07:16 2004
@@ -77,4 +77,20 @@
 			return key_exists( $key, $search );
 		}
 	}
+
+	# --------------------
+	# file_put_contents is normally in PEAR
+		if (!function_exists('file_put_contents')) {
+		function file_put_contents($filename, $data) {
+			if (($h = fopen($filename, 'w')) === false) {
+				return false;
+			}
+			if (($bytes = @fwrite($h, $data)) === false) {
+				return false;
+			}
+			fclose($h);
+			return $bytes;
+		}
+	}
+
 ?>
