|
From: Benjamin C. <bc...@us...> - 2001-08-09 12:54:50
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv14312/admin
Modified Files:
component.php os.php project.php resolution.php status.php
user.php version.php
Log Message:
Additional GPL stuff
Index: component.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/component.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- component.php 2001/08/07 13:50:07 1.5
+++ component.php 2001/08/09 12:54:47 1.6
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($componentid = 0) {
- global $q, $me, $projectid, $name, $description, $owner, $active, $u, $STRING;
-
- // Validation
- if (!$name = trim($name))
- $error = $STRING['givename'];
- elseif (!$description = trim($description))
$error = $STRING['givedesc'];
if ($error) { show_form($componentid, $error); return; }
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- os.php 2001/08/09 12:07:13 1.6
+++ os.php 2001/08/09 12:54:47 1.7
@@ -1,14 +1,25 @@
<?php
// os.php - Interface to the OS table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// 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';
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- project.php 2001/08/08 13:23:50 1.7
+++ project.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($projectid = 0) {
- global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
-
- // Validation
- if (!$name = htmlspecialchars(trim($name)))
- $error = $STRING['givename'];
- elseif (!$description = htmlspecialchars(trim($description)))
$error = $STRING['givedesc'];
elseif (!projectid and !$version = htmlspecialchars(trim($version)))
$error = $STRING['giveversion'];
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- resolution.php 2001/08/09 12:07:13 1.7
+++ resolution.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,25 @@
<?php
// resolution.php - Interface to the Resolution table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// 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';
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- status.php 2001/08/09 12:07:13 1.7
+++ status.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,25 @@
<?php
// status.php - Interface to the Status table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// 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';
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- user.php 2001/08/07 13:50:07 1.11
+++ user.php 2001/08/09 12:54:47 1.12
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($userid = 0) {
- global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING, $now;
-
- // Validation
- if (!valid_email($femail))
- $error = $STRING['giveemail'];
- elseif (!$fpassword = trim($fpassword))
$error = $STRING['givepassword'];
if ($error) { list_items($userid, $error); return; }
Index: version.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/version.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- version.php 2001/08/07 13:50:07 1.6
+++ version.php 2001/08/09 12:54:47 1.7
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($versionid = 0) {
- global $q, $me, $projectid, $version, $active, $STRING, $now, $u;
-
- // Validation
- if (!$version = trim($version))
- $error = $STRING['giveversion'];
- if ($error) { show_form($versionid, $error); return; }
if (!$active) $active = 0;
if (!$versionid) {
|