|
From: Benjamin C. <bc...@us...> - 2001-08-09 13:22:03
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20353
Modified Files:
bug.php
Log Message:
Got a little crazy with sed
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- bug.php 2001/08/09 12:54:47 1.19
+++ bug.php 2001/08/09 13:21:58 1.20
@@ -1,6 +1,33 @@
<?php
-// bug.php
+// bug.php - All the interactions with a bug
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// 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.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
+include 'include.php';
+
+///
+/// Show the activity for a bug
+function show_history($bugid) {
+ global $q, $t, $STRING;
+
if (!is_numeric($bugid)) {
show_text($STRING['nobughistory']);
return;
|