[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: timetrack/setup default_records.inc.php,1.2,1.3
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: timetrack/setup default_records.inc.php,1.2,1.3 |
Date: |
Mon, 08 Apr 2002 09:43:22 -0400 |
Update of /cvsroot/phpgroupware/timetrack/setup
In directory subversions:/tmp/cvs-serv9036
Modified Files:
default_records.inc.php
Log Message:
format, remove echo, fix oProc object
Index: default_records.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/timetrack/setup/default_records.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** default_records.inc.php 18 Mar 2002 03:18:05 -0000 1.2
--- default_records.inc.php 8 Apr 2002 13:43:20 -0000 1.3
***************
*** 10,75 ****
\**************************************************************************/
! echo "<center>Adding default records for Job Status table...<br>";
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (1,'None')");
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (2,'Quoted')");
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (3,'In Process')");
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (4,'Complete')");
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (5,'Paid in Full')");
! $oProc->query("INSERT INTO phpgw_ttrack_job_status (status_id,
status_name) "
! . "VALUES (6,'Not Awarded')");
!
! echo "Adding default records for Locations table...<br>";
!
! $oProc->query("INSERT INTO phpgw_ttrack_locations (location_id,
location_name) "
! . "VALUES (1,'Main Site')");
! $oProc->query("INSERT INTO phpgw_ttrack_locations (location_id,
location_name) "
! . "VALUES (2,'Remote Site')");
! $oProc->query("INSERT INTO phpgw_ttrack_locations (location_id,
location_name) "
! . "VALUES (3,'Customer Site')");
! $oProc->query("INSERT INTO phpgw_ttrack_locations (location_id,
location_name) "
! . "VALUES (4,'Home Office')");
!
! echo "Adding default records for Work Catagories table...<br>";
!
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (1,'3D Modeling')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (2,'2D Detailing')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (3,'Project Management')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (4,'Data Management')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (5,'External System Management')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (6,'CAD Manufacturing')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (7,'Checking')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (8,'Engineering Analysis')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (9,'Consulting')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (10,'Misc. Internal Work')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (11,'Internal Development')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (12,'Internal Systems Management')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (13,'Vacation')");
! $oProc->query("INSERT INTO phpgw_ttrack_wk_cat (work_catagory_id,
catagory_desc) "
! . "VALUES (14,'Sick Leave')");
!
! echo "<br><br><b>To complete the installation of the Timetrack
application,<br>"
! . "you must login to phpgroupware as an admin user, grant yourself<br>"
! . "access to the Timetrack app under User Admin, and then execute the<br>"
! . "'Site Setup' link under the Timetrack Admin Hooks section.<br>"
! . "Further instructions will be provided there.</b></center>";
?>
--- 10,78 ----
\**************************************************************************/
! /* $Id$ */
! //echo "<center>Adding default records for Job Status table...<br>";
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (1,'None')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (2,'Quoted')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (3,'In Process')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (4,'Complete')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (5,'Paid in Full')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_job_status (status_id, status_name) "
+ . "VALUES (6,'Not Awarded')");
+
+ //echo "Adding default records for Locations table...<br>";
+
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_locations (location_id, location_name) "
+ . "VALUES (1,'Main Site')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_locations (location_id, location_name) "
+ . "VALUES (2,'Remote Site')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_locations (location_id, location_name) "
+ . "VALUES (3,'Customer Site')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO
phpgw_ttrack_locations (location_id, location_name) "
+ . "VALUES (4,'Home Office')");
+
+ //echo "Adding default records for Work Catagories table...<br>";
+
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (1,'3D Modeling')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (2,'2D Detailing')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (3,'Project Management')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (4,'Data Management')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (5,'External System Management')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (6,'CAD Manufacturing')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (7,'Checking')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (8,'Engineering Analysis')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (9,'Consulting')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (10,'Misc. Internal Work')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (11,'Internal Development')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (12,'Internal Systems Management')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (13,'Vacation')");
+ $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_ttrack_wk_cat
(work_catagory_id, catagory_desc) "
+ . "VALUES (14,'Sick Leave')");
+
+ /*
+ echo "<br><br><b>To complete the installation of the Timetrack
application,<br>"
+ . "you must login to phpgroupware as an admin user, grant
yourself<br>"
+ . "access to the Timetrack app under User Admin, and then
execute the<br>"
+ . "'Site Setup' link under the Timetrack Admin Hooks
section.<br>"
+ . "Further instructions will be provided there.</b></center>";
+ */
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: timetrack/setup default_records.inc.php,1.2,1.3,
Miles Lott <address@hidden> <=