tutos-commits Mailing List for TUTOS
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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
(3) |
7
(1) |
8
|
9
(3) |
10
(3) |
11
(2) |
12
(12) |
13
|
14
(6) |
15
|
16
|
17
(1) |
18
(23) |
19
|
20
|
21
(20) |
22
(1) |
23
|
24
|
25
|
26
(4) |
27
|
28
|
29
(1) |
30
|
31
(13) |
|
|
|
|
|
From: Gero K. <gok...@us...> - 2001-12-31 10:02:39
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv23800/php Modified Files: timetrack_overview.php Log Message: more HTML for advanced browsers Index: timetrack_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack_overview.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** timetrack_overview.php 2001/12/18 14:46:00 1.20 --- timetrack_overview.php 2001/12/31 10:02:36 1.21 *************** *** 30,33 **** --- 30,34 ---- echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; echo order_header("","#"); *************** *** 39,43 **** echo order_header("state",$lang['TTState']); echo order_header("",$lang['ProdCost']); ! echo "</TR>\n"; $sum['v'] = 0.0; --- 40,45 ---- echo order_header("state",$lang['TTState']); echo order_header("",$lang['ProdCost']); ! echo "</TR>\n"; ! echo "</THEAD>\n"; $sum['v'] = 0.0; *************** *** 65,68 **** --- 67,71 ---- } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $tt = new timetrack($dbconn); *************** *** 92,96 **** --- 95,101 ---- unset($tt); } + echo "</TBODY>\n"; + echo "<TFOOT>\n"; ShowBackForwardNav($link1,8,$start,$a,$n); *************** *** 114,117 **** --- 119,123 ---- echo "</B></TD>\n"; echo "</TR>\n"; + echo "</TFOOT>\n"; echo "</TABLE>\n"; |
From: Gero K. <gok...@us...> - 2001-12-31 09:54:39
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv22718/php Modified Files: calendar.php user.pinc Log Message: HTML: added OPTGROUP in selection Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** calendar.php 2001/12/18 06:36:08 1.33 --- calendar.php 2001/12/31 09:54:35 1.34 *************** *** 44,85 **** $current_user->readKnownParties(); - $tsel[0] = ""; - $tsel[1] = ""; - $tsel[2] = ""; - $tsel[3] = ""; $showed = 0; @reset($current_user->t_parties); while ( list ($i,$f) = @each ($current_user->t_parties) ) { ! $tsel[$i] = ""; ! } ! $tsel[$team] = "SELECTED"; ! @reset($current_user->t_parties); ! while ( list ($i,$f) = @each ($current_user->t_parties) ) { ! echo " <OPTION value=$i $tsel[$i]>". $f ."</OPTION>\n"; if ( $team == $i ) { $showed = 1; } } ! # @reset($current_user->teamids); ! # while ( list ($i,$f) = @each ($current_user->teamids) ) { ! # echo " <OPTION value=$i $tsel[$i]>". $lang['Team'] ." ". $f ."</OPTION>\n"; ! # if ( $team == $i ) { ! # $showed = 1; ! # } ! # } ! echo " <OPTION value=1 $tsel[1]>". $lang['User'] ." ". $current_user->getFullname() ."</OPTION>\n"; if ( $team == 1 ) { $showed = 1; } ! echo " <OPTION value=2 $tsel[2]>". $lang['AppAllTeams'] ."</OPTION>\n"; if ( $team == 2 ) { $showed = 1; } ! echo " <OPTION value=3 $tsel[3]>". $lang['AppAllSee'] ."</OPTION>\n"; if ( $team == 3 ) { $showed = 1; } if ( $current_user->admin == 1 ) { ! echo " <OPTION value=0 $tsel[0]>". $lang['AppEverything'] ."</OPTION>\n"; if ( $team == 0 ) { $showed = 1; --- 44,72 ---- $current_user->readKnownParties(); $showed = 0; + echo " <OPTGROUP LABEL=\"". $lang['Teams'] ."\">\n"; @reset($current_user->t_parties); while ( list ($i,$f) = @each ($current_user->t_parties) ) { ! echo " <OPTION value=". $i ." ". ($team == $i ? "SELECTED" : "") .">". $f ."</OPTION>\n"; if ( $team == $i ) { $showed = 1; } } ! echo " </OPTGROUP>\n"; ! ! echo " <OPTION value=1 ". ($team == 1 ? "SELECTED" : "") .">". $lang['User'] ." ". $current_user->getFullname() ."</OPTION>\n"; if ( $team == 1 ) { $showed = 1; } ! echo " <OPTION value=2 ". ($team == 2 ? "SELECTED" : "") .">". $lang['AppAllTeams'] ."</OPTION>\n"; if ( $team == 2 ) { $showed = 1; } ! echo " <OPTION value=3 ". ($team == 3 ? "SELECTED" : "") .">". $lang['AppAllSee'] ."</OPTION>\n"; if ( $team == 3 ) { $showed = 1; } if ( $current_user->admin == 1 ) { ! echo " <OPTION value=0 ". ($team == 0 ? "SELECTED" : "") .">". $lang['AppEverything'] ."</OPTION>\n"; if ( $team == 0 ) { $showed = 1; *************** *** 87,91 **** } if ( $showed != 1 ) { ! echo " <OPTION value=$team $tsel[$team]>". $teamname ."</OPTION>\n"; } --- 74,78 ---- } if ( $showed != 1 ) { ! echo " <OPTION value=". $team ." SELECTED>". $teamname ."</OPTION>\n"; } Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -r1.59 -r1.60 *** user.pinc 2001/12/21 12:33:23 1.59 --- user.pinc 2001/12/31 09:54:36 1.60 *************** *** 430,434 **** /* Insert Teams and users */ ! @reset($this->parties); while ( list ($id,$f) = @each ($this->t_parties) ) { $x = "<OPTION value=\"".$id ."\""; --- 430,434 ---- /* Insert Teams and users */ ! @reset($this->t_parties); while ( list ($id,$f) = @each ($this->t_parties) ) { $x = "<OPTION value=\"".$id ."\""; *************** *** 440,447 **** } $show[$id] = 1; ! $x .= "> ". $f ."</OPTION>\n"; $tlist[$f] = $x; } while ( list ($id,$f) = @each ($this->a_parties) ) { $x = "<OPTION value=\"".$id ."\""; --- 440,448 ---- } $show[$id] = 1; ! $x .= "> ". htmlentities($f) ."</OPTION>\n"; $tlist[$f] = $x; } + @reset($this->a_parties); while ( list ($id,$f) = @each ($this->a_parties) ) { $x = "<OPTION value=\"".$id ."\""; *************** *** 453,457 **** } $show[$id] = 1; ! $x .= "> ". $f ."</OPTION>\n"; $plist[$f] = $x; --- 454,458 ---- } $show[$id] = 1; ! $x .= "> ". htmlentities($f) ."</OPTION>\n"; $plist[$f] = $x; *************** *** 464,472 **** if ( $o->getType() == "address" ) { $n = $o->l_name ." ". $o->f_name; ! $x = "<OPTION value=\"". $pre ."\" SELECTED>". $n ."</OPTION>\n"; $plist[$n] = $x; } else if ( $o->getType() == "team" ) { $n = $lang['Team'] ." ". $o->name; ! $x = "<OPTION value=\"". $pre ."\" SELECTED>". $n ."</OPTION>\n"; $tlist[$n] = $x; } --- 465,473 ---- if ( $o->getType() == "address" ) { $n = $o->l_name ." ". $o->f_name; ! $x = "<OPTION value=\"". $pre ."\" SELECTED>". htmlentities($n) ."</OPTION>\n"; $plist[$n] = $x; } else if ( $o->getType() == "team" ) { $n = $lang['Team'] ." ". $o->name; ! $x = "<OPTION value=\"". $pre ."\" SELECTED>". htmlentities($n) ."</OPTION>\n"; $tlist[$n] = $x; } *************** *** 481,489 **** if ( $o->getType() == "address" ) { $n = $o->l_name ." ". $o->f_name; ! $x = "<OPTION value=\"". $i ."\" SELECTED>". $n ."</OPTION>\n"; $plist[$n] = $x; } else if ( $o->getType() == "team" ) { $n = $lang['Team'] ." ". $o->name; ! $x = "<OPTION value=\"". $i ."\" SELECTED>". $n ."</OPTION>\n"; $tlist[$n] = $x; } --- 482,490 ---- if ( $o->getType() == "address" ) { $n = $o->l_name ." ". $o->f_name; ! $x = "<OPTION value=\"". $i ."\" SELECTED>". htmlentities($n) ."</OPTION>\n"; $plist[$n] = $x; } else if ( $o->getType() == "team" ) { $n = $lang['Team'] ." ". $o->name; ! $x = "<OPTION value=\"". $i ."\" SELECTED>". htmlentities($n) ."</OPTION>\n"; $tlist[$n] = $x; } *************** *** 492,495 **** --- 493,497 ---- # Get the list sorted + $r .= "<OPTGROUP LABEL=\"". $lang['User'] ."\">\n"; @ksort($plist); @reset($plist); *************** *** 497,500 **** --- 499,504 ---- $r .= $f; } + $r .= "</OPTGROUP>\n"; + $r .= "<OPTGROUP LABEL=\"". $lang['Teams'] ."\">\n"; @ksort($tlist); @reset($tlist); *************** *** 502,505 **** --- 506,510 ---- $r .= $f; } + $r .= "</OPTGROUP>\n"; $r .= "\n</SELECT>"; |
From: Gero K. <gok...@us...> - 2001-12-31 09:49:54
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv22188/php Modified Files: bug_ins.php Log Message: security fix: no scripting in inputs Index: bug_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_ins.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** bug_ins.php 2001/10/06 18:09:20 1.11 --- bug_ins.php 2001/12/31 09:49:51 1.12 *************** *** 80,84 **** $newlines = ""; if ( !empty($description) ) { ! $newlines = sprintf("<B>%s -- Added by %s</B>\n%s" ,Date("d.m.Y H:i:s"),$current_user->getFullname() , $description); } # --- 80,84 ---- $newlines = ""; if ( !empty($description) ) { ! $newlines = sprintf("<B>%s -- Added by %s</B>\n%s" ,Date("d.m.Y H:i:s"),$current_user->getFullname() , htmlentities($description)); } # *************** *** 120,124 **** $b->id = -1; $b->creation = new DateTime(); ! $b->description = $description; $b->short = $short; $b->state = $state; --- 120,124 ---- $b->id = -1; $b->creation = new DateTime(); ! $b->description = htmlentities($description); $b->short = $short; $b->state = $state; |
From: Gero K. <gok...@us...> - 2001-12-31 09:48:49
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv21945/php Modified Files: Date.pinc address.pinc address_ins.php Log Message: Bugfix: Birthday without TZ Index: Date.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/Date.pinc,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** Date.pinc 2001/12/06 09:43:08 1.41 --- Date.pinc 2001/12/31 09:48:46 1.42 *************** *** 323,327 **** * ts is assumed in current_users TZ */ ! function setDateTimeTS($ts) { global $current_user; --- 323,327 ---- * ts is assumed in current_users TZ */ ! function setDateTimeTS($ts,$notz = 0) { global $current_user; *************** *** 339,343 **** $this->format = "TS"; $this->ts_def = $ts; ! if ( $current_user->offset != 0 ) { $this->ts_def -= $current_user->offset; } --- 339,343 ---- $this->format = "TS"; $this->ts_def = $ts; ! if ( ($current_user->offset != 0) && ($notz == 0) ) { $this->ts_def -= $current_user->offset; } *************** *** 346,350 **** * set DateTime by variables (incoming variables are in the users TZ) */ ! function setDateTimeF($str) { global $HTTP_GET_VARS , $HTTP_POST_VARS , $current_user; --- 346,350 ---- * set DateTime by variables (incoming variables are in the users TZ) */ ! function setDateTimeF($str,$notz = 0) { global $HTTP_GET_VARS , $HTTP_POST_VARS , $current_user; *************** *** 403,407 **** $this->ts = mktime($this->hour,$this->min,$this->sec,$this->month,$this->day,$this->year); $this->ts_def = $this->ts; ! if ( $current_user->offset != 0 ) { $this->ts_def -= $current_user->offset; } --- 403,407 ---- $this->ts = mktime($this->hour,$this->min,$this->sec,$this->month,$this->day,$this->year); $this->ts_def = $this->ts; ! if ( ($current_user->offset != 0) && ($notz == 0) ) { $this->ts_def -= $current_user->offset; } *************** *** 435,439 **** * */ ! function setDateTime($str) { global $current_user , $tutos; --- 435,439 ---- * */ ! function setDateTime($str,$notz = 0) { global $current_user , $tutos; *************** *** 573,577 **** $this->ts_def = $this->ts; ! if ( $current_user->offset != 0 ) { $this->ts += $current_user->offset; // Set the fields according to offset --- 573,577 ---- $this->ts_def = $this->ts; ! if ( ($current_user->offset != 0) && ($notz == 0) ) { $this->ts += $current_user->offset; // Set the fields according to offset Index: address.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/address.pinc,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** address.pinc 2001/12/18 12:20:20 1.53 --- address.pinc 2001/12/31 09:48:46 1.54 *************** *** 58,62 **** } ! $this->birthday->setDateTime($r->get($pos, "birthday")); $this->readTeamList(); --- 58,62 ---- } ! $this->birthday->setDateTime($r->get($pos, "birthday"),1); $this->readTeamList(); Index: address_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_ins.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** address_ins.php 2001/12/18 06:33:15 1.20 --- address_ins.php 2001/12/31 09:48:46 1.21 *************** *** 31,35 **** $birthday = new DateTime(0); ! $birthday->setDateTimeF("birthday"); --- 31,35 ---- $birthday = new DateTime(0); ! $birthday->setDateTimeF("birthday",1); |
From: Gero K. <gok...@us...> - 2001-12-31 09:44:51
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv21204/php Modified Files: bug_show.php Log Message: security fix: no scripting in inputs Index: bug_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_show.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** bug_show.php 2001/12/06 09:43:08 1.17 --- bug_show.php 2001/12/31 09:44:48 1.18 *************** *** 72,76 **** echo "</TR><TR>\n"; showfield($lang['BugShort']); ! echo " <TD COLSPAN=3>". $b->short ."</TD>\n"; if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { --- 72,76 ---- echo "</TR><TR>\n"; showfield($lang['BugShort']); ! echo " <TD COLSPAN=3>". htmlentities($b->short) ."</TD>\n"; if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { *************** *** 89,93 **** showfield($lang['BugHistory']); echo " <TD CLASS=pre COLSPAN=3>"; ! echo "<PRE>\n". urlReplace($b->description) ."\n</PRE></TD>\n"; echo "</TR>\n"; --- 89,93 ---- showfield($lang['BugHistory']); echo " <TD CLASS=pre COLSPAN=3>"; ! echo "<PRE>\n". urlReplace($b->description,0) ."\n</PRE></TD>\n"; echo "</TR>\n"; |
From: Gero K. <gok...@us...> - 2001-12-31 09:44:15
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv21139/php Modified Files: note.pinc product_show.php app_show.php task_show.php Log Message: security fix: no scripting in inputs Index: note.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/note.pinc,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** note.pinc 2001/12/06 09:43:08 1.46 --- note.pinc 2001/12/31 09:44:12 1.47 *************** *** 234,240 **** --- 234,242 ---- $n =str_replace("\n","<BR>",htmlentities($this->note)); $n =str_replace("\r","",$n); + $n =str_replace("\\","\\\\",$n); $n =str_replace("'","\'",$n); $t =htmlentities($this->name); + $t =str_replace("\\","\\\\",$t); $t =str_replace("'","\'",$t); Index: product_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_show.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** product_show.php 2001/12/10 09:39:39 1.26 --- product_show.php 2001/12/31 09:44:12 1.27 *************** *** 66,75 **** echo "<TR>\n"; showfield($lang['ProdName']); ! echo " <TD COLSPAN=3>". $p->name ."</TD>\n"; echo "</TR>\n"; echo "<TR>\n"; showfield($lang['ProdVersion']); ! echo " <TD COLSPAN=3>". $p->version ." </TD>\n"; echo "</TR>\n"; --- 66,75 ---- echo "<TR>\n"; showfield($lang['ProdName']); ! echo " <TD COLSPAN=3>". htmlentities($p->name) ."</TD>\n"; echo "</TR>\n"; echo "<TR>\n"; showfield($lang['ProdVersion']); ! echo " <TD COLSPAN=3>". htmlentities($p->version) ." </TD>\n"; echo "</TR>\n"; Index: app_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** app_show.php 2001/12/06 09:43:08 1.8 --- app_show.php 2001/12/31 09:44:12 1.9 *************** *** 121,125 **** echo "<TR>\n"; showfield($lang['Description']); ! echo " <TD COLSPAN=3>". urlReplace($a->descr) ." </TD>\n"; echo "</TR>\n"; } --- 121,126 ---- echo "<TR>\n"; showfield($lang['Description']); ! $descr = eregi_replace("\n","<BR>",$a->descr); ! echo " <TD COLSPAN=3>". urlReplace($descr) ." </TD>\n"; echo "</TR>\n"; } Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** task_show.php 2001/10/03 09:23:48 1.17 --- task_show.php 2001/12/31 09:44:12 1.18 *************** *** 35,39 **** echo " <TR>\n"; showfield($lang['TaskName']); ! echo " <TD>". $t->name ."</TD>\n"; showfield($lang['TaskWorker']); echo " <TD>". $t->worker->getLink() ."</TD>\n"; --- 35,39 ---- echo " <TR>\n"; showfield($lang['TaskName']); ! echo " <TD>". htmlentities($t->name) ."</TD>\n"; showfield($lang['TaskWorker']); echo " <TD>". $t->worker->getLink() ."</TD>\n"; |
From: Gero K. <gok...@us...> - 2001-12-31 09:41:40
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv20879/php Modified Files: webelements.p3 Log Message: more HTML for advanced browsers Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -r1.95 -r1.96 *** webelements.p3 2001/12/21 12:32:29 1.95 --- webelements.p3 2001/12/31 09:41:36 1.96 *************** *** 473,477 **** # if ( ! isset($tutos[logo]) ) { ! echo " <TD WIDTH=\"16%\" COLSPAN=2 VALIGN=middle ALIGN=left> <A CLASS=nodeco HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } else { echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left>"; --- 473,477 ---- # if ( ! isset($tutos[logo]) ) { ! echo " <TD WIDTH=\"16%\" COLSPAN=2 VALIGN=middle ALIGN=left> <A CLASS=nodeco REL=\"copyright\" HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } else { echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left>"; *************** *** 767,771 **** * substitute urls in the given text */ ! Function urlReplace($b) { $b = eregi_replace("(ftp://[a-z,0-9:/?&=_.-]*)","<A HREF=\"\\1\" TARGET=_blank>\\1</A>",$b); $b = eregi_replace("(file:/[a-z,0-9:/?&=_.-]*)","<A HREF=\"\\1\" TARGET=_blank>\\1</A>",$b); --- 767,778 ---- * substitute urls in the given text */ ! Function urlReplace($b,$mode = 1) { ! if ( $mode == 1 ) { ! $b = htmlentities($b); ! } ! $b = eregi_replace("(&)","&",$b); ! $b = eregi_replace("(<BR>)","<BR>",$b); ! $b = eregi_replace("<([BIU])>","<\\1>",$b); ! $b = eregi_replace("</([BIU])>","</\\1>",$b); $b = eregi_replace("(ftp://[a-z,0-9:/?&=_.-]*)","<A HREF=\"\\1\" TARGET=_blank>\\1</A>",$b); $b = eregi_replace("(file:/[a-z,0-9:/?&=_.-]*)","<A HREF=\"\\1\" TARGET=_blank>\\1</A>",$b); *************** *** 1104,1110 **** echo "SELECTED"; } ! echo ">". $c ."</OPTION>"; } ! echo "</SELECT>"; } --- 1111,1117 ---- echo "SELECTED"; } ! echo ">". htmlentities($c) ."</OPTION>\n"; } ! echo "</SELECT>\n"; } *************** *** 1282,1286 **** $fn = $f->getFullname(); } ! echo " <OPTION VALUE=". $x .">". $fn ."</OPTION>\n"; } if ( $none != 0 ) { --- 1289,1293 ---- $fn = $f->getFullname(); } ! echo " <OPTION VALUE=". $x .">". htmlentities($fn) ."</OPTION>\n"; } if ( $none != 0 ) { *************** *** 1293,1297 **** } else { if ( ! isset($obj->xfn[$name]) ) { ! $obj->xfn[$name] = ""; } echo "<INPUT SIZE=20 MAXLENGTH=40 name=\"". $name ."fn\" value=\"". htmlentities($obj->xfn[$name]) ."\">"; --- 1300,1304 ---- } else { if ( ! isset($obj->xfn[$name]) ) { ! $obj->xfn[$name] = ""; } echo "<INPUT SIZE=20 MAXLENGTH=40 name=\"". $name ."fn\" value=\"". htmlentities($obj->xfn[$name]) ."\">"; *************** *** 1333,1338 **** * */ ! Function showfield($text,$req = 0) { ! echo "<TD CLASS=\"desc\" VALIGN=\"top\">". $text; if ( $req != 0 ) { echo "<FONT COLOR=\"red\">(*)</FONT>"; --- 1340,1352 ---- * */ ! Function showfield($text,$req = 0,$label = "") { ! echo "<TD CLASS=\"desc\" VALIGN=\"top\">"; ! if ( $label != "" ) { ! echo "<LABEL FOR=\"". $label ."\">"; ! } ! echo $text; ! if ( $label != "" ) { ! echo "</LABEL>"; ! } if ( $req != 0 ) { echo "<FONT COLOR=\"red\">(*)</FONT>"; *************** *** 1344,1349 **** * */ ! Function showfieldc($text,$req = 0) { ! echo "<TD CLASS=\"desc\">". $text; if ( $req != 0 ) { echo "<FONT COLOR=\"red\">(*)</FONT>"; --- 1358,1370 ---- * */ ! Function showfieldc($text,$req = 0,$label = "") { ! echo "<TD CLASS=\"desc\">"; ! if ( $label != "" ) { ! echo "<LABEL FOR=\"". $label ."\">"; ! } ! echo $text; ! if ( $label != "" ) { ! echo "</LABEL>"; ! } if ( $req != 0 ) { echo "<FONT COLOR=\"red\">(*)</FONT>"; *************** *** 1423,1426 **** --- 1444,1448 ---- } + echo "<TFOOT>\n"; echo "<TR>\n"; echo " <TH align=left COLSPAN=". $cnt .">\n"; *************** *** 1449,1452 **** --- 1471,1475 ---- echo " </TH>\n"; echo "</TR>\n"; + echo "</TFOOT>\n"; } ?> |
From: Gero K. <gok...@us...> - 2001-12-31 09:40:18
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv20702/php Modified Files: permission.p3 db.p3 Log Message: welcome message on first page / moved checks to login page Index: permission.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/permission.p3,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -r1.48 -r1.49 *** permission.p3 2001/12/21 12:09:48 1.48 --- permission.p3 2001/12/31 09:40:14 1.49 *************** *** 58,64 **** --- 58,88 ---- } + + # + # Primary Check + # + $stop = 0; + if ( (substr(phpversion(),0,4) != "4.0.") && (substr(phpversion(),0,4) != "4.1.") ) { + echo "Sorry TUTOS needs a PHP Version >= 4.0.1pl2<BR>\n"; + echo "you are using ". phpversion() ."<BR>\n"; + $stop++; + } + if ( ! ereg( "^([0-9]{4})-([0-1][0-9])-([0-9]{2}) ([0-2][0-9]):([0-5][0-9]):([0-5][0-9])$", "2001-12-13 13:21:56", $regs ) ) { + echo "Sorry your apache regex library does not work as it should<BR>\n"; + echo "Look <A HREF=phpinfo.php>here</A> for <I>Regex Library</I>. It should tell you \"Bundled library enabled\" or \"System library enabled\"<BR>\n"; + echo "To change it you should recompile your PHP Module with the \"--with-regex=php\" flag on \"configure\"<BR>\n"; + $stop++; + } + + if ( $stop > 0 ) { + exit; + } + if ( ! headers_sent() ) { HTML_Header($lang['Login']); } + echo "\n<!-- PHP Version CHECK OK -->"; + echo "\n<!-- ". phpversion() ." -->\n"; + echo "<CENTER>\n"; echo "<SPAN CLASS=warn>". $lang['PleaseCookies'] ."</SPAN><BR>\n"; *************** *** 105,113 **** echo "</TR><TR>\n"; echo "</TR><TR>\n"; ! echo " <TD>". $lang['Username'] ."</TD>\n"; ! echo " <TD><INPUT type=text name=uname value=\"\"></TD>\n"; echo "</TR><TR>\n"; ! echo " <TD>". $lang['Password'] ."</TD>\n"; ! echo " <TD><INPUT type=password name=pw></TD>\n"; echo "</TR><TR>\n"; if ( isset($db) ) { --- 129,137 ---- echo "</TR><TR>\n"; echo "</TR><TR>\n"; ! showfieldc($lang['Username'],0,"uname"); ! echo " <TD><INPUT id=uname type=text name=uname value=\"\"></TD>\n"; echo "</TR><TR>\n"; ! showfieldc($lang['Password'],0,"pw"); ! echo " <TD><INPUT id=pw type=password name=pw></TD>\n"; echo "</TR><TR>\n"; if ( isset($db) ) { *************** *** 115,120 **** } else { if ( count($tutos[dbname]) > 1 ) { ! echo " <TD> </TD>\n"; ! echo " <TD ALIGN=right><SELECT name=\"dbnr\">\n"; while ( list ($i,$f) = @each ($tutos[dbname]) ) { if ( isset($tutos[dbalias][$i]) ) { --- 139,144 ---- } else { if ( count($tutos[dbname]) > 1 ) { ! showfieldc($lang['DB'],0,"db"); ! echo " <TD ALIGN=right><SELECT id=db name=\"dbnr\">\n"; while ( list ($i,$f) = @each ($tutos[dbname]) ) { if ( isset($tutos[dbalias][$i]) ) { *************** *** 194,198 **** Function check_user() { global $PHP_SELF ,$PHPSESSID,$HTTP_POST_VARS,$HTTP_GET_VARS; ! global $lang ,$dbconn , $current_user,$userid,$dbnr,$tutos; if ( $tutos[debug] != 0 ) { --- 218,222 ---- Function check_user() { global $PHP_SELF ,$PHPSESSID,$HTTP_POST_VARS,$HTTP_GET_VARS; ! global $lang ,$dbconn , $current_user,$userid,$dbnr,$tutos, $msg; if ( $tutos[debug] != 0 ) { *************** *** 276,280 **** $uname = $current_user->login; ReadLang($lang); ! logmessage("check_user: Logged in ". $userid .":". $uname .":". $current_user->getFullname()); --- 300,305 ---- $uname = $current_user->login; ReadLang($lang); ! $msg .= "Welcome ". $current_user->getFullname(); ! $msg .= "<BR>last login was ". $current_user->last_seen->getDateTime()." from ".$current_user->last_host; logmessage("check_user: Logged in ". $userid .":". $uname .":". $current_user->getFullname()); Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -r1.56 -r1.57 *** db.p3 2001/12/21 12:31:26 1.56 --- db.p3 2001/12/31 09:40:14 1.57 *************** *** 8,19 **** # - # Primary Check - # - if ( (substr(phpversion(),0,4) != "4.0.") && (substr(phpversion(),0,4) != "4.1.") ) { - echo "Sorry TUTOS needs a PHP Version >= 4.0.1pl2<BR>\n"; - echo "you are using ". phpversion() ."<BR>\n"; - exit; - } - # # Tutos Array # --- 8,11 ---- |
From: Gero K. <gok...@us...> - 2001-12-31 09:38:48
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv20438/php Modified Files: watchlist_ins.php history.pinc Log Message: fixed jumpbackurl for watchlist inserts Index: watchlist_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/watchlist_ins.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** watchlist_ins.php 2001/09/12 13:01:51 1.6 --- watchlist_ins.php 2001/12/31 09:38:45 1.7 *************** *** 19,25 **** /* Check Input */ $msg = ""; ! if ( empty($gotourl) ) { ! $gotourl = "$HTTP_REFERER"; } if ( empty($adr) ) { $a = $current_user; --- 19,26 ---- /* Check Input */ $msg = ""; ! if ( empty($gotourl) && isset($HTTP_REFERER) ) { ! $gotourl = $HTTP_REFERER; } + if ( empty($adr) ) { $a = $current_user; Index: history.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/history.pinc,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** history.pinc 2001/12/18 14:46:00 1.19 --- history.pinc 2001/12/31 09:38:45 1.20 *************** *** 151,155 **** */ function watchlist_link (&$obj,&$adr) { ! global $current_user, $lang, $tutos; if ( $tutos[usewatchlist] == 0 ) { --- 151,155 ---- */ function watchlist_link (&$obj,&$adr) { ! global $current_user, $lang, $tutos, $REQUEST_URI; if ( $tutos[usewatchlist] == 0 ) { *************** *** 161,168 **** if ( $current_user->p[usewatchlist] == 1 ) { readWatchlist($obj); if ( isset($obj->watchlist[$adr->id]) ) { ! echo menulink("watchlist_del.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchDel'],sprintf($lang['WatchDelI'],$obj->getFullName() )); } else { ! echo menulink("watchlist_ins.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchAdd'],sprintf($lang['WatchAddI'],$obj->getFullName() )); } echo "<BR>\n"; --- 161,170 ---- if ( $current_user->p[usewatchlist] == 1 ) { readWatchlist($obj); + # BACKJUMP + $gotourl = "&gotourl=".urlencode($REQUEST_URI); if ( isset($obj->watchlist[$adr->id]) ) { ! echo menulink("watchlist_del.php?id=". $obj->id ."&adr=". $adr->id .$gotourl ,$lang['WatchDel'],sprintf($lang['WatchDelI'],$obj->getFullName() )); } else { ! echo menulink("watchlist_ins.php?id=". $obj->id ."&adr=". $adr->id .$gotourl ,$lang['WatchAdd'],sprintf($lang['WatchAddI'],$obj->getFullName() )); } echo "<BR>\n"; |
From: Gero K. <gok...@us...> - 2001-12-31 09:35:58
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv20148/php Modified Files: product_overview.php task_overview.php note_overview.php app_overview.php address_tools.p3 bug_overview.php Log Message: more TABLE infos for advanced browsers Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** product_overview.php 2001/12/26 13:00:52 1.37 --- product_overview.php 2001/12/31 09:35:53 1.38 *************** *** 82,85 **** --- 82,86 ---- } echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; *************** *** 187,190 **** --- 188,192 ---- } echo "</TR>\n"; + echo "</THEAD>\n"; if ( $format == "paper" ) { *************** *** 199,202 **** --- 201,205 ---- $end = $start + $tutos[maxshow]; } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $p = &$plist[$a]; *************** *** 206,210 **** while( list ($i,$c) = @each ($tutos[prodfields])) { if ( ($c == "name") && $pshow[$c] ) { ! $b = $p->name; if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); --- 209,213 ---- while( list ($i,$c) = @each ($tutos[prodfields])) { if ( ($c == "name") && $pshow[$c] ) { ! $b = htmlentities($p->name); if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); *************** *** 213,217 **** } if ( ($c == "version") && $pshow[$c] ) { ! $b = $p->version; if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); --- 216,220 ---- } if ( ($c == "version") && $pshow[$c] ) { ! $b = htmlentities($p->version); if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); *************** *** 328,332 **** } if ( ($c == "desc") && $pshow[$c] ) { ! $b = $p->description; if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); --- 331,335 ---- } if ( ($c == "desc") && $pshow[$c] ) { ! $b = htmlentities($p->description); if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); *************** *** 335,339 **** } if ( ($c == "desc1") && $pshow[$c] ) { ! $b = $p->desc1; if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); --- 338,342 ---- } if ( ($c == "desc1") && $pshow[$c] ) { ! $b = htmlentities($p->desc1); if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); *************** *** 342,346 **** } if ( ($c == "desc2") && $pshow[$c] ) { ! $b = $p->desc2; if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPANN CLASS=found>\\1</SPAN>",$b); --- 345,349 ---- } if ( ($c == "desc2") && $pshow[$c] ) { ! $b = htmlentities($p->desc2); if ( $filter['name'] != "" ) { $b = eregi_replace("(". $filter['name'] .")","<SPANN CLASS=found>\\1</SPAN>",$b); *************** *** 408,411 **** --- 411,415 ---- $a++; } + echo "</TBODY>\n"; ShowBackForwardNav($link1,$flds,$start,$a,$n); *************** *** 413,416 **** --- 417,421 ---- # Sum of Prices if ( ($pshow['price'] == 1) || ($pshow['cost'] == 1) ) { + echo "<TFOOT>\n"; echo "<TR>\n"; $fill = 0; *************** *** 458,465 **** } echo "</TR>\n"; ! } if ( $pshow['checkbox'] ) { # Mass Update echo "<TR>\n"; echo " <TD ALIGN=right COLSPAN=". ( $flds -1 ) .">\n"; --- 463,472 ---- } echo "</TR>\n"; ! echo "</TFOOT>\n"; } + if ( $pshow['checkbox'] ) { # Mass Update + echo "<TFOOT>\n"; echo "<TR>\n"; echo " <TD ALIGN=right COLSPAN=". ( $flds -1 ) .">\n"; *************** *** 476,479 **** --- 483,487 ---- echo " <TD COLSPAN=1><INPUT type=submit value=OK></TD>\n"; echo "</TR>\n"; + echo "</TFOOT>\n"; } Index: task_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_overview.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** task_overview.php 2001/12/26 13:04:07 1.14 --- task_overview.php 2001/12/31 09:35:53 1.15 *************** *** 42,45 **** --- 42,46 ---- DoubleTableStart(1,0); $cols = 9; + echo " <THEAD>\n"; echo " <TR>\n"; echo " <TH COLSPAN=". $cols ." WIDTH=\"100%\">". $lang['TaskOverview'] ." ". $lang['forphrase'] ." " . menulink($parent->getURL(),$parent->getFullName()) ."</TH>\n"; *************** *** 79,82 **** --- 80,85 ---- } echo "</TR>"; + echo " </THEAD>\n"; + echo " <TBODY>\n"; if ( $parent->getType() == "task" ) { $parent->printRow(0,$parent); *************** *** 88,92 **** --- 91,98 ---- } } + echo " </TBODY>\n"; + if ( $tutos[massupdate] == 1 ) { + echo " <TFOOT>\n"; echo "<TR>"; echo " <TD ALIGN=right COLSPAN=". ( $cols -1 ) .">\n"; *************** *** 103,106 **** --- 109,113 ---- echo " <TD COLSPAN=1><INPUT type=submit value=OK></TD>\n"; echo "</TR>"; + echo " </TFOOT>\n"; } DoubleTableEnd(1,0); *************** *** 112,116 **** * */ ! Function navigate($p) { global $lang; --- 119,123 ---- * */ ! Function navigate($p = -1) { global $lang; *************** *** 183,186 **** --- 190,194 ---- $msg .= $lang['Err0048']; $stop = 1; + $obj = -1; } Index: note_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note_overview.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** note_overview.php 2001/12/18 14:47:48 1.11 --- note_overview.php 2001/12/31 09:35:55 1.12 *************** *** 48,51 **** --- 48,52 ---- echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; echo order_header("notes.creation",$lang['created']); *************** *** 54,57 **** --- 55,59 ---- echo order_header("notes.creator",$lang['NoteCreator']); echo "</TR>\n"; + echo "</THEAD>\n"; if ( $start == -1 ) { *************** *** 65,68 **** --- 67,71 ---- } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $b = &$blist[$a]; *************** *** 71,75 **** echo "<TR>\n"; echo " <TD>". $b->creation->getDateTime() ."</TD>\n"; ! $x = $b->getFullName(); if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); --- 74,78 ---- echo "<TR>\n"; echo " <TD>". $b->creation->getDateTime() ."</TD>\n"; ! $x = htmlentities($b->getFullName()); if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); *************** *** 82,85 **** --- 85,89 ---- $a++; } + echo "</TBODY>\n"; ShowBackForwardNav($link1,7,$start,$a,$n); Index: app_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_overview.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** app_overview.php 2001/11/19 16:34:59 1.8 --- app_overview.php 2001/12/31 09:35:55 1.9 *************** *** 25,28 **** --- 25,29 ---- echo "<TABLE CLASS=singe BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; echo " <TH>ID</TH>\n"; *************** *** 34,37 **** --- 35,39 ---- echo order_header("product",$lang['ProductP']); echo "</TR>\n"; + echo "</THEAD>\n"; if ( $start == -1 ) { *************** *** 44,47 **** --- 46,50 ---- } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $f = new appointment($dbconn); *************** *** 88,91 **** --- 91,95 ---- echo "</TR>\n"; } + echo "</TBODY>\n"; ShowBackForwardNav($link1,7,$start,$a,$n); Index: address_tools.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_tools.p3,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -r1.34 -r1.35 *** address_tools.p3 2001/12/18 06:33:15 1.34 --- address_tools.p3 2001/12/31 09:35:55 1.35 *************** *** 196,199 **** --- 196,200 ---- } echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; *************** *** 245,248 **** --- 246,250 ---- } echo "</TR>\n"; + echo "</THEAD>\n"; if ( $atool['start'] == -1 ) { *************** *** 255,258 **** --- 257,261 ---- } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $address = $adr[$a]; *************** *** 429,432 **** --- 432,436 ---- $a++; } + echo "</TBODY>\n"; ShowBackForwardNav($atool['link1'],8,$atool['start'],$a,$n,'astart'); Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_overview.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** bug_overview.php 2001/12/18 09:14:10 1.25 --- bug_overview.php 2001/12/31 09:35:55 1.26 *************** *** 44,47 **** --- 44,48 ---- echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; + echo "<THEAD>\n"; echo "<TR>\n"; echo order_header("","ID"); *************** *** 54,57 **** --- 55,59 ---- echo order_header("",$lang['BugAssignedTo']); echo "</TR>\n"; + echo "</THEAD>\n"; if ( $format == "paper" ) { *************** *** 67,75 **** } while ( ($a < $n) && ($a < $end) ) { $b = $blist[$a]; echo "<TR>\n"; ! $x = $b->getFullName(); if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); --- 69,78 ---- } + echo "<TBODY>\n"; while ( ($a < $n) && ($a < $end) ) { $b = $blist[$a]; echo "<TR>\n"; ! $x = htmlentities($b->getFullName()); if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); *************** *** 84,88 **** } ! $x = $b->short; if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); --- 87,91 ---- } ! $x = htmlentities($b->short); if ( $filter['name'] != "" ) { $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); *************** *** 98,101 **** --- 101,105 ---- $a++; } + echo "</TBODY>\n"; ShowBackForwardNav($link1,8,$start,$a,$n); |
From: Gero K. <gok...@us...> - 2001-12-31 09:29:04
|
Update of /cvsroot/tutos/tutos/homepage In directory usw-pr-cvs1:/tmp/cvs-serv19329/homepage Modified Files: links.html Log Message: fixed link Index: links.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/links.html,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** links.html 2001/11/10 16:47:36 1.11 --- links.html 2001/12/31 09:29:01 1.12 *************** *** 25,29 **** <LI><A HREF=iTIP" rel="nofollow">http://www.imc.org/rfc2446>iTIP rfc2446</A> <LI><A HREF=iMIP" rel="nofollow">http://www.imc.org/rfc2447>iMIP rfc2447</A> ! <LI><A HREF=Calendar" rel="nofollow">http://www.pauahtun.org/CalendarFAQ/cal/calendar23.html>Calendar FAQ</A> </UL> <LI>Webbased Projectmanagement and Calendars<BR> --- 25,29 ---- <LI><A HREF=iTIP" rel="nofollow">http://www.imc.org/rfc2446>iTIP rfc2446</A> <LI><A HREF=iMIP" rel="nofollow">http://www.imc.org/rfc2447>iMIP rfc2447</A> ! <LI><A HREF=Calendar" rel="nofollow">http://www.pauahtun.org/CalendarFAQ/calendar.html>Calendar FAQ</A> </UL> <LI>Webbased Projectmanagement and Calendars<BR> |
From: Sergiusz P. <se...@us...> - 2001-12-31 01:45:11
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv10102 Modified Files: config.pinc Log Message: - Polish timezone added. Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -r1.81 -r1.82 *** config.pinc 2001/12/31 01:43:18 1.81 --- config.pinc 2001/12/31 01:45:08 1.82 *************** *** 293,296 **** --- 293,297 ---- $tutos[timezones][] = "Europe/London"; $tutos[timezones][] = "Europe/Berlin"; + $tutos[timezones][] = "Europe/Warsaw"; $tutos[timezones][] = "Europe/Rome"; $tutos[timezones][] = "Europe/Paris"; |
From: Sergiusz P. <se...@us...> - 2001-12-31 01:43:21
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv9867 Modified Files: config.pinc holiday_pl.pinc Log Message: - Polish holidays activated. Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -r1.80 -r1.81 *** config.pinc 2001/12/18 14:47:48 1.80 --- config.pinc 2001/12/31 01:43:18 1.81 *************** *** 332,335 **** --- 332,336 ---- $tutos[holiday]['RU'] = 1; $tutos[holiday]['KO'] = 1; + $tutos[holiday]['PL'] = 1; $tutos[holiday]['AU'] = 1; # Index: holiday_pl.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/holiday_pl.pinc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** holiday_pl.pinc 2001/11/12 23:22:47 1.2 --- holiday_pl.pinc 2001/12/31 01:43:18 1.3 *************** *** 8,19 **** $tutos[cal][] = array( ! array( Date => "01-01", Desc => "Nowy Rok"), ! array( Date => "01-05", Desc => "¦wiêto Pracy"), ! array( Date => "03-05", Desc => "Konstytucja 3 Maja"), ! array( Date => "15-08", Desc => "Wniebowziêcie NMP"), ! array( Date => "01-11", Desc => "Wszystkich ¦wiêtych"), ! array( Date => "11-11", Desc => "Narodowe ¦wiêto Niepodleg³o¶ci"), ! array( Date => "25-12", Desc => "Bo¿e Narodzenie"), ! array( Date => "26-12", Desc => "Bo¿e Narodzenie") ); ?> --- 8,19 ---- $tutos[cal][] = array( ! array( Date => "01-01", Desc => "Nowy Rok (PL)"), ! array( Date => "01-05", Desc => "¦wiêto Pracy (PL)"), ! array( Date => "03-05", Desc => "Konstytucja 3 Maja (PL)"), ! array( Date => "15-08", Desc => "Wniebowziêcie NMP (PL)"), ! array( Date => "01-11", Desc => "Wszystkich ¦wiêtych (PL)"), ! array( Date => "11-11", Desc => "Narodowe ¦wiêto Niepodleg³o¶ci (PL)"), ! array( Date => "25-12", Desc => "Bo¿e Narodzenie (PL)"), ! array( Date => "26-12", Desc => "Bo¿e Narodzenie (PL)") ); ?> |
From: Gero K. <gok...@us...> - 2001-12-29 10:29:20
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv26934/php Modified Files: department_new.php Log Message: bugfix: typo Index: department_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/department_new.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** department_new.php 2001/12/21 11:54:10 1.15 --- department_new.php 2001/12/29 10:29:18 1.16 *************** *** 48,52 **** if ( $loc != "" ) { echo "<TD COLSPAN=4>". $d->company->getLink() ."</TD>\n"; ! echo "<INPUT type=hidden name=\"c_id\" value=\"". $d->comapany->id ."\">\n"; echo "<INPUT type=hidden name=\"category\" value=\"2\">\n"; echo "<INPUT type=hidden name=\"cploc\" value=\"0\">\n"; --- 48,52 ---- if ( $loc != "" ) { echo "<TD COLSPAN=4>". $d->company->getLink() ."</TD>\n"; ! echo "<INPUT type=hidden name=\"c_id\" value=\"". $d->company->id ."\">\n"; echo "<INPUT type=hidden name=\"category\" value=\"2\">\n"; echo "<INPUT type=hidden name=\"cploc\" value=\"0\">\n"; *************** *** 58,62 **** @reset($d->cl); while ( list ($i,$f) = @each ($d->cl) ) { ! echo " <OPTION VALUE=$i>". $f->name ."</OPTION>\n"; } echo " <OPTION VALUE=-1>None</OPTION>\n"; --- 58,62 ---- @reset($d->cl); while ( list ($i,$f) = @each ($d->cl) ) { ! echo " <OPTION VALUE=". $i .">". htmlentities($f->name) ."</OPTION>\n"; } echo " <OPTION VALUE=-1>None</OPTION>\n"; |
From: Gero K. <gok...@us...> - 2001-12-26 13:04:10
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv19367/php Modified Files: task_overview.php Log Message: fix for massupdate Index: task_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_overview.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** task_overview.php 2001/12/21 12:31:26 1.13 --- task_overview.php 2001/12/26 13:04:07 1.14 *************** *** 160,163 **** --- 160,168 ---- $msg .= $p->getLink() ." ". $lang['TaskState'] ." = ". $lang['TaskStates'][$action] ."<BR>"; $msg .= $p->setState($action); + $msg .= $p->readRes(); + $p->res = array(); + while ( list ($i,$f) = @each ($p->resuselist) ) { + $p->res[] = $i; + } $msg .= $p->save(); } else { |
From: Gero K. <gok...@us...> - 2001-12-26 13:03:08
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv19176/php Modified Files: address_show.php Log Message: Bugfix: permission check for addressbook and company Index: address_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_show.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** address_show.php 2001/12/18 06:33:15 1.24 --- address_show.php 2001/12/26 13:03:06 1.25 *************** *** 183,189 **** echo "<BR>\n"; ! echo menulink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo menulink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; ! echo "</TD></TR>"; --- 183,190 ---- echo "<BR>\n"; ! if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo menulink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; ! } echo "</TD></TR>"; |
From: Gero K. <gok...@us...> - 2001-12-26 13:02:21
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv18996/php Modified Files: app_vote.php Log Message: visual update Index: app_vote.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_vote.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** app_vote.php 2001/12/06 09:43:08 1.5 --- app_vote.php 2001/12/26 13:02:19 1.6 *************** *** 19,25 **** global $lang; - $s_col[0] = "#FFFF00"; - $s_col[1] = "#00BB00"; - $s_col[2] = "#FF0000"; $s_text[0] = $lang['State_0']; $s_text[1] = $lang['State_1']; --- 19,22 ---- *************** *** 27,44 **** echo "<TABLE CLASS=single BORDER=0 CELLSPACING=0>\n"; ! echo "<TH COLSPAN=3>". sprintf($lang['AppVoteHead'], $a->getLink()) ."</TH>\n"; echo "<TR>\n"; ! echo "<TD> <B>". $lang['StartDate'] ."</B> </TD>\n"; ! echo "<TD COLSPAN=2 ALIGN=center>". $a->start->getDateTime() ."</TD>\n"; echo "</TR><TR>\n"; ! echo "<TD> <B>". $lang['EndDate'] ."</B> </TD>\n"; ! echo "<TD COLSPAN=2 ALIGN=center>". $a->end->getDateTime() ."</TD>\n"; echo "</TR><TR>\n"; ! echo "<TD> <B>". $lang['Description'] ."</B> </TD>\n"; ! echo "<TD COLSPAN=2>". $a->descr ."</TD>\n"; echo "</TR><TR>\n"; ! echo "<TD> <B>". $lang['AppVoteState'] ."</B> </TD>\n"; $s = sprintf("state%d",$a->participant_state[$adr_id]); echo "<TD COLSPAN=2 CLASS=\"". $s ."\"><CENTER><B>". $s_text[$a->participant_state[$adr_id]] ."</B></CENTER></TD>\n"; echo "</TR><TR>\n"; echo "<TD COLSPAN=3><CENTER><B>". $lang['AppVoteSelect'] ."</B></CENTER></TD>\n"; --- 24,55 ---- echo "<TABLE CLASS=single BORDER=0 CELLSPACING=0>\n"; ! echo "<TH NOWRAP COLSPAN=3>". sprintf($lang['AppVoteHead'], menulink($a->getUrl(),$a->start->GetDate())) ."</TH>\n"; ! echo "<TR>\n"; ! showfield($lang['StartDate']); ! echo "<TD COLSPAN=2>". $a->start->getDateTime() ."</TD>\n"; ! ! echo "</TR><TR>\n"; ! showfield($lang['EndDate']); ! echo "<TD COLSPAN=2>". $a->end->getDateTime() ."</TD>\n"; ! echo "</TR><TR>\n"; ! showfield($lang['Description']); ! echo "<TD COLSPAN=2>". urlReplace($a->descr) ."</TD>\n"; ! echo "</TR><TR>\n"; ! showfield($lang['Participants']); ! echo " <TD COLSPAN=2>"; ! @reset($a->participant); ! while ( list ($i,$f) = @each ($a->participant) ) { ! echo $f->getLink() ; ! echo "<BR>" ; ! } ! echo "</TR><TR>\n"; ! showfield($lang['AppVoteState']); $s = sprintf("state%d",$a->participant_state[$adr_id]); echo "<TD COLSPAN=2 CLASS=\"". $s ."\"><CENTER><B>". $s_text[$a->participant_state[$adr_id]] ."</B></CENTER></TD>\n"; + echo "</TR><TR>\n"; echo "<TD COLSPAN=3><CENTER><B>". $lang['AppVoteSelect'] ."</B></CENTER></TD>\n"; *************** *** 79,82 **** --- 90,98 ---- echo "<TR><TD>"; + echo menulink("app_select.php" ,$lang['Search'],$lang['SearchForApp']) . "<BR>"; + echo menulink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; + echo menulink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; + + echo "<BR>\n"; if ( $a->id > 0 ) { echo menulink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; |
From: Gero K. <gok...@us...> - 2001-12-26 13:00:54
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv18676/php Modified Files: product_overview.php Log Message: Bugfix: nonexistant dbconn Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** product_overview.php 2001/12/21 12:31:26 1.36 --- product_overview.php 2001/12/26 13:00:52 1.37 *************** *** 513,520 **** $x = 0; while ( list ($i,$r) = @each ($p->role[1]) ) { ! if ( !isset($manager[$r->id]) ) { ! $manager[$r->id] = 0; ! } ! $manager[$r->id]++; } } --- 513,520 ---- $x = 0; while ( list ($i,$r) = @each ($p->role[1]) ) { ! if ( !isset($manager[$r->id]) ) { ! $manager[$r->id] = 0; ! } ! $manager[$r->id]++; } } *************** *** 523,530 **** $x = 0; while ( list ($i,$r) = @each ($p->role[3]) ) { ! if ( !isset($manager[$r->id]) ) { ! $manager[$r->id] = 0; ! } ! $manager[$r->id]++; } } --- 523,530 ---- $x = 0; while ( list ($i,$r) = @each ($p->role[3]) ) { ! if ( !isset($manager[$r->id]) ) { ! $manager[$r->id] = 0; ! } ! $manager[$r->id]++; } } *************** *** 540,547 **** @reset($p->cl[$c]); while ( list ($i,$f) = @each ($p->cl[$c]) ) { ! if ( !isset($cl[$c][$i]) ) { ! $cl[$c][$i] = 0; ! } ! $cl[$c][$i]++; } } --- 540,547 ---- @reset($p->cl[$c]); while ( list ($i,$f) = @each ($p->cl[$c]) ) { ! if ( !isset($cl[$c][$i]) ) { ! $cl[$c][$i] = 0; ! } ! $cl[$c][$i]++; } } *************** *** 674,681 **** $links[$r] = addSessionKey($links[$r]); } ! $m = new tutos_address($p->dbconn); $m->read($i); if ( $m->id == -1 ) { ! $m = new team($p->dbconn); $m->read($i); } --- 674,681 ---- $links[$r] = addSessionKey($links[$r]); } ! $m = new tutos_address($dbconn); $m->read($i); if ( $m->id == -1 ) { ! $m = new team($dbconn); $m->read($i); } *************** *** 818,821 **** --- 818,826 ---- $msg .= $p->getLink() ." ". $lang['ProdState'] ." = ". $lang['ProdStates'][$action] ."<BR>"; $msg .= $p->setState($action); + $msg .= $p->readRes(); + $p->res = array(); + while ( list ($i,$f) = @each ($p->resuselist) ) { + $p->res[] = $i; + } $msg .= $p->save(); } else { |
From: Sergiusz P. <se...@us...> - 2001-12-22 20:22:12
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv4869 Modified Files: pl.p3 Log Message: - updated to full translation. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** pl.p3 2001/12/21 12:31:26 1.29 --- pl.p3 2001/12/22 20:22:09 1.30 *************** *** 150,154 **** $lang['Export'] = "Eksportuj"; $lang['ExportInfo'] = "Eksportuj dane jako plik"; ! $lang['withmarked'] = "with marked %s"; # Appointments --- 150,154 ---- $lang['Export'] = "Eksportuj"; $lang['ExportInfo'] = "Eksportuj dane jako plik"; ! $lang['withmarked'] = "z zaznaczonym %s"; # Appointments *************** *** 232,240 **** $lang['UserLastHost'] = "Ostatni adres internetowy"; $lang['UserAdmin'] = "Admin"; ! $lang['UserUseOverlib'] = "use popups"; $lang['UserLanguage'] = "Jêzyk"; $lang['UserTimezone'] = "Strefa czasowa"; $lang['UserTheme'] = "Temat"; ! $lang['UserHoliday'] = "Holidays"; # Bugs --- 232,240 ---- $lang['UserLastHost'] = "Ostatni adres internetowy"; $lang['UserAdmin'] = "Admin"; ! $lang['UserUseOverlib'] = "U¿yj popups"; $lang['UserLanguage'] = "Jêzyk"; $lang['UserTimezone'] = "Strefa czasowa"; $lang['UserTheme'] = "Temat"; ! $lang['UserHoliday'] = "Wakacje"; # Bugs *************** *** 368,372 **** $lang['ProdStatsTitle'] = "Statystyki produktu/projektu"; $lang['ProdFields'] = "Pola"; ! $lang['ProdSetState'] = "set state to %s"; # Mailboxes --- 368,372 ---- $lang['ProdStatsTitle'] = "Statystyki produktu/projektu"; $lang['ProdFields'] = "Pola"; ! $lang['ProdSetState'] = "ustaw stan na %s"; # Mailboxes *************** *** 404,419 **** $lang['MailboxDelI'] = "Usuñ skrzynkê %s"; $lang['Mail'] = "Wiadomo¶æ"; ! $lang['MailNewFolder'] = "create new folder"; ! $lang['MailDelFolderI'] = "Mailverzeichnis %s löschen"; ! $lang['MailAction'] = "marked mails"; ! $lang['MailActionCopy'] = "copy to %s"; ! $lang['MailActionMove'] = "move to %s"; ! $lang['MailActionDel'] = "delete"; ! $lang['MailActionNil'] = "do nothing"; ! $lang['MailActionGoto'] = "Change to folder:"; ! $lang['MailCountInfo'] = "Found %d mails"; ! $lang['MailCountInfoS'] = "Found %d mails containing '%s'"; ! $lang['MailCountInfo0'] = "Found no mails in folder '%s'"; ! $lang['MailDeleteI'] = "delete this email"; # ACL --- 404,419 ---- $lang['MailboxDelI'] = "Usuñ skrzynkê %s"; $lang['Mail'] = "Wiadomo¶æ"; ! $lang['MailNewFolder'] = "Utwórz nowy folder"; ! $lang['MailDelFolderI'] = "Usuñ folder %s"; ! $lang['MailAction'] = "zaznaczone listy"; ! $lang['MailActionCopy'] = "skopiuj do %s"; ! $lang['MailActionMove'] = "przesuñ do %s"; ! $lang['MailActionDel'] = "usuñ"; ! $lang['MailActionNil'] = "nic nie rób"; ! $lang['MailActionGoto'] = "Zmieñ folder:"; ! $lang['MailCountInfo'] = "Znaleziono %d listów"; ! $lang['MailCountInfoS'] = "Znaleziono %d listów zawieraj±cych '%s'"; ! $lang['MailCountInfo0'] = "Nie znaleziono poczty w folderze '%s'"; ! $lang['MailDeleteI'] = "usuñ ten list"; # ACL *************** *** 464,468 **** $lang['TaskCompleted'] = "Ukoñczone w %3.2f procentach"; $lang['Completed'] = "Ukoñczone"; ! $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm --- 464,468 ---- $lang['TaskCompleted'] = "Ukoñczone w %3.2f procentach"; $lang['Completed'] = "Ukoñczone"; ! $lang['TaskSetState'] = "ustaw stan na %s"; # Gantt Diagramm *************** *** 563,568 **** $lang['NoteLinkInfo'] = "notka z %s"; $lang['NoteSearch'] = "Poszukiwanie notek"; ! $lang['SearchForNote'] = "Search for a note"; ! $lang['SearchForNoteExt'] = "Rozszerzone przeszikiwanie notek"; $lang['NoteSelInfo'] = "(pozostaw puste by zobaczyæ wszystkie notki)"; $lang['NoteRefType'] = "Rodzaj odniesienia"; --- 563,568 ---- $lang['NoteLinkInfo'] = "notka z %s"; $lang['NoteSearch'] = "Poszukiwanie notek"; ! $lang['SearchForNote'] = "Poszukiwanie notki"; ! $lang['SearchForNoteExt'] = "Rozszerzone przeszukiwanie notek"; $lang['NoteSelInfo'] = "(pozostaw puste by zobaczyæ wszystkie notki)"; $lang['NoteRefType'] = "Rodzaj odniesienia"; *************** *** 616,620 **** $lang['Phone'] = "Telefon"; $lang['AdrFax'] = "FAX"; ! $lang['AdrEmail'] = "Email"; $lang['ChangeLocInfo'] = "Zmieñ '%s' adres dla %s"; $lang['DeleteLocInfo'] = "Usuñ '%s' adres dla %s"; --- 616,620 ---- $lang['Phone'] = "Telefon"; $lang['AdrFax'] = "FAX"; ! $lang['AdrEmail'] = "E-mail"; $lang['ChangeLocInfo'] = "Zmieñ '%s' adres dla %s"; $lang['DeleteLocInfo'] = "Usuñ '%s' adres dla %s"; *************** *** 726,738 **** $lang['TimetrackBookedI'] = "ustalony czas dla %s"; $lang['TTStatsTitle'] = "Statystyka czasu"; ! $lang['TTcph'] = "Cost per hour"; ! $lang['TTState'] = "State"; ! $lang['TTStates'][-1] = "no state"; ! $lang['TTStates'][1] = "checked"; ! $lang['TTStates'][2] = "billed"; ! $lang['TTStates'][3] = "payed"; # Invoice ! $lang['Invoice'] = "Invoice"; # Fax --- 726,738 ---- $lang['TimetrackBookedI'] = "ustalony czas dla %s"; $lang['TTStatsTitle'] = "Statystyka czasu"; ! $lang['TTcph'] = "Koszt godzinny"; ! $lang['TTState'] = "Stan"; ! $lang['TTStates'][-1] = "bez stanu"; ! $lang['TTStates'][1] = "sprawdzone"; ! $lang['TTStates'][2] = "wystawiona faktura"; ! $lang['TTStates'][3] = "zap³acone"; # Invoice ! $lang['Invoice'] = "Faktura"; # Fax *************** *** 824,828 **** $lang['perm'][usemail] = "u¿ywanie poczty"; $lang['perm'][useldap] = "u¿ywanie LDAP"; ! $lang['perm'][useurl] = "use URL database"; $lang['FeatureOff'] = "Cecha w ogóle wy³±czona"; --- 824,828 ---- $lang['perm'][usemail] = "u¿ywanie poczty"; $lang['perm'][useldap] = "u¿ywanie LDAP"; ! $lang['perm'][useurl] = "u¿ywanie bazy URL"; $lang['FeatureOff'] = "Cecha w ogóle wy³±czona"; |
From: Gero K. <gok...@us...> - 2001-12-21 12:36:06
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv28207/php Modified Files: mailbox_overview.php mailbox_show.php Log Message: better display of mime encoded stuff in headers Index: mailbox_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox_overview.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** mailbox_overview.php 2001/12/18 06:28:08 1.19 --- mailbox_overview.php 2001/12/21 12:36:03 1.20 *************** *** 131,138 **** if ( isset($hdr->subject) ) { $x = imap_mime_header_decode($hdr->subject); ! if ( $search ) { ! $s = eregi_replace("(". $search .")","<SPAN CLASS=found>\\1</SPAN>",$x[0]->text); ! } else { $s = $x[0]->text; } echo " <TD> ". $s ."</TD>\n"; --- 131,141 ---- if ( isset($hdr->subject) ) { $x = imap_mime_header_decode($hdr->subject); ! if (isset($x[0])) { $s = $x[0]->text; + } else { + $s = ""; + } + if ( $search ) { + $s = eregi_replace("(". $search .")","<SPAN CLASS=found>\\1</SPAN>",$s); } echo " <TD> ". $s ."</TD>\n"; Index: mailbox_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox_show.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** mailbox_show.php 2001/12/18 06:31:25 1.16 --- mailbox_show.php 2001/12/21 12:36:03 1.17 *************** *** 275,279 **** echo $pre; if (isset($val->personal)) { ! echo $val->personal; } $em = $val->mailbox ."@". $val->host; --- 275,280 ---- echo $pre; if (isset($val->personal)) { ! $s = imap_mime_header_decode($val->personal); ! echo $s[0]->text; } $em = $val->mailbox ."@". $val->host; *************** *** 292,296 **** $pre = ""; while (list ($key,$val) = @each ($hdr->cc)) { ! echo $pre ."". $val->personal .""; $em = $val->mailbox ."@". $val->host; echo " <". AsEmail($em, $em) .">" ; --- 293,301 ---- $pre = ""; while (list ($key,$val) = @each ($hdr->cc)) { ! echo $pre; ! if (isset($val->personal)) { ! $s = imap_mime_header_decode($val->personal); ! echo $s[0]->text; ! } $em = $val->mailbox ."@". $val->host; echo " <". AsEmail($em, $em) .">" ; |
From: Gero K. <gok...@us...> - 2001-12-21 12:35:04
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv28036/php Modified Files: address_overview.php Log Message: initialize unused vars Index: address_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_overview.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** address_overview.php 2001/12/18 06:33:15 1.11 --- address_overview.php 2001/12/21 12:35:01 1.12 *************** *** 121,125 **** } } ! if ( isset($name) ) { $name = StripSlashes($name); $atool['search']['name'] = $name; --- 121,125 ---- } } ! if ( isset($name) && ($name != "*") && ($name != "") ) { $name = StripSlashes($name); $atool['search']['name'] = $name; *************** *** 129,133 **** $atool['link1'] = addUrlParameter($atool['link1'],"name=".UrlEncode($name)); } else { ! unset($atool['search']); } --- 129,135 ---- $atool['link1'] = addUrlParameter($atool['link1'],"name=".UrlEncode($name)); } else { ! $atool['search']['name'] = ""; ! $atool['search']['phone'] = ""; ! $atool['search']['email'] = ""; } *************** *** 175,178 **** --- 177,181 ---- $result->free(); $dbconn->Close(); + exit; } } |
From: Gero K. <gok...@us...> - 2001-12-21 12:34:11
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv27914/php Modified Files: timetrack_select.php Log Message: initialize unsused state var Index: timetrack_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** timetrack_select.php 2001/12/18 06:29:36 1.7 --- timetrack_select.php 2001/12/21 12:34:09 1.8 *************** *** 105,108 **** --- 105,110 ---- if ( isset($ttsearchstate) ) { $state = $ttsearchstate; + } else { + $state = -2; } if ( ! isset($ext) ) { |
From: Gero K. <gok...@us...> - 2001-12-21 12:33:26
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv27769/php Modified Files: user.pinc Log Message: force integer usage saving admin flag Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -r1.58 -r1.59 *** user.pinc 2001/12/18 06:36:08 1.58 --- user.pinc 2001/12/21 12:33:23 1.59 *************** *** 596,600 **** $q->addFV("pw",$this->pw,"PASSWORD"); } ! $q->addFV("admin",$this->admin,""); # $q->addFV("last_seen",$this->last_seen,"DATETIME"); $q->addFV("lang",$this->lang,"STRING",5); --- 596,600 ---- $q->addFV("pw",$this->pw,"PASSWORD"); } ! $q->addFV("admin",$this->admin,"INT"); # $q->addFV("last_seen",$this->last_seen,"DATETIME"); $q->addFV("lang",$this->lang,"STRING",5); |
From: Gero K. <gok...@us...> - 2001-12-21 12:32:32
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv27587/php Modified Files: webelements.p3 Log Message: code tutos version into every page Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.94 retrieving revision 1.95 diff -C2 -r1.94 -r1.95 *** webelements.p3 2001/12/18 14:47:48 1.94 --- webelements.p3 2001/12/21 12:32:29 1.95 *************** *** 482,486 **** } echo "</TD>\n"; ! echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left> <A CLASS=nodeco HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } echo " <TD WIDTH=\"50%\" ALIGN=center CLASS=pagetitle>". $text ."</TD>\n"; --- 482,486 ---- } echo "</TD>\n"; ! echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left> <A CLASS=nodeco HREF=\"../html/copyright.html\" TITLE=\"TUTOS ". $tutos[version] ."\">TUTOS</A></TD>\n"; } echo " <TD WIDTH=\"50%\" ALIGN=center CLASS=pagetitle>". $text ."</TD>\n"; *************** *** 1318,1326 **** if ( ereg("Lynx",$HTTP_USER_AGENT) || ereg("w3m",$HTTP_USER_AGENT) ) { ! echo "<A CLASS=nodeco HREF=\"". $l ."\">".$lang['Help'] ."</A><BR>\n"; } else { echo "<A CLASS=nodeco HREF=\"JavaScript: mywindow = window.open('". $l ."', 'help', 'width=600,height=500,top=100,left=100,scrollbars=1'); ! mywindow.location.href = '". $l ."'; mywindow.focus();\" "self.status='". $lang['HelpInfo'] ."' ;return true\">"; echo $tutos[image][help] . $lang['Help']. "</A>\n"; } --- 1318,1326 ---- if ( ereg("Lynx",$HTTP_USER_AGENT) || ereg("w3m",$HTTP_USER_AGENT) ) { ! echo "<A CLASS=nodeco HREF=\"". $l ."\" TITLE=\"". $lang['HelpInfo']."\">".$lang['Help'] ."</A><BR>\n"; } else { echo "<A CLASS=nodeco HREF=\"JavaScript: mywindow = window.open('". $l ."', 'help', 'width=600,height=500,top=100,left=100,scrollbars=1'); ! mywindow.location.href = '". $l ."'; mywindow.focus();\" "self.status='". $lang['HelpInfo'] ."' ;return true\" TITLE=\"". $lang['HelpInfo'] ."\">"; echo $tutos[image][help] . $lang['Help']. "</A>\n"; } |
From: Gero K. <gok...@us...> - 2001-12-21 12:31:30
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv27311/php Modified Files: product_overview.php task_overview.php db.p3 de.p3 en.p3 es-mx.p3 es.p3 fr.p3 it.p3 ko.p3 nl.p3 pl.p3 pt-br.p3 ru.p3 task.pinc tw.p3 zh.p3 Log Message: new: massupdate for projects and tasks Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -r1.35 -r1.36 *** product_overview.php 2001/12/18 14:46:00 1.35 --- product_overview.php 2001/12/21 12:31:26 1.36 *************** *** 9,12 **** --- 9,17 ---- include("bug.pinc"); include("product.pinc"); + include("installation.pinc"); + include("resource.pinc"); + include("note.pinc"); + include("task.pinc"); + include("mailbox.pinc"); /* Check if user is allowed to use it */ *************** *** 16,20 **** * Display table with product/project info */ ! Function info(&$dbconn,&$result,$start = 0) { global $lang,$pshow,$tutos,$current_user,$link1,$format,$filter; --- 21,25 ---- * Display table with product/project info */ ! Function info(&$dbconn,&$result,$start = 0,$hidden) { global $lang,$pshow,$tutos,$current_user,$link1,$format,$filter; *************** *** 60,65 **** } ! ! # DoubleTableStart(1,3); echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; --- 65,84 ---- } ! if ( $pshow['checkbox'] ) { ! echo "<FORM NAME=actionform METHOD=GET ACTION=\"product_overview.php\">\n"; ! hiddenFormElements(); ! echo $hidden; ! echo "<SCRIPT language=\"JavaScript\">\n"; ! echo "<!--\n"; ! echo "function CheckAll2() {\n"; ! echo " for (var i=0; i < document.forms['actionform'].elements.length; i++) {\n"; ! echo " var e = document.forms['actionform'].elements[i];\n"; ! echo " if (e.name != 'checkit')\n"; ! echo " e.checked = document.forms['actionform'].checkit.checked;\n"; ! echo " }\n"; ! echo "}\n"; ! echo "//-->\n"; ! echo "</SCRIPT>\n"; ! } echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; *************** *** 159,164 **** } } } - echo "</TR>\n"; --- 178,189 ---- } } + if ( ($c == "checkbox") && $pshow[$c] ) { + # Column for checkboxes + echo "<TH> "; + echo " <INPUT TYPE=checkbox name=checkit "CheckAll2();\">\n"; + echo " </TH>"; + $flds++; + } } echo "</TR>\n"; *************** *** 198,212 **** echo " <TD VALIGN=top>\n "; # Show all seller roles ! if (isset($p->role[4]) && (count($p->role[4]) > 0) ) { ! @reset ($p->role[4]); ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[4]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } echo " </TD>\n"; } --- 223,237 ---- echo " <TD VALIGN=top>\n "; # Show all seller roles ! if (isset($p->role[4]) && (count($p->role[4]) > 0) ) { ! @reset ($p->role[4]); ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[4]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } echo " </TD>\n"; } *************** *** 214,239 **** echo " <TD VALIGN=top>\n "; # Show all manager roles ! if (isset($p->role[1]) && (count($p->role[1]) > 0) ) { ! @reset ($p->role[1]) ; ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[1]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } # Show all manager 3 roles ! if (isset($p->role[3]) && (count($p->role[3]) > 0) ) { ! @reset ($p->role[3]) ; ! while ( list ($i,$r) = @each ($p->role[3]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } echo " </TD>\n"; } --- 239,264 ---- echo " <TD VALIGN=top>\n "; # Show all manager roles ! if (isset($p->role[1]) && (count($p->role[1]) > 0) ) { ! @reset ($p->role[1]) ; ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[1]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } # Show all manager 3 roles ! if (isset($p->role[3]) && (count($p->role[3]) > 0) ) { ! @reset ($p->role[3]) ; ! while ( list ($i,$r) = @each ($p->role[3]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink($r->getShortname()); ! $x++; ! } ! } echo " </TD>\n"; } *************** *** 241,255 **** if ( ($c == "customer") && $pshow[$c] ) { echo " <TD VALIGN=top>\n "; ! if (isset($p->role[6]) && (count($p->role[6]) > 0) ) { ! @reset ($p->role[6]) ; ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[6]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink(); ! $x++; ! } ! } echo " </TD>\n"; } --- 266,280 ---- if ( ($c == "customer") && $pshow[$c] ) { echo " <TD VALIGN=top>\n "; ! if (isset($p->role[6]) && (count($p->role[6]) > 0) ) { ! @reset ($p->role[6]) ; ! $x = 0; ! while ( list ($i,$r) = @each ($p->role[6]) ) { ! if ( $x > 0 ) { ! echo "<BR>\n "; ! } ! echo $r->getLink(); ! $x++; ! } ! } echo " </TD>\n"; } *************** *** 257,271 **** 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"; } --- 282,296 ---- 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"; } *************** *** 273,287 **** 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"; } --- 298,312 ---- 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"; } *************** *** 289,341 **** 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; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } if ( ($c == "desc1") && $pshow[$c] ) { ! $b = $p->desc1; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } if ( ($c == "desc2") && $pshow[$c] ) { ! $b = $p->desc2; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPANN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } for ( $cl = 1;$cl <= $p->classes; $cl++) { ! if ( ($c == "cl".$cl) && $pshow[$c] ) { ! echo " <TD VALIGN=top>"; ! $sep = ""; ! @reset($p->cl[$cl]); ! while ( list ($i,$f) = @each ($p->cl[$cl]) ) { ! if ( isset ($lang['ProdClasses'.$cl][$f]) ) { ! echo $sep . $lang['ProdClasses'.$cl][$f] ; ! } else { ! echo $sep . $f ; ! } ! $sep = "<BR>\n"; ! } ! echo " </TD>\n"; ! } } if ( ($c == "state") && $pshow[$c] ) { --- 314,366 ---- 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; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } if ( ($c == "desc1") && $pshow[$c] ) { ! $b = $p->desc1; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } if ( ($c == "desc2") && $pshow[$c] ) { ! $b = $p->desc2; ! if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPANN CLASS=found>\\1</SPAN>",$b); ! } echo " <TD VALIGN=top> ". $b ."</TD>\n"; } for ( $cl = 1;$cl <= $p->classes; $cl++) { ! if ( ($c == "cl".$cl) && $pshow[$c] ) { ! echo " <TD VALIGN=top>"; ! $sep = ""; ! @reset($p->cl[$cl]); ! while ( list ($i,$f) = @each ($p->cl[$cl]) ) { ! if ( isset ($lang['ProdClasses'.$cl][$f]) ) { ! echo $sep . $lang['ProdClasses'.$cl][$f] ; ! } else { ! echo $sep . $f ; ! } ! $sep = "<BR>\n"; ! } ! echo " </TD>\n"; ! } } if ( ($c == "state") && $pshow[$c] ) { *************** *** 369,372 **** --- 394,405 ---- } } + # Column for checkboxes + if ( ($c == "checkbox") && $pshow[$c] ) { + if ( $p->mod_ok() ) { + echo "<TD> <INPUT NAME=\"mark[]\" TYPE=checkbox value=\"". $p->id ."\"> </TD>"; + } else { + echo "<TD> - </TD>"; + } + } } echo "</TR>\n"; *************** *** 425,432 **** --- 458,486 ---- } echo "</TR>\n"; + + } + if ( $pshow['checkbox'] ) { + # Mass Update + echo "<TR>\n"; + echo " <TD ALIGN=right COLSPAN=". ( $flds -1 ) .">\n"; + echo sprintf($lang['withmarked'],$lang['ProductPs']); + echo "<SELECT NAME=action>\n"; + echo " <OPTION VALUE=\"-1\" SELECTED>". $lang['MailActionNil'] ."</OPTION>\n"; + echo " <OPTION VALUE=\"-2\">". $lang['Delete'] ."</OPTION>\n"; + $ar = array (0,4,5,1,2,3); + while ( list ($f,$i) = @each ($ar) ) { + echo " <OPTION VALUE=\"". $i ."\">". sprintf($lang['ProdSetState'],$lang['ProdStates'][$i]) ."</OPTION>\n"; + } + echo "</SELECT>\n"; + echo " </TD>\n"; + echo " <TD COLSPAN=1><INPUT type=submit value=OK></TD>\n"; + echo "</TR>\n"; } # DoubleTableEnd(); echo "</TABLE>\n"; + if ( $pshow['checkbox'] ) { + echo "</FORM>\n"; + } } *************** *** 699,702 **** --- 753,759 ---- continue; } + if ( $flds[$c] == '' ) { + continue; + } echo "<TR><TD NOWRAP>\n"; echo " <INPUT TYPE=checkbox name=ps[] ". $schecked[$c] ." value=\"". $c ."\"> ". $lang[$flds[$c]] ."\n"; *************** *** 727,731 **** } ! $p = new product($dbconn); --- 784,830 ---- } ! if ( !isset($msg) ) { ! $msg = ""; ! } ! # Perform possible actions ! if ( isset($action) && ($action != -1) ) { ! @reset($mark); ! if ( $action == -2 ) { ! $dbconn->Begin("WORK"); ! while (list ($key,$val) = @each ($mark)) { ! $p = new product($dbconn); ! $p->read($val); ! if ( $p->id != $val ) { ! continue; ! } ! if ( $p->del_ok() ) { ! $msg .= sprintf($lang['ProdDelInfo'], $p->getFullName()) ."<BR>"; ! $msg .= $p->delete(); ! } else { ! $msg .= $p->getLink() .": ". sprintf($lang['Err0023'],$lang[$p->getType()]); ! } ! unset($p); ! } ! $dbconn->Commit("WORK"); ! } else { ! $dbconn->Begin("WORK"); ! while (list ($key,$val) = @each ($mark)) { ! $p = new product($dbconn); ! $p->read($val); ! if ( $p->id != $val ) { ! continue; ! } ! if ( $p->mod_ok() ) { ! $msg .= $p->getLink() ." ". $lang['ProdState'] ." = ". $lang['ProdStates'][$action] ."<BR>"; ! $msg .= $p->setState($action); ! $msg .= $p->save(); ! } else { ! $msg .= $p->getLink() .": ". sprintf($lang['Err0024'],$lang[$p->getType()]); ! } ! unset ($p); ! } ! $dbconn->Commit("WORK"); ! } ! } $p = new product($dbconn); *************** *** 764,767 **** --- 863,868 ---- $flds['cl'.$cl] = 'ProdClass'.$cl; } + $flds['checkbox'] = ''; + $tutos[prodfields][] = 'checkbox'; @reset($tutos[prodfields]); *************** *** 770,774 **** } - $q = "SELECT * FROM products"; $pre = " WHERE "; --- 871,874 ---- *************** *** 994,997 **** --- 1094,1101 ---- } + if ( $tutos[massupdate] == 1 ) { + $pshow['checkbox'] = 1; + } + if ( ! isset($start) ) { $start = 0; *************** *** 1006,1009 **** --- 1110,1114 ---- Header("Location: ". addSessionKey("product_show.php?id=".$p->id)); + $result->free(); $dbconn->Close(); exit; *************** *** 1011,1014 **** --- 1116,1120 ---- HTML_Header($lang['ProductsOverview']); } else if ( $format == "paper" ) { + $pshow['checkbox'] = 0; Printable_Header($lang['ProductsOverview']); $qarg .= "&format=".$format; *************** *** 1033,1037 **** $format = ""; } else { ! info($dbconn,$result,$start); } if ( $format == "" ) { --- 1139,1143 ---- $format = ""; } else { ! info($dbconn,$result,$start,$hidden); } if ( $format == "" ) { Index: task_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_overview.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** task_overview.php 2001/12/18 14:47:48 1.12 --- task_overview.php 2001/12/21 12:31:26 1.13 *************** *** 11,14 **** --- 11,15 ---- include("timetrack.pinc"); include("bug.pinc"); + include("resource.pinc"); /* Check if user is allowed to use it */ *************** *** 19,29 **** */ Function info(&$parent) { ! global $lang ; task_calc($parent); 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"; --- 20,47 ---- */ Function info(&$parent) { ! global $lang , $tutos; task_calc($parent); + if ( $tutos[massupdate] == 1 ) { + echo "<FORM NAME=actionform METHOD=POST ACTION=\"task_overview.php\">\n"; + echo "<INPUT TYPE=hidden NAME=id VALUE=\"". $parent->id ."\">"; + hiddenFormElements(); + echo "<SCRIPT language=\"JavaScript\">\n"; + echo "<!--\n"; + echo "function CheckAll2() {\n"; + echo " for (var i=0; i < document.forms['actionform'].elements.length; i++) {\n"; + echo " var e = document.forms['actionform'].elements[i];\n"; + echo " if (e.name != 'checkit')\n"; + echo " e.checked = document.forms['actionform'].checkit.checked;\n"; + echo " }\n"; + echo "}\n"; + echo "//-->\n"; + echo "</SCRIPT>\n"; + } DoubleTableStart(1,0); + $cols = 9; echo " <TR>\n"; ! echo " <TH COLSPAN=". $cols ." WIDTH=\"100%\">". $lang['TaskOverview'] ." ". $lang['forphrase'] ." " . menulink($parent->getURL(),$parent->getFullName()) ."</TH>\n"; echo " </TR>\n"; echo " <TR>\n"; *************** *** 36,43 **** } else { $c = 0.0; } - echo " <TD COLSPAN=1 ROWSPAN=2 ALIGN=right CLASS=desc> ". $lang['Completed'] .": </TD>\n"; - echo " <TD COLSPAN=2 ROWSPAN=2 NOWRAP> <FONT SIZE=\"+2\">". sprintf("%3.2f",$c) ." %</FONT></TD>\n"; echo " </TR>\n"; echo " <TR>\n"; echo " <TD COLSPAN=2 CLASS=desc NOWRAP> ". $lang['TaskVolumeDone'] ." </TD>\n"; --- 54,67 ---- } else { $c = 0.0; + } + echo " <TD COLSPAN=2 ROWSPAN=2 ALIGN=right CLASS=desc> ". $lang['Completed'] .": <FONT SIZE=\"+2\">". sprintf("%3.2f",$c) ." %</FONT></TD>\n"; + if ( $tutos[massupdate] == 1 ) { + # Checkbox column for massupdate + echo " <TH ROWSPAN=2 NOWRAP><INPUT TYPE=checkbox name=checkit "CheckAll2();\"></TH>\n"; + } else { + echo " <TD ROWSPAN=2 NOWRAP> </TD>\n"; } echo " </TR>\n"; + echo " <TR>\n"; echo " <TD COLSPAN=2 CLASS=desc NOWRAP> ". $lang['TaskVolumeDone'] ." </TD>\n"; *************** *** 50,53 **** --- 74,81 ---- echo "<TD COLSPAN=2><IMG WIDTH=202 HEIGHT=1 SRC=\"../html/black.png\"></TD>"; echo "<TD COLSPAN=2></TD>"; + if ( $tutos[massupdate] == 1 ) { + # Checkbox column for massupdate + echo " <TD COLSPAN=1 NOWRAP></TD>\n"; + } echo "</TR>"; if ( $parent->getType() == "task" ) { *************** *** 60,65 **** } } ! echo "</TABLE>\n"; ! echo "</TD></TR></TABLE>\n"; } /* --------------------------------------------------------------------------- --- 88,111 ---- } } ! if ( $tutos[massupdate] == 1 ) { ! echo "<TR>"; ! echo " <TD ALIGN=right COLSPAN=". ( $cols -1 ) .">\n"; ! echo sprintf($lang['withmarked'],$lang['Tasks']); ! echo "<SELECT NAME=action>\n"; ! echo " <OPTION VALUE=\"-1\" SELECTED>". $lang['MailActionNil'] ."</OPTION>\n"; ! echo " <OPTION VALUE=\"-2\">". $lang['Delete'] ."</OPTION>\n"; ! @reset($lang['TaskStates']); ! while ( list ($f,$i) = @each ($lang['TaskStates']) ) { ! echo " <OPTION VALUE=\"". $f ."\">". sprintf($lang['ProdSetState'],$lang['TaskStates'][$f]) ."\n"; ! } ! echo "</SELECT>\n"; ! echo " </TD>\n"; ! echo " <TD COLSPAN=1><INPUT type=submit value=OK></TD>\n"; ! echo "</TR>"; ! } ! DoubleTableEnd(1,0); ! if ( $tutos[massupdate] == 1 ) { ! echo "</FORM>"; ! } } /* --------------------------------------------------------------------------- *************** *** 77,94 **** HTML_Header($lang['TaskOverview']); if ( isset($id) ) { $obj = GetObject($dbconn,$id); ! $msg = ""; } else { $msg .= $lang['Err0048']; } - HTML_Base1(); navigate($obj); HTML_Base2($msg); ! if ( $msg == "" ) { info($obj); } --- 123,187 ---- + if ( !isset($msg) ) { + $msg = ""; + } + + + # Perform some action + if ( isset($action) && ($action != -1) ) { + @reset($mark); + if ( $action == -2 ) { + $dbconn->Begin("WORK"); + while (list ($key,$val) = @each ($mark)) { + $p = new task($dbconn); + $p->read($val); + if ( $p->id != $val ) { + $msg .= "Unknown TASK ". $val ."<BR>\n"; + continue; + } + if ( $p->del_ok() ) { + $msg .= sprintf($lang['TaskDelete'], $p->getFullName()) ."<BR>"; + $msg .= $p->delete(); + } else { + $msg .= $p->getLink() .": ". sprintf($lang['Err0023'],$lang[$p->getType()]); + } + unset($p); + } + $dbconn->Commit("WORK"); + } else { + $dbconn->Begin("WORK"); + while (list ($key,$val) = @each ($mark)) { + $p = new task($dbconn); + $p->read($val); + if ( $p->id != $val ) { + continue; + } + if ( $p->mod_ok() ) { + $msg .= $p->getLink() ." ". $lang['TaskState'] ." = ". $lang['TaskStates'][$action] ."<BR>"; + $msg .= $p->setState($action); + $msg .= $p->save(); + } else { + $msg .= $p->getLink() .": ". sprintf($lang['Err0024'],$lang[$p->getType()]); + } + unset ($p); + } + $dbconn->Commit("WORK"); + } + } + HTML_Header($lang['TaskOverview']); if ( isset($id) ) { $obj = GetObject($dbconn,$id); ! $stop = 0; } else { $msg .= $lang['Err0048']; + $stop = 1; } HTML_Base1(); navigate($obj); HTML_Base2($msg); ! if ( $stop != 1 ) { info($obj); } Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** db.p3 2001/12/18 12:20:20 1.55 --- db.p3 2001/12/21 12:31:26 1.56 *************** *** 86,89 **** --- 86,90 ---- define (rolecheck,79); define (oldcallayout,80); + define (massupdate,81); # Permissions (see also user.pinc) *************** *** 224,227 **** --- 225,230 ---- } else if ( $type == "FLOAT" ) { $this->flds[$fld] = sprintf("%f",$val); + } else if ( $type == "INT" ) { + $this->flds[$fld] = sprintf("%d",$val); } else { $this->flds[$fld] = $val; Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -r1.78 -r1.79 *** de.p3 2001/12/18 06:28:07 1.78 --- de.p3 2001/12/21 12:31:26 1.79 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Exportieren"; $lang['ExportInfo'] = "Daten als Datei exportieren"; + $lang['withmarked'] = "markierte %s"; # Appointments *************** *** 285,290 **** --- 286,294 ---- # Product/Projects $lang['ProductP'] = "Produkt/Projekt"; + $lang['ProductPs'] = "Produkte/Projekte"; $lang['Product'] = "Produkt"; + $lang['Products'] = "Produkte"; $lang['Project'] = "Projekt"; + $lang['Projects'] = "Projete"; $lang['ProductsSearch'] = "Produkt- & Projektsuche"; $lang['ProductsOverview']= "Produkt- & Projektübersicht"; *************** *** 358,361 **** --- 362,366 ---- $lang['ProdStatsTitle'] = "Produkt-/Projektstatistik"; $lang['ProdFields'] = "Felder"; + $lang['ProdSetState'] = "Status auf %s setzen"; # Mailboxes *************** *** 453,456 **** --- 458,462 ---- $lang['TaskCompleted'] = "%3.2f %% abgeschlossen"; $lang['Completed'] = "Abgeschlossen"; + $lang['TaskSetState'] = "Status auf %s setzen"; # Gantt Diagramm Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -r1.71 -r1.72 *** en.p3 2001/12/18 06:28:07 1.71 --- en.p3 2001/12/21 12:31:26 1.72 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 285,290 **** --- 286,294 ---- # Product/Projects $lang['ProductP'] = "Product/Project"; + $lang['ProductPs'] = "Products/Projects"; $lang['Product'] = "Product"; + $lang['Products'] = "Products"; $lang['Project'] = "Project"; + $lang['Projects'] = "Projects"; $lang['ProductsSearch'] = "Products/Projects Search"; $lang['ProductsOverview']= "Products/Projects Overview"; *************** *** 358,361 **** --- 362,366 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 453,456 **** --- 458,462 ---- $lang['TaskCompleted'] = "Completed %3.2f percent"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: es-mx.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es-mx.p3,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** es-mx.p3 2001/12/18 06:28:08 1.6 --- es-mx.p3 2001/12/21 12:31:26 1.7 *************** *** 146,149 **** --- 146,150 ---- $lang['Export'] = "Exportar"; $lang['ExportInfo'] = "Export datos en archivo"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 287,292 **** --- 288,296 ---- # Product/Projects $lang['ProductP'] = "Producto/Proyecto"; + $lang['ProductPs'] = "Productos/Proyectos"; $lang['Product'] = "Producto"; + $lang['Products'] = "Productos"; $lang['Project'] = "proyecto"; + $lang['Projects'] = "proyectos"; $lang['ProductsSearch'] = "Buscar productos/proyectos"; $lang['ProductsOverview']= "Vision general de producto/proyecto"; *************** *** 360,363 **** --- 364,368 ---- $lang['ProdStatsTitle'] = "Estadísticas de Producto/Projecto"; $lang['ProdFields'] = "Campos"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 455,458 **** --- 460,464 ---- $lang['TaskCompleted'] = "Completado %3.2f porciento"; $lang['Completed'] = "Completado"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** es.p3 2001/12/18 06:28:08 1.55 --- es.p3 2001/12/21 12:31:26 1.56 *************** *** 146,149 **** --- 146,150 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 287,292 **** --- 288,296 ---- # Product/Projects $lang['ProductP'] = "Producto/Proyecto"; + $lang['ProductPs'] = "Productos/Proyectos"; $lang['Product'] = "Producto"; + $lang['Products'] = "Productos"; $lang['Project'] = "proyecto"; + $lang['Projects'] = "proyectos"; $lang['ProductsSearch'] = "Buscar productos/proyectos"; $lang['ProductsOverview']= "Vision general de producto/proyecto"; *************** *** 360,363 **** --- 364,368 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 455,458 **** --- 460,464 ---- $lang['TaskCompleted'] = "Completato %3.2f porciento"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** fr.p3 2001/12/18 06:28:08 1.55 --- fr.p3 2001/12/21 12:31:26 1.56 *************** *** 146,149 **** --- 146,150 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 287,292 **** --- 288,296 ---- # Product/Projects $lang['ProductP'] = "Produit/Projet"; + $lang['ProductPs'] = "Produits/Projets"; $lang['Product'] = "Produit"; + $lang['Products'] = "Produits"; $lang['Project'] = "Projet"; + $lang['Projects'] = "Projets"; $lang['ProductsSearch'] = "Recherche Produits/Projets"; $lang['ProductsOverview']= "Aperçu Produits/Projets"; *************** *** 360,363 **** --- 364,368 ---- $lang['ProdStatsTitle'] = "Statistiques Produit/Projet"; $lang['ProdFields'] = "Champs"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 455,458 **** --- 460,464 ---- $lang['TaskCompleted'] = "Completee a %3.2f pourcent"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -r1.63 -r1.64 *** it.p3 2001/12/18 06:28:08 1.63 --- it.p3 2001/12/21 12:31:26 1.64 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Esporta"; $lang['ExportInfo'] = "Esporta i dati come file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 285,290 **** --- 286,294 ---- # Product/Projects $lang['ProductP'] = "Prodotto/Progetto"; + $lang['ProductPs'] = "Prodotti/Progetti"; $lang['Product'] = "Prodotto"; + $lang['Products'] = "Prodotti"; $lang['Project'] = "Progetto"; + $lang['Projects'] = "Progetti"; $lang['ProductsSearch'] = "Ricerca di Progetto/Prodotto"; $lang['ProductsOverview']= "Overview del Progetto/Prodotto"; *************** *** 358,361 **** --- 362,366 ---- $lang['ProdStatsTitle'] = "Statistiche del Prodotto/Progetto"; $lang['ProdFields'] = "Campi"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 453,456 **** --- 458,462 ---- $lang['TaskCompleted'] = "Completato il %3.2f percento"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** ko.p3 2001/12/18 06:28:08 1.29 --- ko.p3 2001/12/21 12:31:26 1.30 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 285,290 **** --- 286,294 ---- # Product/Projects $lang['ProductP'] = "Product/Project"; + $lang['ProductPs'] = "Products/Projects"; $lang['Product'] = "Product"; + $lang['Products'] = "Products"; $lang['Project'] = "Project"; + $lang['Projects'] = "Projects"; $lang['ProductsSearch'] = "Products/Projects °Ë»ö"; $lang['ProductsOverview']= "Products/Projects Àüüº¸±â"; *************** *** 358,361 **** --- 362,366 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields(Ãß°¡°¡´É)"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 453,456 **** --- 458,462 ---- $lang['TaskCompleted'] = "Completed %3.2f percent"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** nl.p3 2001/12/18 06:28:08 1.23 --- nl.p3 2001/12/21 12:31:26 1.24 *************** *** 146,149 **** --- 146,150 ---- $lang['Export'] = "Exporteer"; $lang['ExportInfo'] = "Exporteer data als bestand"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 287,292 **** --- 288,296 ---- # Product/Projects $lang['ProductP'] = "Opdracht/Project"; + $lang['ProductPs'] = "Opdrachten/Projecten"; $lang['Product'] = "Opdracht"; + $lang['Products'] = "Opdrachten"; $lang['Project'] = "Project"; + $lang['Projects'] = "Projecten"; $lang['ProductsSearch'] = "Opdrachten/Projecten Zoeken"; $lang['ProductsOverview']= "Opdrachten/Projecten Overzicht"; *************** *** 360,363 **** --- 364,368 ---- $lang['ProdStatsTitle'] = "Opdracht/Project Statistieken"; $lang['ProdFields'] = "Velden"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 455,458 **** --- 460,464 ---- $lang['TaskCompleted'] = " %3.2f procent gereed"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** pl.p3 2001/12/18 06:28:08 1.28 --- pl.p3 2001/12/21 12:31:26 1.29 *************** *** 150,153 **** --- 150,154 ---- $lang['Export'] = "Eksportuj"; $lang['ExportInfo'] = "Eksportuj dane jako plik"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 290,296 **** # Product/Projects ! $lang['ProductP'] = "Produkty/projekty"; $lang['Product'] = "Produkt"; $lang['Project'] = "Projekt"; $lang['ProductsSearch'] = "Przeszukiwanie produktów/projektów"; $lang['ProductsOverview']= "Przegl±d produktów/projektów"; --- 291,300 ---- # Product/Projects ! $lang['ProductP'] = "Produkt/projekt"; ! $lang['ProductPs'] = "Produkty/projekty"; $lang['Product'] = "Produkt"; + $lang['Products'] = "Produkty"; $lang['Project'] = "Projekt"; + $lang['Projects'] = "Projekty"; $lang['ProductsSearch'] = "Przeszukiwanie produktów/projektów"; $lang['ProductsOverview']= "Przegl±d produktów/projektów"; *************** *** 364,367 **** --- 368,372 ---- $lang['ProdStatsTitle'] = "Statystyki produktu/projektu"; $lang['ProdFields'] = "Pola"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 459,462 **** --- 464,468 ---- $lang['TaskCompleted'] = "Ukoñczone w %3.2f procentach"; $lang['Completed'] = "Ukoñczone"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** pt-br.p3 2001/12/18 06:28:08 1.42 --- pt-br.p3 2001/12/21 12:31:26 1.43 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 286,291 **** --- 287,295 ---- # Product/Projects $lang['ProductP'] = "Produto/Projeto"; + $lang['ProductPs'] = "Produtos/Projetos"; $lang['Product'] = "Produto"; + $lang['Products'] = "Produtos"; $lang['Project'] = "Projeto"; + $lang['Projects'] = "Projetos"; $lang['ProductsSearch'] = "Busca de Produtos/Projetos"; $lang['ProductsOverview']= "Resumo de Produtos/Projetos"; *************** *** 350,354 **** $lang['ProdModifyT'] = "Modificar este Produto / Projeto"; $lang['ProdCreateT'] = "Criar um novo Produto / Projeto"; ! $lang['ProdSelInfo'] = "(deixe em branco para ver todos os produtos/projeto)"; $lang['ProdLinkInfo'] = "Ver Produto/Projeto %s"; $lang['ProdBetween'] = "criado entre"; --- 354,358 ---- $lang['ProdModifyT'] = "Modificar este Produto / Projeto"; $lang['ProdCreateT'] = "Criar um novo Produto / Projeto"; ! $lang['ProdSelInfo'] = "(deixe em branco para ver todos os produtos/projetos)"; $lang['ProdLinkInfo'] = "Ver Produto/Projeto %s"; $lang['ProdBetween'] = "criado entre"; *************** *** 359,362 **** --- 363,367 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 455,458 **** --- 460,464 ---- $lang['TaskCompleted'] = "Completado %3.2f porcento"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -r1.49 -r1.50 *** ru.p3 2001/12/18 06:28:08 1.49 --- ru.p3 2001/12/21 12:31:26 1.50 *************** *** 144,147 **** --- 144,148 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 285,290 **** # Product/Projects $lang['ProductP'] = "ðÒÏÄÕËÔ/ðÒÏÅËÔ"; $lang['Product'] = "ðÒÏÄÕËÔ"; ! $lang['Project'] = "ðÒÏÅËÔProject"; $lang['ProductsSearch'] = "ðÒÏÄÕËÔÙ/ðÒÏÅËÔÙ ðÏÉÓË"; $lang['ProductsOverview']= "ðÒÏÄÕËÔÙ/ðÒÏÅËÔÙ ïÂÚÏÒ"; --- 286,294 ---- # Product/Projects $lang['ProductP'] = "ðÒÏÄÕËÔ/ðÒÏÅËÔ"; + $lang['ProductPs'] = "ðÒÏÄÕËÔÙ/ðÒÏÅËÔÙ"; $lang['Product'] = "ðÒÏÄÕËÔ"; ! $lang['Products'] = "ðÒÏÄÕËÔÙ"; ! $lang['Project'] = "ðÒÏÅËÔ"; ! $lang['Projects'] = "ðÒÏÅËÔÙ"; $lang['ProductsSearch'] = "ðÒÏÄÕËÔÙ/ðÒÏÅËÔÙ ðÏÉÓË"; $lang['ProductsOverview']= "ðÒÏÄÕËÔÙ/ðÒÏÅËÔÙ ïÂÚÏÒ"; *************** *** 358,361 **** --- 362,366 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 453,456 **** --- 458,462 ---- $lang['TaskCompleted'] = "÷ÙÐÏÌÎÅÎÏ ÎÁ %3.2f ÐÒÏÃÅÎÔÁ"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** task.pinc 2001/12/12 12:29:38 1.52 --- task.pinc 2001/12/21 12:31:27 1.53 *************** *** 645,649 **** */ function printRow ($depth,&$parent) { ! global $lang; if ( ($parent->getType() == "address")||($parent->getType() == "team") ) { --- 645,649 ---- */ function printRow ($depth,&$parent) { ! global $lang,$tutos; if ( ($parent->getType() == "address")||($parent->getType() == "team") ) { *************** *** 741,752 **** echo " </TD>\n"; echo " <TD> "; ! if ( $this->del_ok() ) { ! echo confirmlink("task_del.php?id=".$this->id,$lang['Delete'],sprintf($lang['TaskDelete'],$this->name)); } else { ! echo $lang['Delete']; ! } ! echo " </TD>\n"; ! echo " </TR>\n"; --- 741,761 ---- echo " </TD>\n"; + echo " <TD> "; ! if ( $tutos[massupdate] == 1 ) { ! # Checkbox column for massupdate ! if ( $this->mod_ok() ) { ! echo "<INPUT NAME=\"mark[]\" TYPE=checkbox value=\"". $this->id ."\">"; ! } else { ! echo "-"; ! } } else { ! if ( $this->del_ok() ) { ! echo confirmlink("task_del.php?id=".$this->id,$lang['Delete'],sprintf($lang['TaskDelete'],$this->name)); ! } else { ! echo $lang['Delete']; ! } ! } ! echo " </TD>\n"; echo " </TR>\n"; Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -r1.49 -r1.50 *** tw.p3 2001/12/18 06:28:08 1.49 --- tw.p3 2001/12/21 12:31:27 1.50 *************** *** 148,151 **** --- 148,152 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 289,294 **** --- 290,298 ---- # Product/Projects $lang['ProductP'] = "²£«~/p¹º"; + $lang['ProductPs'] = "²£«~/p¹º"; $lang['Product'] = "²£«~"; + $lang['Products'] = "²£«~"; $lang['Project'] = "p¹º"; + $lang['Projects'] = "p¹º"; $lang['ProductsSearch'] = "·j´M²£«~/p¹º"; $lang['ProductsOverview']= "²£«~/p¹º·§Æ["; *************** *** 362,365 **** --- 366,370 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 457,460 **** --- 462,466 ---- $lang['TaskCompleted'] = "§¹¦¨ %3.2f ¤Ú¥P"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -r1.49 -r1.50 *** zh.p3 2001/12/18 06:28:08 1.49 --- zh.p3 2001/12/21 12:31:27 1.50 *************** *** 148,151 **** --- 148,152 ---- $lang['Export'] = "Export"; $lang['ExportInfo'] = "Export data as file"; + $lang['withmarked'] = "with marked %s"; # Appointments *************** *** 289,294 **** --- 290,298 ---- # Product/Projects $lang['ProductP'] = "²úÆ·/¼Æ»®"; + $lang['ProductPs'] = "²úÆ·/¼Æ»®"; $lang['Product'] = "²úÆ·"; + $lang['Products'] = "²úÆ·"; $lang['Project'] = "¼Æ»®"; + $lang['Projects'] = "¼Æ»®"; $lang['ProductsSearch'] = "ËÑѰ²úÆ·/¼Æ»®"; $lang['ProductsOverview']= "²úÆ·/¼Æ»®¸Å¹Û"; *************** *** 362,365 **** --- 366,370 ---- $lang['ProdStatsTitle'] = "Product/Project Statistics"; $lang['ProdFields'] = "Fields"; + $lang['ProdSetState'] = "set state to %s"; # Mailboxes *************** *** 457,460 **** --- 462,466 ---- $lang['TaskCompleted'] = "Íê³É %3.2f °ÍÏÉ"; $lang['Completed'] = "Completed"; + $lang['TaskSetState'] = "set state to %s"; # Gantt Diagramm |