tutos-commits Mailing List for TUTOS (Page 455)
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gero K. <gok...@us...> - 2001-09-02 18:34:40
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv6247/php Modified Files: calendar_week.php calendar.php mytutos.php Log Message: week calendar view Index: calendar_week.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar_week.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** calendar_week.php 2001/08/21 21:57:11 1.1 --- calendar_week.php 2001/09/02 18:34:37 1.2 *************** *** 10,18 **** --- 10,161 ---- include("product.pinc"); include("resource.pinc"); + include("task.pinc"); + include("bug.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ check_user(); + /* --------------------------------------------------------------------------- + * A one week calendar sheet + */ + Function info($t) { + global $lang,$current_user,$tutos; + + $adr = $current_user; + $ts = mktime(12,0,0,substr($t,4,2),substr($t,6,2),substr($t,0,4)); + + /* Back to last Monday or Sunday before ts */ + while ( Date("w",$ts) != $current_user->weekstart ) { + $ts -= 86400; + } + + $w0 = (( 1 + Date("w",mktime(12,0,0,1,1, Date("Y",$ts) ) )) % 7) > 3; + $wn = sprintf("%02d", Round( (Date("z",$ts)+7 ) / 7) ); + $yy = Date("y",$ts); + + + echo "<TABLE CLASS=single BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">\n"; + echo " <TR>\n"; + echo " <TH COLSPAN=2 WIDTH=\"100%\">". $lang['week'] ." " . $wn . "/". $yy ."</TH>\n"; + echo " </TR>\n"; + + $day = 0; + $col = 1; + $dd = new DateTime(); + while ( $day < 7 ) { + $dd->setDateTimeTS($ts); + $d = $dd->getDate(); + $tref = Date("Ymd",$ts); + $dinfo = GetDaysInfo($ts); + /* Select appointments for this day */ + $next = NextDay($ts); + $from = new DateTime(); + $from->setDateTimeTS($ts - 12 * 3600); + + $current_user->callist = array(); + readAppsCal($current_user,$from); + readTaskCal($current_user,$from); + + if ( $col == 1 ) { + echo " <TR>\n"; + } + echo " <TD CLASS=\"". $dinfo[color] ."\" WIDTH=\"50%\">\n"; + + # TABLE STARTS + echo "<TABLE CLASS=single BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=\"100%\">\n"; + echo " <TR>\n"; + echo " <TH>". Date("l",$ts) ."</TH>\n"; + echo " </TR>\n"; + echo " <TR>\n"; + echo " <TD CLASS=\"". $dinfo[color] ."\" WIDTH=\"50%\">\n"; + if ( isset($dinfo[Desc]) ) { + echo " " . makelink("app_new.php?t=". $tref,$d,$lang['NewAppointInfo'],$dinfo[popinfo]) ."\n"; + echo "<BR><FONT SIZE=-1>". $dinfo[Desc] ."</FONT>\n"; + } else { + echo " " . makelink("app_new.php?t=". $tref,$d,$lang['NewAppointInfo']) ."\n"; + } + + $hastable = 0; + if ( count($current_user->callist) > 0 ) { + $xxx = $current_user->callist; + @reset($xxx); + while( list ($a,$apo) = @each ($xxx)) { + # Check if appointment is displayed + if ( $apo->gettype() == "appointment" ) { + $found = 0; + @reset($apo->participant); + while ( ($found == 0) && (list ($i,$f) = @each ($apo->participant)) ) { + if ( $f->id == $adr->id ) { + $found = 1; + } else { + $xx = $adr->teamids; + @reset($xx); + while ( list ($i2,$f2) = @each ($xx) ) { + if ( $f->id == $i2 ) { + $found = 1; + } + } + } + } + if ( $found == 0 ) { + continue; + } + } + // Do not show finished tasks + if ( ($apo->gettype() == "task") && ($apo->state == 2) ) { + continue; + } + if ( $hastable == 0 ) { + echo " <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=\"100%\">\n"; + $hastable = 1; + } else { + echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><IMG SRC=\"../html/black.png\" WIDTH=\"100%\" HEIGHT=1></TD></TR>\n"; + } + // Show appointments or task + $apo->formatted(); + } + } + + if ( $hastable == 1 ) { + echo " </TABLE>\n"; + } + + # TABLE ENDS + echo "</TABLE>\n"; + + echo " </TD>\n"; + if ( $col == 2 ) { + echo " </TR>\n"; + $col = 0; + } + + $day++; + $col++; + $ts = $next; + } + + echo "</TABLE>\n"; + } + /* --------------------------------------------------------------------------- + * + */ + Function navigate() { + global $tutos, $lang , $current_user; + echo "<TABLE>"; + echo "<TR><TD>"; + echo "</TD></TR>"; + + HTML_Select(); + } + HTML_Header($lang['Appointments']); + + HTML_Base1(); + navigate(); + HTML_Base2($msg); + info($t); + HTML_Base3(); + DB_Close($conn); Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** calendar.php 2001/08/30 16:01:58 1.28 --- calendar.php 2001/09/02 18:34:37 1.29 *************** *** 133,137 **** $wn = sprintf("%02d", Round( (Date("z",$ts)+7 ) / 7) ); $yy = Date("y",$ts); ! echo " <TD WIDTH=\"5%\" CLASS=week>". $wn ."/". $yy ."</TD>\n"; $dd = new DateTime(); --- 133,137 ---- $wn = sprintf("%02d", Round( (Date("z",$ts)+7 ) / 7) ); $yy = Date("y",$ts); ! echo " <TD CLASS=week WIDTH=\"5%\">". menulink("calendar_week.php?t=".Date("Ymd",$ts), $wn ."/". $yy, $wn ."/". $yy ) ."</TD>\n"; $dd = new DateTime(); Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** mytutos.php 2001/08/30 16:01:58 1.32 --- mytutos.php 2001/09/02 18:34:37 1.33 *************** *** 39,43 **** /* Back to last Monday or Sunday before ts */ ! while ( Date("w",$ts) != $current_user->weekstart ) { $ts -= 86400; } --- 39,43 ---- /* Back to last Monday or Sunday before ts */ ! while ( Date("w",$ts) != $adr->weekstart ) { $ts -= 86400; } *************** *** 50,54 **** echo " <TR>\n"; echo " <TH>". $lang['week'] ."</TH>\n"; ! if ( $current_user->weekstart == 0 ) { echo " <TH>". $lang['Day0'] ."</TH>\n"; } --- 50,54 ---- echo " <TR>\n"; echo " <TH>". $lang['week'] ."</TH>\n"; ! if ( $adr->weekstart == 0 ) { echo " <TH>". $lang['Day0'] ."</TH>\n"; } *************** *** 59,63 **** echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! if ( $current_user->weekstart != 0 ) { echo " <TH>". $lang['Day0'] ."</TH>\n"; } --- 59,63 ---- echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! if ( $adr->weekstart != 0 ) { echo " <TH>". $lang['Day0'] ."</TH>\n"; } *************** *** 65,69 **** echo " <TR>\n"; ! echo " <TD CLASS=week WIDTH=\"5%\">". $wn ."/". $yy ."</TD>\n"; $day = 0; $dd = new DateTime(); --- 65,69 ---- echo " <TR>\n"; ! echo " <TD CLASS=week WIDTH=\"5%\">". menulink("calendar_week.php?t=".Date("Ymd",$ts), $wn ."/". $yy, $wn ."/". $yy ) ."</TD>\n"; $day = 0; $dd = new DateTime(); *************** *** 79,85 **** $from->setDateTimeTS($ts - 12 * 3600); ! $current_user->callist = array(); ! readAppsCal($current_user,$from); ! readTaskCal($current_user,$from); echo "<TD CLASS=\"". $dinfo[color] ."\" WIDTH=\"10%\">\n"; --- 79,85 ---- $from->setDateTimeTS($ts - 12 * 3600); ! $adr->callist = array(); ! readAppsCal($adr,$from); ! readTaskCal($adr,$from); echo "<TD CLASS=\"". $dinfo[color] ."\" WIDTH=\"10%\">\n"; *************** *** 93,98 **** $hastable = 0; ! if ( count($current_user->callist) > 0 ) { ! $xxx = $current_user->callist; @reset($xxx); while( list ($a,$apo) = @each ($xxx)) { --- 93,98 ---- $hastable = 0; ! if ( count($adr->callist) > 0 ) { ! $xxx = $adr->callist; @reset($xxx); while( list ($a,$apo) = @each ($xxx)) { *************** *** 195,199 **** global $lang,$conn, $tutos; ! $q = "SELECT * from bugs where creator = ". $adr->id ." order by creation DESC"; $r = @DB_Exec($conn,$q); $n = DB_NumRows($r); --- 195,199 ---- global $lang,$conn, $tutos; ! $q = "SELECT * from bugs where creator = ". $adr->id ." where state <> 4 order by creation DESC"; $r = @DB_Exec($conn,$q); $n = DB_NumRows($r); |
From: Boris W. <bw...@us...> - 2001-08-31 21:29:13
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv32007 Modified Files: config.pinc product_overview.php Log Message: Added support for new roles Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -r1.67 -r1.68 *** config.pinc 2001/08/31 12:24:44 1.67 --- config.pinc 2001/08/31 21:29:05 1.68 *************** *** 244,247 **** --- 244,250 ---- $tutos[prodfields][] = "manager"; $tutos[prodfields][] = "customer"; + $tutos[prodfields][] = "supplier"; + $tutos[prodfields][] = "reseller"; + $tutos[prodfields][] = "partner"; $tutos[prodfields][] = "desc"; $tutos[prodfields][] = "desc1"; Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** product_overview.php 2001/08/27 09:08:29 1.23 --- product_overview.php 2001/08/31 21:29:05 1.24 *************** *** 84,87 **** --- 84,99 ---- $flds++; } + if ( ($c == "supplier") && $pshow[$c] ) { + echo order_header("",$lang['ProdRole'][7]); + $flds++; + } + if ( ($c == "reseller") && $pshow[$c] ) { + echo order_header("",$lang['ProdRole'][8]); + $flds++; + } + if ( ($c == "partner") && $pshow[$c] ) { + echo order_header("",$lang['ProdRole'][9]); + $flds++; + } if ( ($c == "desc") && $pshow[$c] ) { echo order_header("description",$lang['ProdDesc']); *************** *** 235,238 **** --- 247,298 ---- echo " </TD>\n"; } + # Supplier + if ( ($c == "supplier") && $pshow[$c] ) { + echo " <TD VALIGN=top>\n "; + if (isset($p->role[7]) && (count($p->role[7]) > 0) ) { + @reset ($p->role[7]) ; + $x = 0; + while ( list ($i,$r) = @each ($p->role[7]) ) { + if ( $x > 0 ) { + echo "<BR>\n "; + } + echo $r->getLink(); + $x++; + } + } + echo " </TD>\n"; + } + # Reseller + if ( ($c == "reseller") && $pshow[$c] ) { + echo " <TD VALIGN=top>\n "; + if (isset($p->role[8]) && (count($p->role[8]) > 0) ) { + @reset ($p->role[8]) ; + $x = 0; + while ( list ($i,$r) = @each ($p->role[8]) ) { + if ( $x > 0 ) { + echo "<BR>\n "; + } + echo $r->getLink(); + $x++; + } + } + echo " </TD>\n"; + } + # Partner + if ( ($c == "partner") && $pshow[$c] ) { + echo " <TD VALIGN=top>\n "; + if (isset($p->role[9]) && (count($p->role[9]) > 0) ) { + @reset ($p->role[9]) ; + $x = 0; + while ( list ($i,$r) = @each ($p->role[9]) ) { + if ( $x > 0 ) { + echo "<BR>\n "; + } + echo $r->getLink(); + $x++; + } + } + echo " </TD>\n"; + } if ( ($c == "desc") && $pshow[$c] ) { $b = $p->description; *************** *** 584,588 **** $schecked[$i] = ""; } else { ! $schecked[$i] = "CHECKED"; } } --- 644,648 ---- $schecked[$i] = ""; } else { ! $schecked[$i] = "CHECKED"; } } *************** *** 638,641 **** --- 698,704 ---- $flds['manager'] = 'ProdRole1'; $flds['customer'] = 'ProdRole6'; + $flds['supplier'] = 'ProdRole7'; + $flds['reseller'] = 'ProdRole8'; + $flds['partner'] = 'ProdRole9'; $flds['desc'] = 'ProdDesc'; $flds['desc1'] = 'ProdDesc1'; |
From: Boris W. <bw...@us...> - 2001-08-31 20:31:49
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv18170 Modified Files: product_new.php Log Message: Added space Index: product_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_new.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** product_new.php 2001/08/30 16:01:58 1.22 --- product_new.php 2001/08/31 20:31:44 1.23 *************** *** 85,89 **** $p->rdel[$val] = ""; } ! echo " <TD><INPUT TYPE=checkbox NAME=del[] value=\"". $val ."\"". $p->rdel[$val] .">". $lang['Remove'] ."</TD>"; $n++; echo "</TR>\n"; --- 85,89 ---- $p->rdel[$val] = ""; } ! echo " <TD><INPUT TYPE=checkbox NAME=del[] value=\"". $val ."\"". $p->rdel[$val] ."> ". $lang['Remove'] ."</TD>"; $n++; echo "</TR>\n"; |
From: Gero K. <gok...@us...> - 2001-08-31 16:09:00
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13657/php Modified Files: location_ins.php Log Message: trim email before check Index: location_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/location_ins.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** location_ins.php 2001/08/30 12:28:13 1.11 --- location_ins.php 2001/08/31 08:35:16 1.12 *************** *** 76,79 **** --- 76,80 ---- $regex = '^([._a-z0-9-]+[._a-z0-9-]*)@(([a-z0-9-]+\.)*([a-z0-9-]+)(\.[a-z]{2,3}))$'; if ( isset($email_1) ) { + $email_1 = trim($emai_1); if ( ($email_1 != "") && !eregi($regex,$email_1)) { $msg .= sprintf($lang['Err0043'],$email_1); *************** *** 81,84 **** --- 82,86 ---- } if ( isset($email_2) ) { + $email_2 = trim($emai_2); if ( ($email_2 != "") && ! eregi($regex,$email_2)) { $msg .= sprintf($lang['Err0043'],$email_2); |
From: Gero K. <gok...@us...> - 2001-08-31 14:41:32
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv10922/php Modified Files: config.pinc Log Message: release 20010831 Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -r1.66 -r1.67 *** config.pinc 2001/08/30 16:38:21 1.66 --- config.pinc 2001/08/31 12:24:44 1.67 *************** *** 373,377 **** # (This will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=1; # # Where to put the output --- 373,377 ---- # (This will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=0; # # Where to put the output *************** *** 399,403 **** # The TUTOS Version number # ! $tutos[version]="20010825"; # $includes[config.pinc] = 1; --- 399,403 ---- # The TUTOS Version number # ! $tutos[version]="20010831"; # $includes[config.pinc] = 1; |
From: Gero K. <gok...@us...> - 2001-08-31 14:11:02
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv21587 Modified Files: check.php Log Message: fixed missing includes Index: check.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/check.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** check.php 2001/08/21 14:03:16 1.12 --- check.php 2001/08/31 11:07:42 1.13 *************** *** 15,18 **** --- 15,21 ---- include("note.pinc"); include("history.pinc"); + include("task.pinc"); + include("timetrack.pinc"); + include("resource.pinc"); $conn = DB_Open(); |
From: Gero K. <gok...@us...> - 2001-08-31 14:09:46
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13096/php Modified Files: mail.pinc Log Message: version check before using date format Index: mail.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/mail.pinc,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** mail.pinc 2001/08/27 11:04:18 1.16 --- mail.pinc 2001/08/31 08:33:10 1.17 *************** *** 425,429 **** fputs($fd, "From: \"". $this->from->getFullName() ." (TUTOS)\" <". $from .">".$eoln); fputs($fd, "Reply-To: \"". $this->from->getFullName() ."\" <". $from .">".$eoln); ! fputs($fd, "Date: ". Date("r") .$eoln); fputs($fd, "Subject: ". $this->subject .$eoln); fputs($fd, "To: ". $to .$eoln); --- 425,433 ---- fputs($fd, "From: \"". $this->from->getFullName() ." (TUTOS)\" <". $from .">".$eoln); fputs($fd, "Reply-To: \"". $this->from->getFullName() ."\" <". $from .">".$eoln); ! if ( ereg( "[4-9]\.[0-9]\.[6-9].*", phpversion() ) ) { ! fputs($fd, "Date: ". Date("r") .$eoln); ! } else { ! fputs($fd, "Date: ". Date("D, d M Y H:i:s") .$eoln); ! } fputs($fd, "Subject: ". $this->subject .$eoln); fputs($fd, "To: ". $to .$eoln); |
From: Gero K. <gok...@us...> - 2001-08-31 14:08:36
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv22045/php Modified Files: history.pinc history_show.php Log Message: added navigation Index: history.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/history.pinc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** history.pinc 2001/08/27 14:11:38 1.12 --- history.pinc 2001/08/31 08:57:02 1.13 *************** *** 15,18 **** --- 15,20 ---- return; } + $obj->history = array(); + $q = "SELECT * from history where obj_id = ". $obj->id ." order by m_time"; $r = @DB_Exec($obj->conn,$q); Index: history_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/history_show.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** history_show.php 2001/08/30 16:01:58 1.11 --- history_show.php 2001/08/31 08:57:02 1.12 *************** *** 21,105 **** * */ ! Function info(&$obj) { ! global $lang; echo "<TABLE CLASS=single BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo " <TH COLSPAN=5>". sprintf($lang['HistoryShow'],$lang[$obj->getType()],$obj->getLink()) ."</TH>\n"; echo "</TR>\n"; echo "<TR>\n"; ! echo " <TH>". $lang['HistoryFld'] ."</TH>\n"; ! echo " <TH>". $lang['HistoryOldV'] ."</TH>\n"; ! echo " <TH>". $lang['HistoryNewV'] ."</TH>\n"; ! echo " <TH>". $lang['User'] ."</TH>\n"; ! echo " <TH>". $lang['atDateTime'] ."</TH>\n"; echo "</TR>\n"; $line = ""; $obj->readHistory(); ! if ( isset($obj->history) && count($obj->history) > 0 ) { ! @reset ($obj->history); ! while ( list ($i,$f) = @each ($obj->history) ) { ! if ( $line == 1 ) { ! $line = 2; ! } else { ! $line = 1; ! } ! echo "<TR CLASS=line". $line .">\n"; ! if ( isset( $lang[$f["field"]]) ) { ! echo " <TD><B> ". $lang[$f["field"]] ."</B></TD>\n"; ! } else { ! echo " <TD><B> ". $f["field"] ."</B></TD>\n"; ! } ! if ( $f['field'] == "TaskState" ) { ! echo " <TD> ". $lang['TaskStates'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['TaskStates'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugState" ) { ! echo " <TD> ". $lang['BugStates'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['BugStates'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugClass" ) { ! echo " <TD> ". $lang['BugClasses'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['BugClasses'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new bug($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "InstCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new installation($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "NoteCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new note($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "FileCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new file($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "URLAdd" ) { echo " <TD> </TD>\n"; ! $b = new url($obj->conn); ! $b->read($f["new"]); if ( $b->id > 0 ) { echo " <TD> ". $b->getLink() ."</TD>\n"; --- 21,146 ---- * */ ! Function info(&$obj,$start = 0) { ! global $lang,$tutos,$link1; echo "<TABLE CLASS=single BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo " <TH COLSPAN=5>". sprintf($lang['HistoryShow'],$lang[$obj->getType()],menulink($obj->getURL(),$obj->getFullName())) ."</TH>\n"; echo "</TR>\n"; echo "<TR>\n"; ! echo order_header("",$lang['HistoryFld']); ! echo order_header("",$lang['HistoryOldV']); ! echo order_header("",$lang['HistoryNewV']); ! echo order_header("",$lang['User']); ! echo order_header("",$lang['atDateTime']); echo "</TR>\n"; $line = ""; $obj->readHistory(); ! $n = count($obj->history); ! if ( $n == 0 ) { ! return; ! } ! ! if ( $start == -1 ) { ! $a = $n - $tutos[maxshow]; ! $end = $n; ! $start = $a; ! } else { ! $a = $start; ! $end = $start + $tutos[maxshow]; ! } ! ! # @reset ($obj->history); ! # while ( list ($i,$f) = @each ($obj->history) ) { ! ! while ( ($a < $n) && ($a < $end) ) { ! $f = $obj->history[$a]; ! if ( $line == 1 ) { ! $line = 2; ! } else { ! $line = 1; ! } ! echo "<TR CLASS=line". $line .">\n"; ! if ( isset( $lang[$f["field"]]) ) { ! echo " <TD><B> ". $lang[$f["field"]] ."</B></TD>\n"; ! } else { ! echo " <TD><B> ". $f["field"] ."</B></TD>\n"; ! } ! if ( $f['field'] == "TaskState" ) { ! echo " <TD> ". $lang['TaskStates'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['TaskStates'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugState" ) { ! echo " <TD> ". $lang['BugStates'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['BugStates'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugClass" ) { ! echo " <TD> ". $lang['BugClasses'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['BugClasses'][$f["new"]] ."</TD>\n"; ! } else if ( $f['field'] == "BugCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new bug($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "InstCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new installation($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "NoteCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new note($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "FileCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new file($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "URLAdd" ) { ! echo " <TD> </TD>\n"; ! $b = new url($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "TaskCreate" ) { ! echo " <TD> </TD>\n"; ! $b = new task($obj->conn); ! $b->read($f["new"]); ! if ( $b->id > 0 ) { ! echo " <TD> ". $b->getLink() ."</TD>\n"; ! } else { ! echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; ! } ! } else if ( $f['field'] == "ProdState" ) { ! echo " <TD> ". $lang['ProdStates'][$f["old"]] ."</TD>\n"; ! echo " <TD> ". $lang['ProdStates'][$f["new"]] ."</TD>\n"; ! } else if ( ereg("ProdRole?",$f['field']) ! || ($f['field'] == "Customer") ! || ($f['field'] == "SoldBy") ! || ($f['field'] == "InstalledBy") ) { ! if ( $f["old"] <= 0 ) { echo " <TD> </TD>\n"; ! } else { ! $b = getObject($f["old"]); if ( $b->id > 0 ) { echo " <TD> ". $b->getLink() ."</TD>\n"; *************** *** 107,114 **** echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; } ! } else if ( $f['field'] == "TaskCreate" ) { echo " <TD> </TD>\n"; ! $b = new task($obj->conn); ! $b->read($f["new"]); if ( $b->id > 0 ) { echo " <TD> ". $b->getLink() ."</TD>\n"; --- 148,156 ---- echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; } ! } ! if ( $f["new"] <= 0 ) { echo " <TD> </TD>\n"; ! } else { ! $b = getObject($f["new"]); if ( $b->id > 0 ) { echo " <TD> ". $b->getLink() ."</TD>\n"; *************** *** 116,155 **** echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; } - } else if ( $f['field'] == "ProdState" ) { - echo " <TD> ". $lang['ProdStates'][$f["old"]] ."</TD>\n"; - echo " <TD> ". $lang['ProdStates'][$f["new"]] ."</TD>\n"; - } else if ( ereg("ProdRole?",$f['field']) - || ($f['field'] == "Customer") - || ($f['field'] == "SoldBy") - || ($f['field'] == "InstalledBy") ) { - if ( $f["old"] <= 0 ) { - echo " <TD> </TD>\n"; - } else { - $b = getObject($f["old"]); - if ( $b->id > 0 ) { - echo " <TD> ". $b->getLink() ."</TD>\n"; - } else { - echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; - } - } - if ( $f["new"] <= 0 ) { - echo " <TD> </TD>\n"; - } else { - $b = getObject($f["new"]); - if ( $b->id > 0 ) { - echo " <TD> ". $b->getLink() ."</TD>\n"; - } else { - echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; - } - } - } else { - echo " <TD> ". $f["old"]."</TD>\n"; - echo " <TD> ". $f["new"]."</TD>\n"; } ! echo " <TD> ". $f["adr_id"]->getLink() ."</TD>\n"; ! echo " <TD> ". $f["m_time"]->getDateTime() ."</TD>\n"; ! echo "</TR>\n"; } } echo "</TABLE>\n"; } --- 158,172 ---- echo " <TD><I>". $lang['HistoryDeleted'] ."</I></TD>\n"; } } ! } else { ! echo " <TD> ". $f["old"]."</TD>\n"; ! echo " <TD> ". $f["new"]."</TD>\n"; } + echo " <TD> ". $f["adr_id"]->getLink() ."</TD>\n"; + echo " <TD> ". $f["m_time"]->getDateTime() ."</TD>\n"; + echo "</TR>\n"; + $a++; } + ShowBackForwardNav($link1,5,$start,$a,$n); echo "</TABLE>\n"; } *************** *** 165,172 **** --- 182,192 ---- } + $link1 = "history_show.php"; + if ( isset($id) ) { $obj = getObject($id); HTML_Header(sprintf($lang['HistoryDetail'],$lang[$obj->getType()])); $id = $obj->id; + $link1 = addUrlParameter($link1,"id=".$id); } else { $id = -1; *************** *** 178,186 **** $id = -1; } HTML_Base1(); navigate(); HTML_Base2($msg); if ( $id > 0 ) { ! info($obj); } HTML_Base3(); --- 198,210 ---- $id = -1; } + if ( ! isset($start) ) { + $start = 0; + } + HTML_Base1(); navigate(); HTML_Base2($msg); if ( $id > 0 ) { ! info($obj,$start); } HTML_Base3(); |
From: Gero K. <gok...@us...> - 2001-08-31 14:08:32
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv10922 Modified Files: ChangeLog tutos.spec Log Message: release 20010831 Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -r1.58 -r1.59 *** ChangeLog 2001/08/30 16:55:04 1.58 --- ChangeLog 2001/08/31 12:24:44 1.59 *************** *** 1,5 **** $Header$ ! August ?? 2001 ! * RELEASE ?????? August 27 2001 * new acl_overview and message_overview and message_del scripts (Boris) --- 1,7 ---- $Header$ ! August 31 2001 ! * RELEASE 20010831 ! August 30 2001 ! * finished tasks are no longer shown in the mytutos and personal taskoverview page August 27 2001 * new acl_overview and message_overview and message_del scripts (Boris) Index: tutos.spec =================================================================== RCS file: /cvsroot/tutos/tutos/tutos.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** tutos.spec 2001/08/08 16:53:21 1.18 --- tutos.spec 2001/08/31 12:24:44 1.19 *************** *** 3,7 **** # Name: TUTOS ! Version: 20010808 Summary: the ultimate team organisation software Release: 1 --- 3,7 ---- # Name: TUTOS ! Version: 20010831 Summary: the ultimate team organisation software Release: 1 |
From: Gero K. <gok...@us...> - 2001-08-31 14:07:00
|
Update of /cvsroot/tutos/tutos/html In directory usw-pr-cvs1:/tmp/cvs-serv5482/html Modified Files: blue.css Log Message: chnged address color Index: blue.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/blue.css,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** blue.css 2001/08/30 13:38:47 1.20 --- blue.css 2001/08/31 12:05:05 1.21 *************** *** 232,236 **** ADDRESS { - background: yellow; font-size: x-small; } --- 232,235 ---- |
From: Gero K. <gok...@us...> - 2001-08-31 14:06:55
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv27293 Modified Files: address_ins.php Log Message: fixed typo Index: address_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_ins.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** address_ins.php 2001/08/30 10:16:51 1.12 --- address_ins.php 2001/08/31 09:05:22 1.13 *************** *** 42,46 **** } else { $f_name = trim($f_name); ! $gotourl= addUrlParameter($gotourl,"f_name=". UrlEncode(StripSlahes($f_name))); } --- 42,46 ---- } else { $f_name = trim($f_name); ! $gotourl= addUrlParameter($gotourl,"f_name=". UrlEncode(StripSlashes($f_name))); } |
From: Gero K. <gok...@us...> - 2001-08-31 14:06:55
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13270/php Modified Files: acl_new.php acl_show.php Log Message: better readable headers Index: acl_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/acl_new.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** acl_new.php 2001/08/30 13:21:30 1.13 --- acl_new.php 2001/08/31 08:33:48 1.14 *************** *** 102,106 **** echo " <TR><TH COLSPAN=6>"; ! echo sprintf($lang['AclModifyI'],$lang[$obj->getType()] ." ". $obj->getLink()); echo "</TH></TR>\n"; --- 102,106 ---- echo " <TR><TH COLSPAN=6>"; ! echo sprintf($lang['AclModifyI'],$lang[$obj->getType()] ." ". menulink($obj->getURL(),$obj->getFullName())); echo "</TH></TR>\n"; *************** *** 145,149 **** echo "</TABLE>\n"; echo "</FORM>\n"; ! echo $lang['FldsRequired'] ."\n"; } /* --------------------------------------------------------------------------- --- 145,149 ---- echo "</TABLE>\n"; echo "</FORM>\n"; ! # echo $lang['FldsRequired'] ."\n"; } /* --------------------------------------------------------------------------- Index: acl_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/acl_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** acl_show.php 2001/08/30 13:21:30 1.8 --- acl_show.php 2001/08/31 08:33:48 1.9 *************** *** 53,57 **** echo "<TABLE CLASS=single BORDER=0 CELLSPACING=0>\n"; echo " <TR><TH COLSPAN=6>"; ! echo sprintf($lang['AclDetailI'],$lang[$obj->getType()] ." ". $obj->getLink()); echo "</TH></TR>\n"; --- 53,57 ---- echo "<TABLE CLASS=single BORDER=0 CELLSPACING=0>\n"; echo " <TR><TH COLSPAN=6>"; ! echo sprintf($lang['AclDetailI'],$lang[$obj->getType()] ." ". menulink($obj->getURL(),$obj->getFullName())); echo "</TH></TR>\n"; *************** *** 63,73 **** echo "<TR>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line1>\n"; show($obj,$tutos[seeok],$tutos[modok],"r"); echo " </TD>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line2>\n"; show($obj,$tutos[modok],$tutos[delok],"m"); echo " </TD>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line1>\n"; show($obj,$tutos[delok],99,"d"); echo " </TD>\n"; --- 63,73 ---- echo "<TR>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line1 NOWRAP>\n"; show($obj,$tutos[seeok],$tutos[modok],"r"); echo " </TD>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line2 NOWRAP>\n"; show($obj,$tutos[modok],$tutos[delok],"m"); echo " </TD>\n"; ! echo " <TD VALIGN=top COLSPAN=2 CLASS=line1 NOWRAP>\n"; show($obj,$tutos[delok],99,"d"); echo " </TD>\n"; |
From: Gero K. <gok...@us...> - 2001-08-31 14:06:50
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv21830 Modified Files: admin_show.php Log Message: show useful oracle info in header Index: admin_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/admin_show.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** admin_show.php 2001/08/27 19:43:46 1.13 --- admin_show.php 2001/08/31 11:08:48 1.14 *************** *** 83,90 **** echo "</TR>\n"; echo "<TR>\n"; ! showfield($lang['AdminDBHost']); ! echo " <TD>". $tutos[dbhost][$tutos[dbnr]] ."</TD>\n"; ! showfield($lang['AdminDBPort']); ! echo " <TD>". $tutos[dbport][$tutos[dbnr]] ."</TD>\n"; echo "</TR>\n"; echo "<TR>\n"; --- 83,95 ---- echo "</TR>\n"; echo "<TR>\n"; ! if ( $tutos[dbtype][$tutos[dbnr]] == 3 ) { ! showfield($lang['ProdPath']); ! echo " <TD COLSPAN=3>". $tutos[dbhome][$tutos[dbnr]] ."</TD>\n"; ! } else { ! showfield($lang['AdminDBHost']); ! echo " <TD>". $tutos[dbhost][$tutos[dbnr]] ."</TD>\n"; ! showfield($lang['AdminDBPort']); ! echo " <TD>". $tutos[dbport][$tutos[dbnr]] ."</TD>\n"; ! } echo "</TR>\n"; echo "<TR>\n"; |
From: Gero K. <gok...@us...> - 2001-08-31 14:06:01
|
Update of /cvsroot/tutos/tutos/homepage In directory usw-pr-cvs1:/tmp/cvs-serv4463/homepage Modified Files: about.html database.html download.html head0.html head1.html head2.html index.html Log Message: updated homepage look Index: about.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/about.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** about.html 2001/02/21 20:32:37 1.10 --- about.html 2001/08/31 12:01:59 1.11 *************** *** 25,29 **** <LI>mailboxes (imap/pop)</LI> <LI><A HREF=timetrack.html>timetracking</A> on projects, installations and bugs</LI> ! <LI>Watchlists. Stay informed on changes on projects/bugs etc. </UL> --- 25,33 ---- <LI>mailboxes (imap/pop)</LI> <LI><A HREF=timetrack.html>timetracking</A> on projects, installations and bugs</LI> ! <LI>Watchlists. Stay informed on changes on projects/bugs etc via email. ! <LI>support for teams that are distributed over different timezones ! <LI>color schemes ! <LI>fine grained permission handling ! <LI>change history </UL> *************** *** 39,47 **** <LI>Italian <LI>Spanish ! <LI>French <STRIKE>(need some help here)</STRIKE> <LI>Traditional Chinese <LI>Simplified Chinese <LI>Russian <LI>Brazilian Portuguese </UL> --- 43,54 ---- <LI>Italian <LI>Spanish ! <LI>French <LI>Traditional Chinese <LI>Simplified Chinese + <LI>Korean (parts only) <LI>Russian <LI>Brazilian Portuguese + <LI>Dutch + <LI>Polish </UL> *************** *** 57,64 **** (i.e space, shell account, postgres database, and apache+php+jserv)</STRIKE> <LI>easier install ! <LI>first steps towards JAVA servlets ! <LI>support of different databases<BR> ! <STRIKE>mysql, oracle</STRIKE> ... ! <LI>manage todo list with reminders <LI>more languages (personally I only speak german and english) <LI>make a sync mechanism to other calendars<BR> --- 64,68 ---- (i.e space, shell account, postgres database, and apache+php+jserv)</STRIKE> <LI>easier install ! <LI>first steps towards JAVA servlets (delayed ! any takers ?) <LI>more languages (personally I only speak german and english) <LI>make a sync mechanism to other calendars<BR> *************** *** 76,78 **** <P> ! <!--#include file="foot1.html" --> \ No newline at end of file --- 80,82 ---- <P> ! <!--#include file="foot1.html" --> Index: database.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/database.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** database.html 2001/03/26 17:13:28 1.4 --- database.html 2001/08/31 12:01:59 1.5 *************** *** 14,18 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=people>people</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#addresses>addresses</A></TD></TR> --- 14,18 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=people>people</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#addresses>addresses</A></TD></TR> *************** *** 42,46 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=addresses>addresses</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>title</TD> <TD>varchar(10)</TD> <TD> </TD> <TD>title</TD></TR> --- 42,46 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=addresses>addresses</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>title</TD> <TD>varchar(10)</TD> <TD> </TD> <TD>title</TD></TR> *************** *** 60,64 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=location>location</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>category</TD> <TD>int4</TD> <TD>not null</TD> <TD>1 == private 2 == buisness</A></TD></TR> --- 60,64 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=location>location</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>category</TD> <TD>int4</TD> <TD>not null</TD> <TD>1 == private 2 == buisness</A></TD></TR> *************** *** 84,88 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=adrloc>adrloc</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD><TD>reference to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>loc_id</TD> <TD>int4</TD> <TD>not null</TD><TD>referemce to <A HREF=#location>location</A></TD></TR> --- 84,88 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=adrloc>adrloc</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD><TD>reference to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>loc_id</TD> <TD>int4</TD> <TD>not null</TD><TD>referemce to <A HREF=#location>location</A></TD></TR> *************** *** 96,100 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=teams>teams</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(30)</TD> <TD> </TD> <TD>name of team</A></TD></TR> --- 96,100 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=teams>teams</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(30)</TD> <TD> </TD> <TD>name of team</A></TD></TR> *************** *** 110,114 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=adrteam>adrteam</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>team_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#teams>teams</A></TD></TR> --- 110,114 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=adrteam>adrteam</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>team_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to <A HREF=#teams>teams</A></TD></TR> *************** *** 121,125 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=calendar>calendar</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>a_start</TD> <TD>datetime</TD> <TD>not null</TD> <TD>Start of event</TD></TR> --- 121,125 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=calendar>calendar</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>a_start</TD> <TD>datetime</TD> <TD>not null</TD> <TD>Start of event</TD></TR> *************** *** 153,157 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=participants>participants</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD><TD>refernce to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>app_id</TD> <TD>int4</TD> <TD> </TD><TD>refernce to <A HREF=#calendar>calendar</A></TD></TR> --- 153,157 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=participants>participants</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD><TD>refernce to <A HREF=#addresses>addresses</A></TD></TR> <TR><TD>app_id</TD> <TD>int4</TD> <TD> </TD><TD>refernce to <A HREF=#calendar>calendar</A></TD></TR> *************** *** 165,169 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=products>products</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(40)</TD> <TD> </TD> <TD>product/project name</TD></TR> --- 165,169 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=products>products</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(40)</TD> <TD> </TD> <TD>product/project name</TD></TR> *************** *** 191,195 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=projectroles>projectroles</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>person/team that got a role</TD></TR> <TR><TD>pro_id</TD> <TD>int4</TD> <TD> </TD> <TD>product/project</TD></TR> --- 191,195 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=projectroles>projectroles</A></TH></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>person/team that got a role</TD></TR> <TR><TD>pro_id</TD> <TD>int4</TD> <TD> </TD> <TD>product/project</TD></TR> *************** *** 210,214 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=tasks>tasks</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(40)</TD> <TD> </TD> <TD>task name</TD></TR> --- 210,214 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=tasks>tasks</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(40)</TD> <TD> </TD> <TD>task name</TD></TR> *************** *** 237,241 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=installations>installations</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>customer_id</TD> <TD>int4</TD> <TD> </TD> <TD>person/team/company</TD></TR> --- 237,241 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=installations>installations</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>customer_id</TD> <TD>int4</TD> <TD> </TD> <TD>person/team/company</TD></TR> *************** *** 255,259 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=bugs>bugs</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>product_id</TD> <TD>int4</TD> <TD> </TD> <TD>the id of the buggy product<BR> --- 255,259 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=bugs>bugs</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>product_id</TD> <TD>int4</TD> <TD> </TD> <TD>the id of the buggy product<BR> *************** *** 278,282 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=companies>companies</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(30)</TD> <TD> </TD> <TD>company name</TD></TR> --- 278,282 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=companies>companies</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>name</TD> <TD>varchar(30)</TD> <TD> </TD> <TD>company name</TD></TR> *************** *** 290,294 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=departments>departments</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>c_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to <A HREF=#companies>companies</A></TD></TR> --- 290,294 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=departments>departments</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>c_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to <A HREF=#companies>companies</A></TD></TR> *************** *** 303,307 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=notes>notes</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> --- 303,307 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=notes>notes</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> *************** *** 319,323 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=urls>urls</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> --- 319,323 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=urls>urls</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> *************** *** 332,336 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=files>files</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> --- 332,336 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=files>files</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> *************** *** 355,359 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=mailboxes>mailboxes</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> --- 355,359 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=mailboxes>mailboxes</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>primary key</TD><TD>generated by <A HREF=#sequencer>sequencer</A></TD></TR> <TR><TD>link_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> *************** *** 371,375 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=timetrack>timetrack</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to a user</TD></TR> --- 371,375 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=timetrack>timetrack</A></TH></TR> <TR><TD>id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to a user</TD></TR> *************** *** 386,390 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=watchlist>watchlist</A></TH></TR> <TR><TD>obj_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to a user</TD></TR> --- 386,390 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=watchlist>watchlist</A></TH></TR> <TR><TD>obj_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD>not null</TD> <TD>reference to a user</TD></TR> *************** *** 396,400 **** <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A NAME=history>history</A></TH></TR> <TR><TD>obj_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to a user</TD></TR> --- 396,400 ---- <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD> <TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=2 CELLSPACING=1> ! <TR><TH COLSPAN=4>TABLE: <A CLASS=nodeco NAME=history>history</A></TH></TR> <TR><TD>obj_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to another objects primary key</TD></TR> <TR><TD>adr_id</TD> <TD>int4</TD> <TD> </TD> <TD>reference to a user</TD></TR> *************** *** 411,413 **** ! <!--#include file="foot1.html" --> \ No newline at end of file --- 411,413 ---- ! <!--#include file="foot1.html" --> Index: download.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/download.html,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** download.html 2001/07/26 17:14:49 1.31 --- download.html 2001/08/31 12:01:59 1.32 *************** *** 17,23 **** <P> <UL> ! <LI>26 July 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010726.tar.bz2> ! tutos-all-20010726.tar.bz2</STRIKE></A> <P>OLDER:<BR> <LI>18 June 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010618.tar.bz2> <STRIKE>tutos-all-20010618.tar.bz2</STRIKE></A> --- 17,25 ---- <P> <UL> ! <LI>31 August 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010831.tar.bz2> ! tutos-all-20010831.tar.bz2</STRIKE></A> <P>OLDER:<BR> + <LI>26 July 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010726.tar.bz2> + <STRIKE>tutos-all-20010726.tar.bz2</STRIKE></A> <LI>18 June 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010618.tar.bz2> <STRIKE>tutos-all-20010618.tar.bz2</STRIKE></A> Index: head0.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/head0.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** head0.html 2000/08/01 21:01:29 1.2 --- head0.html 2001/08/31 12:01:59 1.3 *************** *** 6,11 **** <HEAD> ! <LINK REL="stylesheet" HREF="tutos.css" TYPE="text/css"> <LINK REL="copyright" HREF="copyright.html" TITLE="Copyright"> <!-- start of head 0 --> ! <TITLE> \ No newline at end of file --- 6,11 ---- <HEAD> ! <LINK REL="stylesheet" HREF="../html/blue.css" TYPE="text/css"> <LINK REL="copyright" HREF="copyright.html" TITLE="Copyright"> <!-- start of head 0 --> ! <TITLE> Index: head1.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/head1.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** head1.html 2000/09/17 23:14:55 1.4 --- head1.html 2001/08/31 12:01:59 1.5 *************** *** 5,12 **** <TABLE CELLSPACING=0 CELLPADDING=2 WIDTH="100%" BORDER=0> <TR> ! <TD WIDTH=5% CLASS=headline COLSPAN=2 ROWSPAN=3 ALIGN=left> <A HREF=http://marvin.tutos.org>GKLC</A></TD> <TD WIFTH=90% CLASS=headline><FONT SIZE="-2"> </FONT></TD> <TD WIDTH=5% CLASS=headline ROWSPAN=3 ALIGN=right> </TD> </TR><TR> ! <TD BGCOLOR="#AAAAAA" CLASS=headline ALIGN=center><B><FONT SIZE="+2"> ! <!-- end of head 1 --> \ No newline at end of file --- 5,14 ---- <TABLE CELLSPACING=0 CELLPADDING=2 WIDTH="100%" BORDER=0> <TR> ! <TD WIDTH=5% CLASS=headline COLSPAN=2 ROWSPAN=3 ALIGN=left> ! <!-- <A CLASS=nodeco HREF=http://marvin.tutos.org>GKLC</A></TD> --> ! <A CLASS=nodeco HREF=http://www.tutos.org><IMG SRC="../html/tutos_small.gif"></A></TD> <TD WIFTH=90% CLASS=headline><FONT SIZE="-2"> </FONT></TD> <TD WIDTH=5% CLASS=headline ROWSPAN=3 ALIGN=right> </TD> </TR><TR> ! <TD CLASS=headline ALIGN=center><B><FONT SIZE="+2"> ! <!-- end of head 1 --> Index: head2.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/head2.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** head2.html 2000/10/01 19:33:26 1.5 --- head2.html 2001/08/31 12:01:59 1.6 *************** *** 6,20 **** <TD CLASS=navigate ALIGN=left VALIGN=top WIDTH=10% NOWRAP> <!-- menu start --> ! <P><A HREF=index.html>Home</A> <BR> ! <P><A HREF=about.html>What is TUTOS ?</A> ! <P><A HREF=screens.html>Screenshots</A> ! <P><A HREF=require.html>Requirements</A> ! <P><A HREF=install.html>Installation</A> ! <P><A HREF=download.html>Download</A> ! <P><A HREF=status.html>Status / Demo</A> ! <P><A HREF=feedback.html>Feedback</A> ! <P><A HREF=docs.html>Documentation</A> ! <P><A HREF=links.html>related links</A> <P> <P> --- 6,20 ---- <TD CLASS=navigate ALIGN=left VALIGN=top WIDTH=10% NOWRAP> <!-- menu start --> ! <P><A CLASS=nodeco HREF=index.html>Home</A> <BR> ! <P><A CLASS=nodeco HREF=about.html>What is TUTOS ?</A> ! <P><A CLASS=nodeco HREF=screens.html>Screenshots</A> ! <P><A CLASS=nodeco HREF=require.html>Requirements</A> ! <P><A CLASS=nodeco HREF=install.html>Installation</A> ! <P><A CLASS=nodeco HREF=download.html>Download</A> ! <P><A CLASS=nodeco HREF=status.html>Status / Demo</A> ! <P><A CLASS=nodeco HREF=feedback.html>Feedback</A> ! <P><A CLASS=nodeco HREF=docs.html>Documentation</A> ! <P><A CLASS=nodeco HREF=links.html>related links</A> <P> <P> *************** *** 24,26 **** <TD ALIGN=left WIDTH=95% VALIGN=top COLSPAN=2 ROWSPAN=2> ! <!-- end of head 2 --> \ No newline at end of file --- 24,26 ---- <TD ALIGN=left WIDTH=95% VALIGN=top COLSPAN=2 ROWSPAN=2> ! <!-- end of head 2 --> Index: index.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/index.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** index.html 2001/08/21 21:57:11 1.9 --- index.html 2001/08/31 12:01:59 1.10 *************** *** 2,6 **** the ultimate team organization software <!--#include file="head1.html" --> ! The home of TUTOS <!--#include file="head2.html" --> --- 2,6 ---- the ultimate team organization software <!--#include file="head1.html" --> ! TUTOS <!--#include file="head2.html" --> |
From: Gero K. <gok...@us...> - 2001-08-31 14:05:33
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13708/php Modified Files: task_overview.php Log Message: better readable headers Index: task_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_overview.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** task_overview.php 2001/08/30 13:21:30 1.8 --- task_overview.php 2001/08/31 08:35:28 1.9 *************** *** 24,31 **** DoubleTableStart(1,0); echo " <TR>\n"; ! echo " <TH COLSPAN=9 WIDTH=\"100%\">". $lang['TaskOverview'] ." ". $lang['forphrase'] ." " . $parent->getLink() ."</TH>\n"; echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD COLSPAN=2 CLASS=desc> ". $lang['TaskVolumeFull'] ." </TD>\n"; echo " <TD COLSPAN=2> ". $parent->sum['volume'] ." ". $lang['hours'] ."</TD>\n"; echo " <TH COLSPAN=1 ROWSPAN=2 NOWRAP>". $lang['AppStart'] ."<BR>". $parent->min_start->getDate() ."</TH>\n"; --- 24,31 ---- DoubleTableStart(1,0); echo " <TR>\n"; ! echo " <TH COLSPAN=9 WIDTH=\"100%\">". $lang['TaskOverview'] ." ". $lang['forphrase'] ." " . menulink($parent->getURL(),$parent->getFullName()) ."</TH>\n"; echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD COLSPAN=2 CLASS=desc NOWRAP> ". $lang['TaskVolumeFull'] ." </TD>\n"; echo " <TD COLSPAN=2> ". $parent->sum['volume'] ." ". $lang['hours'] ."</TD>\n"; echo " <TH COLSPAN=1 ROWSPAN=2 NOWRAP>". $lang['AppStart'] ."<BR>". $parent->min_start->getDate() ."</TH>\n"; *************** *** 40,44 **** echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD COLSPAN=2 CLASS=desc> ". $lang['TaskVolumeDone'] ." </TD>\n"; echo " <TD COLSPAN=2> ". $parent->sum['volume_done'] ." ". $lang['hours'] ."</TD>\n"; echo " </TR>\n"; --- 40,44 ---- echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD COLSPAN=2 CLASS=desc NOWRAP> ". $lang['TaskVolumeDone'] ." </TD>\n"; echo " <TD COLSPAN=2> ". $parent->sum['volume_done'] ." ". $lang['hours'] ."</TD>\n"; echo " </TR>\n"; |
From: Gero K. <gok...@us...> - 2001-08-30 17:02:19
|
Update of /cvsroot/tutos/tutos/documentation In directory usw-pr-cvs1:/tmp/cvs-serv9627/documentation Modified Files: tutos_admin.sgml tutos_user.sgml Log Message: checkin before release Index: tutos_admin.sgml =================================================================== RCS file: /cvsroot/tutos/tutos/documentation/tutos_admin.sgml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** tutos_admin.sgml 2001/08/19 18:01:13 1.1 --- tutos_admin.sgml 2001/08/30 17:02:17 1.2 *************** *** 34,37 **** --- 34,48 ---- <!-- ***************************************************** --> <chapter> + <title>Customizing</title> + <para> + Timezones + + Project Roles + + Currencies + </para> + </chapter> + <!-- ***************************************************** --> + <chapter> <title>Mail</title> <para> *************** *** 48,51 **** --- 59,63 ---- <title>automated Reminders</title> <para> + How to run the check.php script </para> </chapter> Index: tutos_user.sgml =================================================================== RCS file: /cvsroot/tutos/tutos/documentation/tutos_user.sgml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** tutos_user.sgml 2001/08/19 18:01:13 1.1 --- tutos_user.sgml 2001/08/30 17:02:17 1.2 *************** *** 37,44 **** --- 37,47 ---- <para> The addressbooks are the main part of TUTOS. + </para> <sect1><title>Create</title> <para> + A Addressbook entry needs at least the name of a person. Additonally you may + add locations where the person lives or work. </para> </sect1> |
From: Gero K. <gok...@us...> - 2001-08-30 16:55:07
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv7838 Modified Files: ChangeLog ToDo Log Message: any comments ? Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -r1.57 -r1.58 *** ChangeLog 2001/08/21 21:57:11 1.57 --- ChangeLog 2001/08/30 16:55:04 1.58 *************** *** 1,3 **** --- 1,18 ---- $Header$ + August ?? 2001 + * RELEASE ?????? + August 27 2001 + * new acl_overview and message_overview and message_del scripts (Boris) + August 26 2001 + * NOTE: the task/timetrack mechanism has changed a bit since the last release + accumulated time for a task is now stored in timetrack entries and you have + to book your old time as a new one. + Visit all tasks and check if the time displayed is correct and if there is a are + timetrack entries for all times (sum timetrack == volume done ?). + if your release is not too old everything should be ok. + August 25 2001 + * the default theme is now the first one in the config.pinc list + August 22 2001 + * new/updated themes blue,red August 21 2001 * renamed calendar_ files to app_.... *************** *** 13,17 **** * new watchlists will sent a mail on object deletion (see html/watch_del* for prototypes) August 9 2001 ! * fixed Product/Project Roles are now extendable by somply adding new descriptions to the language files * new Resources can now be added to Projects ,Tasks and Installations --- 28,32 ---- * new watchlists will sent a mail on object deletion (see html/watch_del* for prototypes) August 9 2001 ! * fixed Product/Project Roles are now extendable by simply adding new descriptions to the language files * new Resources can now be added to Projects ,Tasks and Installations Index: ToDo =================================================================== RCS file: /cvsroot/tutos/tutos/ToDo,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** ToDo 2001/06/22 20:19:07 1.9 --- ToDo 2001/08/30 16:55:04 1.10 *************** *** 68,72 **** Table generation via PHP without shellscripts # # ! # EOF \ No newline at end of file --- 68,75 ---- Table generation via PHP without shellscripts + Database Cleanup and Consitency CheckScript + + Shareable Tasks between Projects ( idea by Dave Davies <Dav...@re...> ) # # ! # EOF |
From: Gero K. <gok...@us...> - 2001-08-30 16:50:19
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv6477/php Modified Files: task.pinc task_ins.php Log Message: more history infos Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** task.pinc 2001/08/30 15:54:52 1.40 --- task.pinc 2001/08/30 16:50:16 1.41 *************** *** 297,300 **** --- 297,320 ---- } /* --------------------------------------------------------------------------- + * set the Name + */ + function setName($name) { + if ( $this->name != $name ) { + $this->modified[] = array ( "field" => "TaskName", "old" => $this->name , "new" => $name ); + $this->name = $name; + } + return; + } + /* --------------------------------------------------------------------------- + * set the Description + */ + function setDescription($name) { + if ( $this->desc != $name ) { + $this->modified[] = array ( "field" => "TaskDesc", "old" => $this->desc , "new" => $name ); + $this->desc = $name; + } + return; + } + /* --------------------------------------------------------------------------- * set the State */ Index: task_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_ins.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** task_ins.php 2001/08/27 17:20:36 1.10 --- task_ins.php 2001/08/30 16:50:16 1.11 *************** *** 109,114 **** $t->worker = GetObject($worker); } ! $t->name = $name; ! $t->desc = $desc; $t->res = $res; --- 109,114 ---- $t->worker = GetObject($worker); } ! $t->setName($name); ! $t->setDescription($desc); $t->res = $res; |
From: Gero K. <gok...@us...> - 2001-08-30 16:49:51
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv6358/php Modified Files: app_show.php task_show.php Log Message: Show URLs as link in the descriptions Index: app_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_show.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** app_show.php 2001/08/23 19:09:17 1.3 --- app_show.php 2001/08/30 16:49:49 1.4 *************** *** 109,113 **** echo "<TR>\n"; showfield($lang['Description']); ! echo " <TD COLSPAN=3>". $a->descr ." </TD>\n"; echo "</TR>\n"; --- 109,113 ---- echo "<TR>\n"; showfield($lang['Description']); ! echo " <TD COLSPAN=3>". urlReplace($a->descr) ." </TD>\n"; echo "</TR>\n"; Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** task_show.php 2001/08/30 15:54:52 1.14 --- task_show.php 2001/08/30 16:49:49 1.15 *************** *** 69,73 **** echo " <TR>\n"; showfield($lang['TaskDesc']); ! echo " <TD COLSPAN=3 CLASS=pre><PRE>". $t->desc ."</PRE></TD>\n"; echo " </TR>\n"; --- 69,73 ---- echo " <TR>\n"; showfield($lang['TaskDesc']); ! echo " <TD COLSPAN=3 CLASS=pre><PRE>". urlReplace($t->desc) ."</PRE></TD>\n"; echo " </TR>\n"; |
From: Boris W. <bw...@us...> - 2001-08-30 16:38:24
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv3185 Modified Files: config.pinc Log Message: Fixed lots of spelling mistakes Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -r1.65 -r1.66 *** config.pinc 2001/08/30 16:01:58 1.65 --- config.pinc 2001/08/30 16:38:21 1.66 *************** *** 2,6 **** if ( isset ($includes[config.pinc]) ) {$includes[config.pinc]++;return;} /* ! * Copyright 1999/2000 by Gero Kohnert * * Global Configuration --- 2,6 ---- if ( isset ($includes[config.pinc]) ) {$includes[config.pinc]++;return;} /* ! * Copyright 1999/2000/2001 by Gero Kohnert * * Global Configuration *************** *** 11,27 **** # ----------------------------------------------------------------- # ! # Change the settings in this file according to your environment !! ! # use the same environment as in shellfunc.sh # # ----------------------------------------------------------------- # ! # Set tutos[demo] to something not 1 for real work ! ! # 1 will disable change user settings, change of permissions and sending mails etc # $tutos[demo]=0; # ! # Database Configuration # ! # on Oracle dbname is your instance/tnsname , dbhost is not used (it will be resolved by tnsnames) $tutos[dbname][0] = "tutos"; $tutos[dbhost][0] = "localhost"; --- 11,30 ---- # ----------------------------------------------------------------- # ! # Change the settings in this file according to your environment ! ! # Use the same environment as in shellfunc.sh # # ----------------------------------------------------------------- # ! # Set tutos[demo] to 0 for real work ! ! # Setting it to 1 will disable changes of user settings, permissions and ! # sending mails, etc. # $tutos[demo]=0; # ! # Database configuration # ! # On oracle dbname is your instance/tnsname, dbhost is not used ! # (it will be resolved by tnsnames) ! # $tutos[dbname][0] = "tutos"; $tutos[dbhost][0] = "localhost"; *************** *** 29,34 **** $tutos[dbuser][0] = "wwwrun"; $tutos[dbpasswd][0] = ""; # - # next two lines are my ORACLE settings #$tutos[dbname][0] = "TDB"; #$tutos[dbpasswd][0] = "tutos"; --- 32,38 ---- $tutos[dbuser][0] = "wwwrun"; $tutos[dbpasswd][0] = ""; + # + # Next two lines are my oracle settings # #$tutos[dbname][0] = "TDB"; #$tutos[dbpasswd][0] = "tutos"; *************** *** 38,53 **** $tutos[dbhome][0] = "/opt/oracle/"; # ! # 1 = "Postgres" 2 = "MySQL" 3 = "Oracle" 4 = "Postgres 7.0" $tutos[dbtype][0] = 2; ! $tutos[dbalias][0] = "Testdatabase"; # ! # Should tutos encrypt passwords with crypt (see db.pinc) # 1 = yes (default) # 0 = no ! # !! MySQL passwords are encrypted in the database and not influenced by this setting !! # $tutos[cryptpw][0] = 1; # ! # You can add more Database Connections here # (Use comment sign to enable/disable) # --- 42,58 ---- $tutos[dbhome][0] = "/opt/oracle/"; # ! # 1 = "Postgres" 2 = "MySQL" 3 = "Oracle" 4 = "Postgres 7.0" $tutos[dbtype][0] = 2; ! $tutos[dbalias][0] = "Test database"; # ! # Should tutos encrypt passwords with crypt (see db.pinc) # 1 = yes (default) # 0 = no ! # MySQL passwords are encrypted in the database and not influenced by ! # this setting !! # $tutos[cryptpw][0] = 1; # ! # You can add more database connections here # (Use comment sign to enable/disable) # *************** *** 58,62 **** # $tutos[dbpasswd][1] = ""; # $tutos[dbtype][1] = 2; ! # $tutos[dbalias][1] = "MYSQL Testdatabase"; # $tutos[cryptpw][1] = 1; # -------------------------- --- 63,67 ---- # $tutos[dbpasswd][1] = ""; # $tutos[dbtype][1] = 2; ! # $tutos[dbalias][1] = "MYSQL test database"; # $tutos[cryptpw][1] = 1; # -------------------------- *************** *** 80,85 **** # -------------------------- # ! # The Default Timezone ! # this is the Timezone where your Database is running # For timezone names see end of this file. # --- 85,90 ---- # -------------------------- # ! # The default timezone ! # This is the timezone where your database is running # For timezone names see end of this file. # *************** *** 91,96 **** $tutos[maxshow] = 15; # ! # Maximum number of rows to show in detail pages (before making a overview link) ! # works with notes, files, appointments, tasks ... # 3 (default) # --- 96,101 ---- $tutos[maxshow] = 15; # ! # Maximum number of rows to show in detail pages (before making an ! # overview link). Works with notes, files, appointments, tasks ... # 3 (default) # *************** *** 98,110 **** # # Time to live ! # the number of minutes a inactive user can reappear ! # till a new login is required # 240 (default) # $tutos[timetolive] = 240; # ! # How long may a bug be OPEN before a remember mail will be sent # 0 = disabled ! # other values: Minutes before mail is send (via check.php and crontab) # 240 minutes = 4 hours (default) # --- 103,115 ---- # # Time to live ! # The number of minutes an inactive user can reappear ! # until a new login is required # 240 (default) # $tutos[timetolive] = 240; # ! # How long a bug may be open before a remember mail will be sent # 0 = disabled ! # Other values: Minutes before mail is sent (via check.php and crontab) # 240 minutes = 4 hours (default) # *************** *** 122,126 **** $tutos[caltable] = 1; # ! # LDAP Configuration # $tutos[ldapserver][0] = "ldap.bigfoot.com"; --- 127,131 ---- $tutos[caltable] = 1; # ! # LDAP configuration # $tutos[ldapserver][0] = "ldap.bigfoot.com"; *************** *** 135,139 **** #$tutos[ldapport][4] = 389; # ! # Mail Features # # Mode 0 = no mail --- 140,144 ---- #$tutos[ldapport][4] = 389; # ! # Mail features # # Mode 0 = no mail *************** *** 145,154 **** # Mode 1 # Where to find sendmail ! # set this to something notexistant to disable mailing # $tutos[sendmail] = "/usr/lib/sendmail"; # # Mode 2 ! # The Name or IP of the SMTP server # $tutos[smtphost] = "127.0.0.1"; --- 150,159 ---- # Mode 1 # Where to find sendmail ! # Set this to something nonexistant to disable mailing # $tutos[sendmail] = "/usr/lib/sendmail"; # # Mode 2 ! # The name or IP of the SMTP server # $tutos[smtphost] = "127.0.0.1"; *************** *** 156,162 **** # # ! # Fax Features # ! # (disable this with usefax below) # Mode 1 = via faxspool (from the mgetty package) # Mode 2 = via mail (see above) --- 161,167 ---- # # ! # Fax features # ! # (Disable this with usefax below) # Mode 1 = via faxspool (from the mgetty package) # Mode 2 = via mail (see above) *************** *** 166,180 **** # Mode 1 # Where to find faxspool ! # set tutos[usefax] to 0 to disable faxing ! # (this is preconfigured to work with the mgetty/sendfax package) # $tutos[faxspool] = "/usr/bin/faxspool"; # # Mode 2 ! # Mailaddress where to send the fax ! # a @NR@ String in the mailaddress will be replaced by the faxnumber ! # set tutos[usefax] to 0 to disable faxing ! # (this is preconfigured to work with mail2fax from the mgetty package) ! # to adopt the fax mechanism look at [tutosdir]/fax_ins.php # $tutos[faxmail] = "fa...@tu..."; --- 171,185 ---- # Mode 1 # Where to find faxspool ! # Set tutos[usefax] to 0 to disable faxing ! # (This is preconfigured to work with the mgetty/sendfax package) # $tutos[faxspool] = "/usr/bin/faxspool"; # # Mode 2 ! # Mailaddress to send the fax to ! # A @NR@ String in the mailaddress will be replaced by the faxnumber ! # Set tutos[usefax] to 0 to disable faxing ! # (This is preconfigured to work with mail2fax from the mgetty package) ! # To adapt the fax mechanism look at [tutosdir]/fax_ins.php # $tutos[faxmail] = "fa...@tu..."; *************** *** 185,208 **** # # Path to overlib javascript package (used for small popup windows) ! # see http://www.bosrup.com/web/overlib/ # ! # path is reltive to [tutoshome]/php # $tutos[overlib] = "../html/overlib.js"; - # - # wvHtml et al used for filemanagement in file.pinc - # you will find wordview or wv at http://www.wvWare.com/wvWare.html # # ! # TUTOS checks if these programs are execuable # # $tutos[wvHtml] = "/usr/local/bin/wvHtml"; ! # The following requires wv Version 0.6.4 $tutos[wvHtml] = "/usr/local/bin/wvWare"; $tutos[wvSummary] = "/usr/local/bin/wvSummary"; # Display xfig files $tutos[fig2dev] = "/usr/X11R6/bin/fig2dev"; # ! # Version Control in filemanagement # ci is part of RCS # --- 190,214 ---- # # Path to overlib javascript package (used for small popup windows) ! # See http://www.bosrup.com/web/overlib/ # ! # Path is relative to [tutoshome]/php # $tutos[overlib] = "../html/overlib.js"; # + # wvHtml et al used for file management in file.pinc + # You will find wordview or wv at http://www.wvWare.com/wvWare.html # ! # TUTOS checks if these programs are executable # # $tutos[wvHtml] = "/usr/local/bin/wvHtml"; ! # The following requires wv version 0.6.4 $tutos[wvHtml] = "/usr/local/bin/wvWare"; $tutos[wvSummary] = "/usr/local/bin/wvSummary"; + # # Display xfig files + # $tutos[fig2dev] = "/usr/X11R6/bin/fig2dev"; # ! # Version control in file management # ci is part of RCS # *************** *** 211,224 **** # The path where tutos stores files # ! # please create the directory so that the apache user # can access it and is allowed to make subdirectories # ! # relative pates start at [tutoshome]/php # $tutos[repository] = "../repository"; # ! # Currencies we know (first one will be default) # (4 Characters) ! # here you can add whatever you want # $tutos[currencies][] = "EUR"; --- 217,230 ---- # The path where tutos stores files # ! # Please create the directory so that the apache user # can access it and is allowed to make subdirectories # ! # Relative paths start at [tutoshome]/php # $tutos[repository] = "../repository"; # ! # Currencies we know (first one will be default) # (4 Characters) ! # Here you can add whatever you want # $tutos[currencies][] = "EUR"; *************** *** 230,235 **** $tutos[currencies][] = "FF"; # ! # Sequence of (possible) fields in Product Overview. ! # (first field will appear in first column) # $tutos[prodfields][] = "name"; --- 236,241 ---- $tutos[currencies][] = "FF"; # ! # Sequence of (possible) fields in product overview. ! # (First field will appear in first column) # $tutos[prodfields][] = "name"; *************** *** 253,258 **** $tutos[prodfields][] = "pbugs"; # ! # Available Themes for TUTOS (see [tutosdir]/html*.css) ! # (the default theme will be the first one in this list) # $tutos[themes][] = "blue"; --- 259,264 ---- $tutos[prodfields][] = "pbugs"; # ! # Available themes for TUTOS (see [tutosdir]/html*.css) ! # (The default theme will be the first one in this list) # $tutos[themes][] = "blue"; *************** *** 262,268 **** $tutos[themes][] = "sqli"; # ! # Timezones in TUTOS (these Timezones must be known to your OS !!) ! # (max length 30 Characters) ! # (on linux you may find timezone names in /usr/share/zoneinfo/) # $tutos[timezones][] = "Europe/London"; --- 268,274 ---- $tutos[themes][] = "sqli"; # ! # Timezones in TUTOS (these timezones must be known to your OS !!) ! # (Max length 30 Characters) ! # (On linux you may find timezone names in /usr/share/zoneinfo/) # $tutos[timezones][] = "Europe/London"; *************** *** 283,292 **** $tutos[timezones][] = "Australia/Perth"; # ! # Weekstart ! # Default Start of week # 0 = Sunday # 1 = Monday # ! $tutos[weekstart] = 0; # # Holidays --- 289,297 ---- $tutos[timezones][] = "Australia/Perth"; # ! # Default start of week # 0 = Sunday # 1 = Monday # ! $tutos[weekstart] = 1; # # Holidays *************** *** 302,308 **** # Location types for appointments # ! # AppLocDesc = 1 shows Description in calendar ! # AppLocDesc = 0 does not show Description in calendar ! # colors depend on style sheets # $tutos[applocdesc][0] = 1; --- 307,313 ---- # Location types for appointments # ! # 1 = show description in calendar ! # 0 = do not show description in calendar ! # Colors depend on style sheets # $tutos[applocdesc][0] = 1; *************** *** 310,317 **** $tutos[applocdesc][2] = 0; $tutos[applocdesc][3] = 0; - # ! # ProjectRoles ! # define where to search for given names # a = search addresses # t = search teams --- 315,321 ---- $tutos[applocdesc][2] = 0; $tutos[applocdesc][3] = 0; # ! # Project roles ! # Define where to search for given names # a = search addresses # t = search teams *************** *** 353,357 **** $tutos[usevcard] = 1; # ! # Permission Levels ( do not change this !) # $tutos[seeok] = 1; --- 357,361 ---- $tutos[usevcard] = 1; # ! # Permission levels (do not change this !) # $tutos[seeok] = 1; *************** *** 359,364 **** $tutos[delok] = 20; # ! # Default Rights for newly created objects ! # (for products files installations bugs) # 0 = everybody can see it # 1 = all teams of the creator can see it --- 363,368 ---- $tutos[delok] = 20; # ! # Default permissions for newly created objects ! # (For products, files, installations, bugs) # 0 = everybody can see it # 1 = all teams of the creator can see it *************** *** 367,371 **** # # Doing some debugging logs in messages tables ! # (this will fill the messages table and the file $tutos[errlog]) # $tutos[debug]=1; --- 371,375 ---- # # Doing some debugging logs in messages tables ! # (This will fill the messages table and the file $tutos[errlog]) # $tutos[debug]=1; *************** *** 376,381 **** # # Where to save the session data ! # (running on multiple servers/clusters this must physicaly be the ! # same for all servers !) # # NOTE: It is recommended to change this to something that --- 380,385 ---- # # Where to save the session data ! # (running on multiple servers/clusters this must be the same for ! # all servers !) # # NOTE: It is recommended to change this to something that *************** *** 385,389 **** # # Logo for the headline ! # (change this to your comnay logo or whatever you like) # Height will be resized to 40 pixels ! # --- 389,393 ---- # # Logo for the headline ! # (Change this to your company logo or whatever you like) # Height will be resized to 40 pixels ! # |
From: Boris W. <bw...@us...> - 2001-08-30 16:02:01
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv23175 Modified Files: Date.pinc address_show.php adr_ldap_overview.php appointment.pinc calendar.php config.pinc history_show.php installation_show.php mytutos.php note.pinc note_show.php product.pinc product_new.php product_show.php team.pinc webelements.p3 Log Message: Removed trailing whitespace Index: Date.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/Date.pinc,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** Date.pinc 2001/08/25 12:58:37 1.31 --- Date.pinc 2001/08/30 16:01:58 1.32 *************** *** 196,200 **** /* Holidays defined by Weekday */ if ( $wd == "Mon" ) { ! if ($tutos[cal][$ii][$ij][Date] == "EASTERMONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); --- 196,200 ---- /* Holidays defined by Weekday */ if ( $wd == "Mon" ) { ! if ($tutos[cal][$ii][$ij][Date] == "EASTERMONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); *************** *** 205,209 **** } } ! elseif ($tutos[cal][$ii][$ij][Date] == "WHITMONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); --- 205,209 ---- } } ! elseif ($tutos[cal][$ii][$ij][Date] == "WHITMONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); *************** *** 215,247 **** } } ! elseif (($tutos[cal][$ii][$ij][Date] == "MARTINLUTHERKING") && ($month == "01") && ($today['mday'] == nthday(3, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "WASHINGTON") && ($month == "02") && ($today['mday'] == nthday(3, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "MEMORIALDAY") && ($month == "05") && ($today['mday'] == nthday(-1, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "LABORDAY") && ($month == "09") && ($today['mday'] == nthday(1, 1, $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "COLUMBUSDAY") && ($month == "10") && ($today['mday'] == nthday(2, 1, $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! } elseif ( $wd == "Thu" ) { ! if ($tutos[cal][$ii][$ij][Date] == "ASCENSIONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); --- 215,247 ---- } } ! elseif (($tutos[cal][$ii][$ij][Date] == "MARTINLUTHERKING") && ($month == "01") && ($today['mday'] == nthday(3, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "WASHINGTON") && ($month == "02") && ($today['mday'] == nthday(3, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "MEMORIALDAY") && ($month == "05") && ($today['mday'] == nthday(-1, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "LABORDAY") && ($month == "09") && ($today['mday'] == nthday(1, 1, $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! elseif (($tutos[cal][$ii][$ij][Date] == "COLUMBUSDAY") && ($month == "10") && ($today['mday'] == nthday(2, 1, $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! } elseif ( $wd == "Thu" ) { ! if ($tutos[cal][$ii][$ij][Date] == "ASCENSIONDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); *************** *** 252,256 **** } } ! elseif ($tutos[cal][$ii][$ij][Date] == "FRONLEICHNAHM") { $tp = mktime (0,0,0,$OM,$OT,$J); --- 252,256 ---- } } ! elseif ($tutos[cal][$ii][$ij][Date] == "FRONLEICHNAHM") { $tp = mktime (0,0,0,$OM,$OT,$J); *************** *** 261,270 **** } } ! elseif (($tutos[cal][$ii][$ij][Date] == "THANKSGIVING") && ($month == "11") && ($today['mday'] == nthday(4, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! } elseif ( $wd == "Fri" ) { --- 261,270 ---- } } ! elseif (($tutos[cal][$ii][$ij][Date] == "THANKSGIVING") && ($month == "11") && ($today['mday'] == nthday(4, $today['wday'], $today['mon'], $today['year'])) ) { $desc .= $tutos[cal][$ii][$ij][Desc].$br; } ! } elseif ( $wd == "Fri" ) { *************** *** 278,282 **** } } ! } elseif ( $wd == "Sun" ) { --- 278,282 ---- } } ! } elseif ( $wd == "Sun" ) { *************** *** 287,291 **** } } ! elseif ($tutos[cal][$ii][$ij][Date] == "WHITSUNDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); --- 287,291 ---- } } ! elseif ($tutos[cal][$ii][$ij][Date] == "WHITSUNDAY") { $tp = mktime (0,0,0,$OM,$OT,$J); *************** *** 296,302 **** } } ! } ! } } --- 296,302 ---- } } ! } ! } } Index: address_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_show.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** address_show.php 2001/08/26 17:35:11 1.17 --- address_show.php 2001/08/30 16:01:58 1.18 *************** *** 162,166 **** echo menulink("timetrack_overview.php?link_id=".$a->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$a->getFullName())) ."<BR>\n"; } ! } if ( ($current_user->p[usevcard] == 1) && ($tutos[usevcard] == 1) ) { echo menulink($a->getUrl() ."&format=vcard" ,$lang['AdrGetVcard'],$lang['AdrGetVcardI']) . "<BR>\n"; --- 162,166 ---- echo menulink("timetrack_overview.php?link_id=".$a->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$a->getFullName())) ."<BR>\n"; } ! } if ( ($current_user->p[usevcard] == 1) && ($tutos[usevcard] == 1) ) { echo menulink($a->getUrl() ."&format=vcard" ,$lang['AdrGetVcard'],$lang['AdrGetVcardI']) . "<BR>\n"; Index: adr_ldap_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/adr_ldap_overview.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** adr_ldap_overview.php 2001/08/22 22:11:30 1.3 --- adr_ldap_overview.php 2001/08/30 16:01:58 1.4 *************** *** 65,69 **** } echo "</TR>\n"; ! # $sip = gethostbyname($tutos[ldapserver][$sv]); # echo $sv ." ". $sip ."<BR>"; --- 65,69 ---- } echo "</TR>\n"; ! # $sip = gethostbyname($tutos[ldapserver][$sv]); # echo $sv ." ". $sip ."<BR>"; *************** *** 108,112 **** # echo "Getting entries ...<p>"; # echo "Data for ".$info["count"]." items returned:<p>"; ! for ($i=0; $i<$info["count"]; $i++) { $dn = $info[$i]["dn"]; --- 108,112 ---- # echo "Getting entries ...<p>"; # echo "Data for ".$info["count"]." items returned:<p>"; ! for ($i=0; $i<$info["count"]; $i++) { $dn = $info[$i]["dn"]; *************** *** 245,247 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 245,247 ---- CVS Info: $Id$ $Author$ ! --> Index: appointment.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** appointment.pinc 2001/08/30 14:34:29 1.53 --- appointment.pinc 2001/08/30 16:01:58 1.54 *************** *** 429,433 **** if ( $f->is_member($current_user) ) { return $tutos[delok]; ! } } } --- 429,433 ---- if ( $f->is_member($current_user) ) { return $tutos[delok]; ! } } } *************** *** 462,466 **** if ( $f->is_member($current_user) ) { return $tutos[seeok]; ! } } } --- 462,466 ---- if ( $f->is_member($current_user) ) { return $tutos[seeok]; ! } } } *************** *** 500,504 **** if ( $f->is_member($current_user) ) { return $tutos[modok]; ! } } } --- 500,504 ---- if ( $f->is_member($current_user) ) { return $tutos[modok]; ! } } } *************** *** 781,785 **** $this->make_mail_body($body,$f); ! $m->addBody($body,"text/plain; charset=\"us-ascii\"",$lang['NewAppoint']); $m->addBody($this->getIcal(),"text/calendar","ICal Entry"); --- 781,785 ---- $this->make_mail_body($body,$f); ! $m->addBody($body,"text/plain; charset=\"us-ascii\"",$lang['NewAppoint']); $m->addBody($this->getIcal(),"text/calendar","ICal Entry"); *************** *** 973,977 **** echo " <TR>\n"; ! if ( ($this->trace == 1) && ($f->gettype() == "address") ) { $cols = 2; --- 973,977 ---- echo " <TR>\n"; ! if ( ($this->trace == 1) && ($f->gettype() == "address") ) { $cols = 2; Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** calendar.php 2001/08/30 13:21:30 1.27 --- calendar.php 2001/08/30 16:01:58 1.28 *************** *** 175,180 **** while ( list ($i,$f) = @each ($apo->participant) ) { @reset($uids); ! while ( list ($i1,$f1) = @each ($uids) ) { ! if ( ($f->id == $i1) && ($f1 == 1) ) { $found = "$i1"; break; --- 175,180 ---- while ( list ($i,$f) = @each ($apo->participant) ) { @reset($uids); ! while ( list ($i1,$f1) = @each ($uids) ) { ! if ( ($f->id == $i1) && ($f1 == 1) ) { $found = "$i1"; break; *************** *** 185,189 **** $found = 1; } ! if ( $found == 0 ) { /* Show nothing */ --- 185,189 ---- $found = 1; } ! if ( $found == 0 ) { /* Show nothing */ *************** *** 191,195 **** continue; } ! if ( $hastable == 0 ) { if ( $tutos[caltable] == 2 ) { --- 191,195 ---- continue; } ! if ( $hastable == 0 ) { if ( $tutos[caltable] == 2 ) { *************** *** 201,207 **** echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><IMG SRC=\"../html/black.png\" WIDTH=\"100%\" HEIGHT=1></TD></TR>\n"; } ! $apo->formatted(); ! $a++; $apo = 0; --- 201,207 ---- echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><IMG SRC=\"../html/black.png\" WIDTH=\"100%\" HEIGHT=1></TD></TR>\n"; } ! $apo->formatted(); ! $a++; $apo = 0; Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -r1.64 -r1.65 *** config.pinc 2001/08/30 13:36:03 1.64 --- config.pinc 2001/08/30 16:01:58 1.65 *************** *** 313,317 **** # # ProjectRoles ! # define where to search for given names # a = search addresses # t = search teams --- 313,317 ---- # # ProjectRoles ! # define where to search for given names # a = search addresses # t = search teams Index: history_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/history_show.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** history_show.php 2001/08/26 13:31:36 1.10 --- history_show.php 2001/08/30 16:01:58 1.11 *************** *** 120,125 **** echo " <TD> ". $lang['ProdStates'][$f["new"]] ."</TD>\n"; } else if ( ereg("ProdRole?",$f['field']) ! || ($f['field'] == "Customer") ! || ($f['field'] == "SoldBy") || ($f['field'] == "InstalledBy") ) { if ( $f["old"] <= 0 ) { --- 120,125 ---- echo " <TD> ". $lang['ProdStates'][$f["new"]] ."</TD>\n"; } else if ( ereg("ProdRole?",$f['field']) ! || ($f['field'] == "Customer") ! || ($f['field'] == "SoldBy") || ($f['field'] == "InstalledBy") ) { if ( $f["old"] <= 0 ) { Index: installation_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_show.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** installation_show.php 2001/08/23 19:09:17 1.12 --- installation_show.php 2001/08/30 16:01:58 1.13 *************** *** 139,143 **** } @reset ($obj->tsum); ! while( list ($i,$f) = @each ($obj->tsum)) { if ( $obj->tsum[$i] > 0 ) { $rows++; --- 139,143 ---- } @reset ($obj->tsum); ! while( list ($i,$f) = @each ($obj->tsum)) { if ( $obj->tsum[$i] > 0 ) { $rows++; *************** *** 160,164 **** } @reset ($obj->tsum); ! while( list ($i,$f) = @each ($obj->tsum)) { if ( $obj->tsum[$i] > 0 ) { if ( $r == 1 ) { --- 160,164 ---- } @reset ($obj->tsum); ! while( list ($i,$f) = @each ($obj->tsum)) { if ( $obj->tsum[$i] > 0 ) { if ( $r == 1 ) { *************** *** 248,250 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 248,250 ---- CVS Info: $Id$ $Author$ ! --> Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** mytutos.php 2001/08/30 13:21:30 1.31 --- mytutos.php 2001/08/30 16:01:58 1.32 *************** *** 99,103 **** # Check if appointment is displayed if ( $apo->gettype() == "appointment" ) { ! $found = 0; @reset($apo->participant); while ( ($found == 0) && (list ($i,$f) = @each ($apo->participant)) ) { --- 99,103 ---- # Check if appointment is displayed if ( $apo->gettype() == "appointment" ) { ! $found = 0; @reset($apo->participant); while ( ($found == 0) && (list ($i,$f) = @each ($apo->participant)) ) { *************** *** 132,136 **** } } ! if ( $hastable == 1 ) { echo " </TABLE>\n"; --- 132,136 ---- } } ! if ( $hastable == 1 ) { echo " </TABLE>\n"; Index: note.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/note.pinc,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -r1.34 -r1.35 *** note.pinc 2001/08/26 15:31:26 1.34 --- note.pinc 2001/08/30 16:01:58 1.35 *************** *** 326,330 **** $q .= " WHERE id = ". $this->id; } ! @DB_Begin($this->conn,"WORK"); $r = @DB_Exec($this->conn,$q); --- 326,330 ---- $q .= " WHERE id = ". $this->id; } ! @DB_Begin($this->conn,"WORK"); $r = @DB_Exec($this->conn,$q); Index: note_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note_show.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** note_show.php 2001/08/25 23:15:38 1.9 --- note_show.php 2001/08/30 16:01:58 1.10 *************** *** 110,114 **** if ( $msg == "" ) { @reset($obj->notelist); ! while ( list ($i,$f) = @each ($obj->notelist) ) { $f->read_reference(); info($f); --- 110,114 ---- if ( $msg == "" ) { @reset($obj->notelist); ! while ( list ($i,$f) = @each ($obj->notelist) ) { $f->read_reference(); info($f); Index: product.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/product.pinc,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** product.pinc 2001/08/30 14:36:07 1.40 --- product.pinc 2001/08/30 16:01:58 1.41 *************** *** 455,459 **** if ( $this->p_end->notime != 1 ) { $r .= $this->p_end->getDate(); ! } return $r; } --- 455,459 ---- if ( $this->p_end->notime != 1 ) { $r .= $this->p_end->getDate(); ! } return $r; } Index: product_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_new.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -r1.21 -r1.22 *** product_new.php 2001/08/27 17:20:36 1.21 --- product_new.php 2001/08/30 16:01:58 1.22 *************** *** 194,198 **** echo "". makelink("mailbox_new.php?id=-1&parent=". $p->id, $lang['NewEntry']) ."<BR>\n"; echo " </TD>\n"; ! echo "</TR>\n"; } --- 194,198 ---- echo "". makelink("mailbox_new.php?id=-1&parent=". $p->id, $lang['NewEntry']) ."<BR>\n"; echo " </TD>\n"; ! echo "</TR>\n"; } *************** *** 343,345 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 343,345 ---- CVS Info: $Id$ $Author$ ! --> Index: product_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_show.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** product_show.php 2001/08/26 12:16:40 1.18 --- product_show.php 2001/08/30 16:01:58 1.19 *************** *** 252,256 **** echo " </TD>\n"; echo "</TR>\n"; ! } } --- 252,256 ---- echo " </TD>\n"; echo "</TR>\n"; ! } } *************** *** 309,313 **** } @reset ($p->tsum); ! while( list ($i,$f) = @each ($p->tsum)) { if ( $p->tsum[$i] > 0 ) { $rows++; --- 309,313 ---- } @reset ($p->tsum); ! while( list ($i,$f) = @each ($p->tsum)) { if ( $p->tsum[$i] > 0 ) { $rows++; *************** *** 330,334 **** } @reset ($p->tsum); ! while( list ($i,$f) = @each ($p->tsum)) { if ( $p->tsum[$i] > 0 ) { if ( $r == 1 ) { --- 330,334 ---- } @reset ($p->tsum); ! while( list ($i,$f) = @each ($p->tsum)) { if ( $p->tsum[$i] > 0 ) { if ( $r == 1 ) { *************** *** 444,446 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 444,446 ---- CVS Info: $Id$ $Author$ ! --> Index: team.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/team.pinc,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** team.pinc 2001/08/26 15:31:26 1.29 --- team.pinc 2001/08/30 16:01:58 1.30 *************** *** 62,66 **** # echo "<B>Problem: <I>Team $id not found</I></B>"; $this->id = -1; ! return; } $this->read_result($result,0); --- 62,66 ---- # echo "<B>Problem: <I>Team $id not found</I></B>"; $this->id = -1; ! return; } $this->read_result($result,0); *************** *** 342,344 **** } $includes[team.pinc] = 1; ! ?> \ No newline at end of file --- 342,344 ---- } $includes[team.pinc] = 1; ! ?> Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -r1.72 -r1.73 *** webelements.p3 2001/08/30 13:36:04 1.72 --- webelements.p3 2001/08/30 16:01:58 1.73 *************** *** 320,324 **** echo "<B>POST:</B> ". $i ."[". $i1 ."]  = ". $f1 ."<BR>\n"; } ! } else { echo "<B>POST:</B> ". $i . " = ". $f ."<BR>\n"; --- 320,324 ---- echo "<B>POST:</B> ". $i ."[". $i1 ."]  = ". $f1 ."<BR>\n"; } ! } else { echo "<B>POST:</B> ". $i . " = ". $f ."<BR>\n"; *************** *** 1034,1038 **** } DB_FreeResult($r4); ! } return; } --- 1034,1038 ---- } DB_FreeResult($r4); ! } return; } |
From: Boris W. <bw...@us...> - 2001-08-30 15:54:58
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv18984 Modified Files: de.p3 en.p3 es.p3 fr.p3 gantt.php gantt.pinc it.p3 ko.p3 nl.p3 pl.p3 pt-br.p3 ru.p3 task.pinc task_show.php tw.p3 zh.p3 Log Message: Fixed spelling mistake Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -r1.66 -r1.67 *** de.p3 2001/08/30 13:36:03 1.66 --- de.p3 2001/08/30 15:54:51 1.67 *************** *** 433,443 **** # Gantt Diagramm ! $lang['GanttLink'] = "Gantt-Diagramm anzeigen"; ! $lang['GanttLinkInfo'] = "Gantt-Diagramm"; ! $lang['GanttTitle'] = "Gantt-Diagramm"; ! $lang['GanttStart'] = "Anfangsdatum"; ! $lang['GanttEnd'] = "Enddatum"; ! $lang['GanttVolume'] = "Stundenvolumen"; ! $lang['GanttCompletition'] = "Bearbeitet"; # Installations --- 433,443 ---- # Gantt Diagramm ! $lang['GanttLink'] = "Gantt-Diagramm anzeigen"; ! $lang['GanttLinkInfo'] = "Gantt-Diagramm"; ! $lang['GanttTitle'] = "Gantt-Diagramm"; ! $lang['GanttStart'] = "Anfangsdatum"; ! $lang['GanttEnd'] = "Enddatum"; ! $lang['GanttVolume'] = "Stundenvolumen"; ! $lang['GanttCompletion'] = "Bearbeitet"; # Installations Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -r1.61 -r1.62 *** en.p3 2001/08/30 13:36:03 1.61 --- en.p3 2001/08/30 15:54:51 1.62 *************** *** 433,443 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 433,443 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** es.p3 2001/08/30 13:36:03 1.46 --- es.p3 2001/08/30 15:54:51 1.47 *************** *** 435,445 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 435,445 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -r1.45 -r1.46 *** fr.p3 2001/08/30 13:36:03 1.45 --- fr.p3 2001/08/30 15:54:51 1.46 *************** *** 435,445 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 435,445 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: gantt.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/gantt.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** gantt.php 2001/06/22 20:19:07 1.1 --- gantt.php 2001/08/30 15:54:51 1.2 *************** *** 4,8 **** * contributed by Dimitri Manchuelle <dma...@sq...> * ! * Displayinmg a Gantt Diagramm for tasks/projects */ include("webelements.p3"); --- 4,8 ---- * contributed by Dimitri Manchuelle <dma...@sq...> * ! * Display a gantt diagram for tasks/projects */ include("webelements.p3"); *************** *** 11,59 **** include("url.pinc"); include("task.pinc"); ! ! if (!Isset($Width) || $Width == 0) { //Width of the page ! $PAGEWIDTH = 600; } else { switch ($Width) { case 1: ! $PAGEWIDTH = 600; break; ! case 2: ! $PAGEWIDTH = 900; break; ! case 3: ! $PAGEWIDTH = 1200; break; default: ! $PAGEWIDTH = 600; } ! } ! if ($chk_Detail == 0) //don't want details ! $DETAILS = FALSE; else ! // want details ! $DETAILS = TRUE; if (!Isset($VariableHeight)) { $VariableHeight = 2; } ! // Check if user is allowed to use it check_user(); ! function Formulaire() { ! global $PHP_SELF, $QUERY_STRING, $chk_Detail,$Width, $VariableHeight; ! $Form = "<br>"; ! $Form .= "<table><tr><td>"; $Form .= "<form action=".$PHP_SELF."?".$QUERY_STRING." method=post>"; ! $Form .= " Détail des dates </td>"; if ($chk_Detail == 1) ! { $Form .= " <td> <input type=checkbox name=chk_Detail value=1 checked></td></tr>"; } --- 11,59 ---- include("url.pinc"); include("task.pinc"); ! ! if (!Isset($Width) || $Width == 0) { //Width of the page ! $PAGEWIDTH = 600; } else { switch ($Width) { case 1: ! $PAGEWIDTH = 600; break; ! case 2: ! $PAGEWIDTH = 900; break; ! case 3: ! $PAGEWIDTH = 1200; break; default: ! $PAGEWIDTH = 600; } ! } ! if ($chk_Detail == 0) //don't want details ! $DETAILS = FALSE; else ! // want details ! $DETAILS = TRUE; if (!Isset($VariableHeight)) { $VariableHeight = 2; } ! // Check if user is allowed to use it check_user(); ! function Formulaire() { ! global $PHP_SELF, $QUERY_STRING, $chk_Detail,$Width, $VariableHeight; ! $Form = "<br>"; ! $Form .= "<table><tr><td>"; $Form .= "<form action=".$PHP_SELF."?".$QUERY_STRING." method=post>"; ! $Form .= " Détail des dates </td>"; if ($chk_Detail == 1) ! { $Form .= " <td> <input type=checkbox name=chk_Detail value=1 checked></td></tr>"; } *************** *** 61,86 **** { $Form .= " <td> <input type=checkbox name=chk_Detail value=1> </td></tr>"; ! } ! ! $Form .= "<tr><td> Taille d'écran :</td>"; $Form .= " <td> <input type=radio name=Width value=1".($Width==1? " checked":"").">petite"; $Form .= " <input type=radio name=Width value=2".(($Width==2)||!isset($Width)? " checked":"").">moyenne"; ! $Form .= " <input type=radio name=Width value=3".($Width==3? " checked":"").">grande</td>"; $Form .= "</tr>"; ! ! $Form .= "<tr><td> Hauteur des barres :</td>"; $Form .= " <td> <input type=radio name=VariableHeight value=1".($VariableHeight==1? " checked":"").">petite"; $Form .= " <input type=radio name=VariableHeight value=2".($VariableHeight==2? " checked":"").">moyenne"; $Form .= " <input type=radio name=VariableHeight value=3".($VariableHeight==3? " checked":"").">grande"; ! $Form .= " <input type=radio name=VariableHeight value=0".($VariableHeight==0? " checked":"").">proportionnelle au volume horaire</td></tr>"; ! $Form .= "<tr><td> <input type=submit name=button value=\"Modifier l'affichage\"></td>"; ! $Form .= "</form>"; ! $Form .= "</table></tr></td>"; return $Form; } ! function getColor(&$task) { ! if ($task->state == 0) return "../html/blue.png"; if ($task->state == 3) --- 61,86 ---- { $Form .= " <td> <input type=checkbox name=chk_Detail value=1> </td></tr>"; ! } ! ! $Form .= "<tr><td> Taille d'écran :</td>"; $Form .= " <td> <input type=radio name=Width value=1".($Width==1? " checked":"").">petite"; $Form .= " <input type=radio name=Width value=2".(($Width==2)||!isset($Width)? " checked":"").">moyenne"; ! $Form .= " <input type=radio name=Width value=3".($Width==3? " checked":"").">grande</td>"; $Form .= "</tr>"; ! ! $Form .= "<tr><td> Hauteur des barres :</td>"; $Form .= " <td> <input type=radio name=VariableHeight value=1".($VariableHeight==1? " checked":"").">petite"; $Form .= " <input type=radio name=VariableHeight value=2".($VariableHeight==2? " checked":"").">moyenne"; $Form .= " <input type=radio name=VariableHeight value=3".($VariableHeight==3? " checked":"").">grande"; ! $Form .= " <input type=radio name=VariableHeight value=0".($VariableHeight==0? " checked":"").">proportionnelle au volume horaire</td></tr>"; ! $Form .= "<tr><td> <input type=submit name=button value=\"Modifier l'affichage\"></td>"; ! $Form .= "</form>"; ! $Form .= "</table></tr></td>"; return $Form; } ! function getColor(&$task) { ! if ($task->state == 0) return "../html/blue.png"; if ($task->state == 3) *************** *** 88,101 **** if ($task->state == 2) return "../html/black.png"; ! if ($task->getcompletition() <= 80) return "../html/green.png"; ! return "../html/orange.png"; ! } function getHeight(&$task) { global $VariableHeight; if ($VariableHeight == 0) { ! return $task->volume; } else { return $VariableHeight*10; --- 88,101 ---- if ($task->state == 2) return "../html/black.png"; ! if ($task->getcompletion() <= 80) return "../html/green.png"; ! return "../html/orange.png"; ! } function getHeight(&$task) { global $VariableHeight; if ($VariableHeight == 0) { ! return $task->volume; } else { return $VariableHeight*10; *************** *** 105,109 **** function diffDate(&$start_date, &$end_date) { $length = mktime($end_date->hour, $end_date->min, $end_date->sec, $end_date->month, $end_date->day, $end_date->year) ! - mktime($start_date->hour, $start_date->min, $start_date->sec, $start_date->month, $start_date->day, $start_date->year) ; return $length; } --- 105,109 ---- function diffDate(&$start_date, &$end_date) { $length = mktime($end_date->hour, $end_date->min, $end_date->sec, $end_date->month, $end_date->day, $end_date->year) ! - mktime($start_date->hour, $start_date->min, $start_date->sec, $start_date->month, $start_date->day, $start_date->year) ; return $length; } *************** *** 117,125 **** function getInfos(&$task) { global $lang; ! $Infos = $lang['GanttStart']." : ". $task->s_start->getDate() ."\n"; $Infos .= $lang['GanttEnd']." : ". $task->s_end->getDate() ."\n"; $Infos .= $lang['GanttVolume']." : ".$task->volume."\n"; ! $Infos .= $lang['GanttCompletition']." : ".$task->getcompletition()." %"; return $Infos; } --- 117,125 ---- function getInfos(&$task) { global $lang; ! $Infos = $lang['GanttStart']." : ". $task->s_start->getDate() ."\n"; $Infos .= $lang['GanttEnd']." : ". $task->s_end->getDate() ."\n"; $Infos .= $lang['GanttVolume']." : ".$task->volume."\n"; ! $Infos .= $lang['GanttCompletion']." : ".$task->getcompletion()." %"; return $Infos; } *************** *** 130,142 **** $order_gantt = array(); $start_product = new DateTime(); ! $end_product = new DateTime(); ! $product->readTasks(); $index_gantt = 0; ! if (isset($product->tasklist) && (count($product->tasklist) >0)) { //there is at least on task @reset($product->tasklist); ! //On va compter le nombre d'intervenants et même les coller dans un tableau. si. on est comme ça nous. foreach ($product->tasklist as $task) { --- 130,142 ---- $order_gantt = array(); $start_product = new DateTime(); ! $end_product = new DateTime(); ! $product->readTasks(); $index_gantt = 0; ! if (isset($product->tasklist) && (count($product->tasklist) >0)) { //there is at least on task @reset($product->tasklist); ! //On va compter le nombre d'intervenants et même les coller dans un tableau. si. on est comme ça nous. foreach ($product->tasklist as $task) { *************** *** 149,153 **** } @reset($product->tasklist); ! //ordering by dates ascending asort($order_gantt); --- 149,153 ---- } @reset($product->tasklist); ! //ordering by dates ascending asort($order_gantt); *************** *** 155,163 **** $end_product = array_pop($order_gantt); $lengthproduct = diffDate($start_product, $end_product); ! unset($order_gantt); ! $Gantt = ""; ! $Gantt .= "<TABLE CELLSPACING=0 CELLSPADING=0 BORDER=".($DETAIL? "1":"0").">"; $Gantt .= "<TR>\n"; $Gantt .= " <TD WIDTH=150>".$lang[$product->getType()]."</TD>\n"; --- 155,163 ---- $end_product = array_pop($order_gantt); $lengthproduct = diffDate($start_product, $end_product); ! unset($order_gantt); ! $Gantt = ""; ! $Gantt .= "<TABLE CELLSPACING=0 CELLSPADING=0 BORDER=".($DETAIL? "1":"0").">"; $Gantt .= "<TR>\n"; $Gantt .= " <TD WIDTH=150>".$lang[$product->getType()]."</TD>\n"; *************** *** 166,191 **** $Gantt .= "<TR><TD COLSPAN=2> </TD></TR>\n"; $Gantt .= "<TR><TD COLSPAN=2> </TD></TR>\n"; ! //Scale of time $Gantt .= "<TR><TD WIDTH=150> </TD><TD>\n"; $Gantt .= "<TABLE CELLSPACING=0 CELLSPADING=0 BORDER=0 WIDTH=".($PAGEWIDTH)."><TR>\n"; ! //Compute the total number of dates displayed on the scale //we assume that we display a date on 50 pixels $NumberDates = floor($PAGEWIDTH/50) + 1; $step = Round($lengthproduct/$NumberDates); ! $start_ts = mktime($start_product->hour, $start_product->min, $start_product->sec, $start_product->month, $start_product->day, $start_product->year); $end_ts = mktime($start_product->hour, $end_product->min, $end_product->sec, $end_product->month, $end_product->day, $end_product->year); $current_ts = $start_ts; ! while ($current_ts < $end_ts) { $Gantt .= "<TD><FONT SIZE=1>|".strftime("%d-%m", $current_ts)."</FONT></TD>\n"; $current_ts += $step; } ! $Gantt .= "</TR></TABLE>\n"; $Gantt .= "</TD></TR>\n"; ! foreach($product->tasklist as $task) { $Gantt .= "<TR><TD COLSPAN=2>\n"; --- 166,191 ---- $Gantt .= "<TR><TD COLSPAN=2> </TD></TR>\n"; $Gantt .= "<TR><TD COLSPAN=2> </TD></TR>\n"; ! //Scale of time $Gantt .= "<TR><TD WIDTH=150> </TD><TD>\n"; $Gantt .= "<TABLE CELLSPACING=0 CELLSPADING=0 BORDER=0 WIDTH=".($PAGEWIDTH)."><TR>\n"; ! //Compute the total number of dates displayed on the scale //we assume that we display a date on 50 pixels $NumberDates = floor($PAGEWIDTH/50) + 1; $step = Round($lengthproduct/$NumberDates); ! $start_ts = mktime($start_product->hour, $start_product->min, $start_product->sec, $start_product->month, $start_product->day, $start_product->year); $end_ts = mktime($start_product->hour, $end_product->min, $end_product->sec, $end_product->month, $end_product->day, $end_product->year); $current_ts = $start_ts; ! while ($current_ts < $end_ts) { $Gantt .= "<TD><FONT SIZE=1>|".strftime("%d-%m", $current_ts)."</FONT></TD>\n"; $current_ts += $step; } ! $Gantt .= "</TR></TABLE>\n"; $Gantt .= "</TD></TR>\n"; ! foreach($product->tasklist as $task) { $Gantt .= "<TR><TD COLSPAN=2>\n"; *************** *** 193,197 **** $Gantt .= "<TD ALIGN=LEFT VALIGN=CENTER ".($DETAILS? " ROWSPAN=2":"")."><FONT SIZE=1>".$task->getLink()." (".$task->worker->getLink().")</FONT></TD>\n"; $Height = getHeight($task); ! if ($DETAILS) { if (diffDate($start_product,$task->s_start) > 0) { --- 193,197 ---- $Gantt .= "<TD ALIGN=LEFT VALIGN=CENTER ".($DETAILS? " ROWSPAN=2":"")."><FONT SIZE=1>".$task->getLink()." (".$task->worker->getLink().")</FONT></TD>\n"; $Height = getHeight($task); ! if ($DETAILS) { if (diffDate($start_product,$task->s_start) > 0) { *************** *** 203,220 **** $Gantt .= "<TD WIDTH=".getWidth($task->s_end, $end_product, $lengthproduct)."> </TD>\n"; } ! $Gantt .= "</TR>\n"; $Gantt .= "<TR>\n"; ! if (diffDate($start_product,$task->s_start) > 0) { $Gantt .= "<TD WIDTH=".getWidth($start_product, $task->s_start, $lengthproduct)."> </TD>\n"; } ! $Gantt .= "<TD COLSPAN=2><A HREF=".$task->getURL()."><IMG BORDER=0 ALT=\"".getInfos($task)."\" SRC=".getColor($task)." HEIGHT=".$Height." WIDTH=".getWidth($task->s_start, $task->s_end, $lengthproduct)."></A></TD>\n"; ! if (diffDate($task->s_end, $end_product) > 0) { $Gantt .= "<TD WIDTH=".getWidth($task->s_end, $end_product, $lengthproduct)."> </TD>\n"; } ! } else { if (diffDate($start_product,$task->s_start) > 0) { --- 203,220 ---- $Gantt .= "<TD WIDTH=".getWidth($task->s_end, $end_product, $lengthproduct)."> </TD>\n"; } ! $Gantt .= "</TR>\n"; $Gantt .= "<TR>\n"; ! if (diffDate($start_product,$task->s_start) > 0) { $Gantt .= "<TD WIDTH=".getWidth($start_product, $task->s_start, $lengthproduct)."> </TD>\n"; } ! $Gantt .= "<TD COLSPAN=2><A HREF=".$task->getURL()."><IMG BORDER=0 ALT=\"".getInfos($task)."\" SRC=".getColor($task)." HEIGHT=".$Height." WIDTH=".getWidth($task->s_start, $task->s_end, $lengthproduct)."></A></TD>\n"; ! if (diffDate($task->s_end, $end_product) > 0) { $Gantt .= "<TD WIDTH=".getWidth($task->s_end, $end_product, $lengthproduct)."> </TD>\n"; } ! } else { if (diffDate($start_product,$task->s_start) > 0) { *************** *** 228,245 **** $Gantt .= "</TR></TABLE></TD></TR>\n"; } ! $Gantt .= "</TABLE>\n"; $Gantt .= "</TD></TR></TABLE>\n"; ! return $Gantt; } return $lang['Err0048']; } ! ! ! Function navigate($p) { global $lang; ! echo "<TABLE>"; echo "<TR><TD>"; --- 228,245 ---- $Gantt .= "</TR></TABLE></TD></TR>\n"; } ! $Gantt .= "</TABLE>\n"; $Gantt .= "</TD></TR></TABLE>\n"; ! return $Gantt; } return $lang['Err0048']; } ! ! ! Function navigate($p) { global $lang; ! echo "<TABLE>"; echo "<TR><TD>"; *************** *** 254,258 **** if (isset($id)) { $obj = GetObject($id); ! $msg = ""; } else { $msg = $msg . $lang['Err0048']; --- 254,258 ---- if (isset($id)) { $obj = GetObject($id); ! $msg = ""; } else { $msg = $msg . $lang['Err0048']; *************** *** 263,267 **** navigate($obj); HTML_Base2($msg); ! if ( $msg == "" ) { echo Diagramme($obj); --- 263,267 ---- navigate($obj); HTML_Base2($msg); ! if ( $msg == "" ) { echo Diagramme($obj); *************** *** 270,278 **** HTML_Base3(); ! ! DB_Close($conn); ?> ! <!-- CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 270,278 ---- HTML_Base3(); ! ! DB_Close($conn); ?> ! <!-- CVS Info: $Id$ $Author$ ! --> Index: gantt.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/gantt.pinc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** gantt.pinc 2001/06/22 20:19:07 1.1 --- gantt.pinc 2001/08/30 15:54:52 1.2 *************** *** 2,9 **** include("Date.pinc"); //constants for gantt.php ! ! //colors for tasks status $taskstatus = array('blank'=>'#FFFFFF', 'blue'=>'#0000FF', 'green'=>'#00FF00', 'orange'=>'#F08000', red=>'FF0000'); ! class gantt_avancement { --- 2,9 ---- include("Date.pinc"); //constants for gantt.php ! ! //colors for tasks status $taskstatus = array('blank'=>'#FFFFFF', 'blue'=>'#0000FF', 'green'=>'#00FF00', 'orange'=>'#F08000', red=>'FF0000'); ! class gantt_avancement { *************** *** 15,19 **** } } ! class gantt_elem { --- 15,19 ---- } } ! class gantt_elem { *************** *** 27,34 **** $this->completion = $vcompletion; } - - } ! /*********************************************************/ /* CLASS GANTT */ --- 27,32 ---- $this->completion = $vcompletion; } } ! /*********************************************************/ /* CLASS GANTT */ *************** *** 36,42 **** class gantt { - - - cfunction gantt(&$product) { --- 34,37 ---- *************** *** 46,59 **** $this->array_gantt = array(); $this->productlink = ""; ! $product->readTasks(); $this->productlink = $product->getlink(); $index_gantt = 0; ! if (isset($product->tasklist) && (count($product->tasklist) >0)) { //there is at least on task @reset($product->tasklist); ! //On va compter le nombre d'intervenants et même les coller dans un tableau. si. on est comme ça nous. foreach ($product->tasklist as $task) --- 41,54 ---- $this->array_gantt = array(); $this->productlink = ""; ! $product->readTasks(); $this->productlink = $product->getlink(); $index_gantt = 0; ! if (isset($product->tasklist) && (count($product->tasklist) >0)) { //there is at least on task @reset($product->tasklist); ! //On va compter le nombre d'intervenants et même les coller dans un tableau. si. on est comme ça nous. foreach ($product->tasklist as $task) *************** *** 64,75 **** $this->workers[$task->worker->id] = $task->worker->f_name." ".$task->worker->l_name; } ! //creating an array with all dates (start and end) of the tasks //start of task ! $this->array_gantt[$index_gantt] = new gantt_elem($task->s_start, "start", $task->id, $task->worker->id, $task->getCompletition()); $this->order_gantt[$index_gantt] = $task->s_start; $index_gantt++; //end of task ! $this->array_gantt[$index_gantt] = new gantt_elem($task->s_end, "end", $task->id, $task->worker->id, $task->getCompletition()); $this->order_gantt[$index_gantt] = $task->s_end; $index_gantt++; --- 59,70 ---- $this->workers[$task->worker->id] = $task->worker->f_name." ".$task->worker->l_name; } ! //creating an array with all dates (start and end) of the tasks //start of task ! $this->array_gantt[$index_gantt] = new gantt_elem($task->s_start, "start", $task->id, $task->worker->id, $task->getCompletion()); $this->order_gantt[$index_gantt] = $task->s_start; $index_gantt++; //end of task ! $this->array_gantt[$index_gantt] = new gantt_elem($task->s_end, "end", $task->id, $task->worker->id, $task->getCompletion()); $this->order_gantt[$index_gantt] = $task->s_end; $index_gantt++; *************** *** 77,93 **** @reset($product->tasklist); @reset($this->workers); ! //ordering by dates ascending asort($this->order_gantt); } } ! ! ! cfunction drawGantt() { $Gantt = ""; ! ! ! $Gantt .= "<TABLE>"; $Gantt .= "<TR>\n"; $Gantt .= "<TD>".$lang['ProdName']."</TD>\n"; --- 72,88 ---- @reset($product->tasklist); @reset($this->workers); ! //ordering by dates ascending asort($this->order_gantt); } } ! ! ! cfunction drawGantt() { $Gantt = ""; ! ! ! $Gantt .= "<TABLE>"; $Gantt .= "<TR>\n"; $Gantt .= "<TD>".$lang['ProdName']."</TD>\n"; *************** *** 102,120 **** } $Gantt .= "</TR>\n"; ! //Loop on the time running... beginning at the fist task //we know the tasklist array is ordered by ascending start time $avancement = array(); $previous_date = ""; ! $current_date = ""; ! $Gantt .= "</TABLE>\n"; $Gantt .= "</TD></TR></TABLE>\n"; return $Gantt; ! } ! ! } ! ! ! ?> \ No newline at end of file --- 97,112 ---- } $Gantt .= "</TR>\n"; ! //Loop on the time running... beginning at the fist task //we know the tasklist array is ordered by ascending start time $avancement = array(); $previous_date = ""; ! $current_date = ""; ! $Gantt .= "</TABLE>\n"; $Gantt .= "</TD></TR></TABLE>\n"; return $Gantt; ! } ! } ! ?> Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** it.p3 2001/08/30 13:36:03 1.54 --- it.p3 2001/08/30 15:54:52 1.55 *************** *** 433,443 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 433,443 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** ko.p3 2001/08/30 13:36:03 1.20 --- ko.p3 2001/08/30 15:54:52 1.21 *************** *** 433,443 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 433,443 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** nl.p3 2001/08/30 13:36:03 1.13 --- nl.p3 2001/08/30 15:54:52 1.14 *************** *** 435,445 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 435,445 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** pl.p3 2001/08/30 13:36:03 1.17 --- pl.p3 2001/08/30 15:54:52 1.18 *************** *** 439,449 **** # Gantt Diagramm ! $lang['GanttLink'] = "Zobacz wykres Ganta"; ! $lang['GanttLinkInfo'] = "Wykres Ganta"; ! $lang['GanttTitle'] = "Wykres Ganta"; ! $lang['GanttStart'] = "Czas rozpoczêcia"; ! $lang['GanttEnd'] = "Czas zakoñczenia"; ! $lang['GanttVolume'] = "Czas realizacji"; ! $lang['GanttCompletition'] = "Zakoñczenie"; # Installations --- 439,449 ---- # Gantt Diagramm ! $lang['GanttLink'] = "Zobacz wykres Ganta"; ! $lang['GanttLinkInfo'] = "Wykres Ganta"; ! $lang['GanttTitle'] = "Wykres Ganta"; ! $lang['GanttStart'] = "Czas rozpoczêcia"; ! $lang['GanttEnd'] = "Czas zakoñczenia"; ! $lang['GanttVolume'] = "Czas realizacji"; ! $lang['GanttCompletion'] = "Zakoñczenie"; # Installations Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** pt-br.p3 2001/08/30 13:36:03 1.33 --- pt-br.p3 2001/08/30 15:54:52 1.34 *************** *** 435,445 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 435,445 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** ru.p3 2001/08/30 13:36:03 1.40 --- ru.p3 2001/08/30 15:54:52 1.41 *************** *** 433,443 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 433,443 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -r1.39 -r1.40 *** task.pinc 2001/08/30 14:38:05 1.39 --- task.pinc 2001/08/30 15:54:52 1.40 *************** *** 670,674 **** } ! $c = $this->getCompletition(); echo " <TR>\n"; --- 670,674 ---- } ! $c = $this->getCompletion(); echo " <TR>\n"; *************** *** 775,781 **** } /* --------------------------------------------------------------------------- ! * get the percentage of completition */ ! function getcompletition () { if ( $this->volume <= 0 ) { return 0.0; --- 775,781 ---- } /* --------------------------------------------------------------------------- ! * get the percentage of completion */ ! function getcompletion () { if ( $this->volume <= 0 ) { return 0.0; *************** *** 784,788 **** } /* --------------------------------------------------------------------------- ! * put aout the formatted appointment */ function formatted () { --- 784,788 ---- } /* --------------------------------------------------------------------------- ! * output the formatted appointment */ function formatted () { Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** task_show.php 2001/08/26 13:31:36 1.13 --- task_show.php 2001/08/30 15:54:52 1.14 *************** *** 154,158 **** echo "</TABLE>\n"; ! $c = $t->getcompletition(); $m1 = max($c,100); $m2 = min($c,100); --- 154,158 ---- echo "</TABLE>\n"; ! $c = $t->getcompletion(); $m1 = max($c,100); $m2 = min($c,100); *************** *** 258,260 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 258,260 ---- CVS Info: $Id$ $Author$ ! --> Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** tw.p3 2001/08/30 13:36:03 1.40 --- tw.p3 2001/08/30 15:54:52 1.41 *************** *** 437,447 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 437,447 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** zh.p3 2001/08/30 13:36:03 1.40 --- zh.p3 2001/08/30 15:54:52 1.41 *************** *** 437,447 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 437,447 ---- # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletion'] = "Completed"; # Installations |
From: Gero K. <gok...@us...> - 2001-08-30 14:38:10
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv14744 Modified Files: task.pinc Log Message: remove unneccessary info in taskoverviews for team and user Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** task.pinc 2001/08/30 13:12:16 1.38 --- task.pinc 2001/08/30 14:38:05 1.39 *************** *** 362,367 **** $vals = sprintf("%s,%f",$vals,$this->volume); ! $flds .= ",VOLUME_DONE"; ! $vals = sprintf("%s,%f",$vals,$this->volume_done); $flds .= ",NAME"; --- 362,367 ---- $vals = sprintf("%s,%f",$vals,$this->volume); ! # $flds .= ",VOLUME_DONE"; ! # $vals = sprintf("%s,%f",$vals,$this->volume_done); $flds .= ",NAME"; *************** *** 406,410 **** $q .= ",DESCRIPTION = ". DB_String($this->desc); $q .= ",VOLUME = ". $this->volume ; ! $q .= ",VOLUME_DONE = ". $this->volume_done ; $q .= ",STATUS = ". $this->state ; $q .= ",WORKER = ". $this->worker->id ; --- 406,412 ---- $q .= ",DESCRIPTION = ". DB_String($this->desc); $q .= ",VOLUME = ". $this->volume ; ! # volume_done is deprecated and now using timetracks ! # $q .= ",VOLUME_DONE = ". $this->volume_done ; ! $q .= ",VOLUME_DONE = NULL" ; $q .= ",STATUS = ". $this->state ; $q .= ",WORKER = ". $this->worker->id ; *************** *** 671,682 **** echo " <TR>\n"; - echo " <TD ALIGN=right VALIGN=top> ". $depth ." </TD>\n"; - echo " <TD VALIGN=top> "; - for ($i = 0; $i <= $depth; $i++) { - echo " "; - } if ( ($parent->getType() == "address")||($parent->getType() == "team")) { ! echo $this->parent->getLink() ." --> ". $this->getLink()." </TD>\n"; } else { echo $this->getLink()." </TD>\n"; } --- 673,684 ---- echo " <TR>\n"; if ( ($parent->getType() == "address")||($parent->getType() == "team")) { ! echo " <TD VALIGN=top COLSPAN=2 NOWRAP> ". $this->parent->getLink() ." --> ". $this->getLink()." </TD>\n"; } else { + echo " <TD ALIGN=right VALIGN=top> ". $depth ." </TD>\n"; + echo " <TD VALIGN=top NOWRAP> "; + for ($i = 0; $i <= $depth; $i++) { + echo " "; + } echo $this->getLink()." </TD>\n"; } |
From: Boris W. <bw...@us...> - 2001-08-30 14:36:12
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13726 Modified Files: product.pinc Log Message: Fixed object type Index: product.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/product.pinc,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -r1.39 -r1.40 *** product.pinc 2001/08/30 14:19:23 1.39 --- product.pinc 2001/08/30 14:36:07 1.40 *************** *** 362,366 **** $q = "INSERT INTO projectroles (pro_id,adr_id,role_id) VALUES (". $this->id .",". $o->id .",". $role .")"; $r = @DB_Exec($this->conn,$q); ! if ( ($this->getType() == "address") || ($this->getType() == "team") ) { acl_raise($this,$o->id,$tutos[modok]); } --- 362,366 ---- $q = "INSERT INTO projectroles (pro_id,adr_id,role_id) VALUES (". $this->id .",". $o->id .",". $role .")"; $r = @DB_Exec($this->conn,$q); ! if ( ($o->getType() == "address") || ($o->getType() == "team") ) { acl_raise($this,$o->id,$tutos[modok]); } |
From: Boris W. <bw...@us...> - 2001-08-30 14:34:34
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13154 Modified Files: appointment.pinc Log Message: Small type fix Index: appointment.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** appointment.pinc 2001/08/30 13:36:03 1.52 --- appointment.pinc 2001/08/30 14:34:29 1.53 *************** *** 1006,1010 **** } ! if ( $tutos['AppLocDesc'][$this->outside] == 1 ) { $descr = eregi_replace("\n","<BR>",$this->descr); echo " <TR><TD CLASS=". $class ." COLSPAN=3>". $descr ."</TD></TR>\n"; --- 1006,1010 ---- } ! if ( $tutos[applocdesc][$this->outside] == 1 ) { $descr = eregi_replace("\n","<BR>",$this->descr); echo " <TR><TD CLASS=". $class ." COLSPAN=3>". $descr ."</TD></TR>\n"; |