|
From: Javier S. <ja...@us...> - 2001-09-24 12:57:08
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv5318
Modified Files:
bug.php
Log Message:
component -> component_id
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- bug.php 2001/09/22 16:54:58 1.45
+++ bug.php 2001/09/24 12:57:03 1.46
@@ -10,12 +10,12 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-//
+//
// phpBugTracker is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-//
+//
[...1085 lines suppressed...]
+ switch($op) {
+ case 'history' : show_history($bugid); break;
+ case 'add' :
+ $perm->check('Editbug');
+ if ($project) show_form();
+ else show_projects();
+ break;
+ case 'show' : show_bug($bugid); break;
+ case 'update' : update_bug($bugid); break;
+ case 'do' : do_form($bugid); break;
+ }
} else header("Location: query.php");
$t->pparse('main',array('content','wrap','main'));
page_close();
-?>
+?>
\ No newline at end of file
|