tutos-commits Mailing List for TUTOS (Page 457)
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Boris W. <bw...@us...> - 2001-08-27 15:58:56
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv22464 Modified Files: message_overview.php Added Files: message_del.php Log Message: Adding the possibility to flush the messages table --- NEW FILE: message_del.php --- <? /* Copyright 2001 Boris Wesslowski */ include("webelements.p3"); include("permission.p3"); check_user(); $gotourl = "admin_show.php"; if ( $current_user->admin == 0) { Header("Status: 302 Moved Temporarily"); Header("Location: ". $gotourl); return; } $query = "DELETE FROM messages"; $result = @DB_Exec($conn,$query); Header("Status: 302 Moved Temporarily"); Header("Location: ". $gotourl); DB_Close($conn); ?> Index: message_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/message_overview.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** message_overview.php 2001/08/27 14:38:56 1.1 --- message_overview.php 2001/08/27 15:58:53 1.2 *************** *** 45,48 **** --- 45,49 ---- echo "<TABLE>"; echo "<TR><TD>"; + echo menulink("message_del.php","Delete messages","Delete all messages"); echo "</TD></TR>"; |
From: Gero K. <gok...@us...> - 2001-08-27 15:26:39
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv11018 Modified Files: graph_bars.php Log Message: fixed some warnings Index: graph_bars.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/graph_bars.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** graph_bars.php 2001/08/27 09:14:32 1.5 --- graph_bars.php 2001/08/27 15:26:35 1.6 *************** *** 11,14 **** --- 11,19 ---- include "permission.p3"; + define (red,1); + define (green,2); + define (blue,3); + define (yellow,4); + check_user(); *************** *** 28,47 **** $png = ImageCreate( $x2 , 130); } ! define (red,1); ! define (green,2); ! define (blue,3); ! define (yellow,4); ! ! $c[white] = ImageColorAllocate($png,255,255,255); ! $c[black] = ImageColorAllocate($png,0,0,0); $c[red] = ImageColorAllocate($png,255,0,0); $c[green] = ImageColorAllocate($png,0,255,0); $c[blue] = ImageColorAllocate($png,0,0,255); $c[yellow]= ImageColorAllocate($png,255,255,0); - $c[def] = ImageColorAllocate($png,125,125,125); ! ImageLine($png,5,115,$x2 - 5,115,$c[black]); ! ImageDashedLine($png,5,65,$x2 - 5,65,$c[black]); ! ImageLine($png,5,15,$x2 - 5,15,$c[black]); --- 33,48 ---- $png = ImageCreate( $x2 , 130); } ! $c['black'] = ImageColorAllocate($png,0,0,0); ! $c['white'] = ImageColorAllocate($png,255,255,255); ! $c['def'] = ImageColorAllocate($png,125,125,125); $c[red] = ImageColorAllocate($png,255,0,0); $c[green] = ImageColorAllocate($png,0,255,0); $c[blue] = ImageColorAllocate($png,0,0,255); $c[yellow]= ImageColorAllocate($png,255,255,0); ! ImageFill($png,0,0,$c['white']); ! ImageLine($png,5,115,$x2 - 5,115,$c['black']); ! ImageDashedLine($png,5,65,$x2 - 5,65,$c['black']); ! ImageLine($png,5,15,$x2 - 5,15,$c['black']); *************** *** 53,68 **** $col = 1; } ! if ( $c[$col[$i]] == "" ) { ! $cc = $c[def]; ! $cc = $c[$col]; ! $col++; } else { ! $cc = $c[$col[$i]]; } # Shadow ! ImageFilledRectangle($png,$x + 13 ,112 - $val ,$x + 103,112,$c[black]); ! ImageFilledRectangle($png,$x + 12 ,113 - $val ,$x + 102,113,$c[black]); ! ImageFilledRectangle($png,$x + 11 ,114 - $val ,$x + 101,114,$c[black]); # Bar ImageFilledRectangle($png,$x + 10 ,115 - $val ,$x + 100,115,$cc); --- 54,68 ---- $col = 1; } ! if ( $c[$col] == "" ) { ! $cc = $c['def']; } else { ! $cc = $c[$col]; } + $col++; # Shadow ! ImageFilledRectangle($png,$x + 13 ,112 - $val ,$x + 103,112,$c['black']); ! ImageFilledRectangle($png,$x + 12 ,113 - $val ,$x + 102,113,$c['black']); ! ImageFilledRectangle($png,$x + 11 ,114 - $val ,$x + 101,114,$c['black']); # Bar ImageFilledRectangle($png,$x + 10 ,115 - $val ,$x + 100,115,$cc); *************** *** 70,86 **** # Label if ( isset($t0[$i]) ) { ! ImageString($png, 3 ,$x + 10,117,$t0[$i] ,$c[black]); } else { ! ImageString($png, 3 ,$x + 10,117,$i ,$c[black]); } # Addtional Text if ( isset($t1[$i]) ) { ! ImageString($png, 3 ,$x + 10,127,$t1[$i],$c[black]); } # Value if ( $val > 90 ) { ! ImageString($png, 3 ,$x + 13,115 - $val,$val ."%",$c[white]); } else { ! ImageString($png, 3 ,$x + 13,98 - $val,$val ."%",$c[black]); } $x += 110; --- 70,86 ---- # Label if ( isset($t0[$i]) ) { ! ImageString($png, 3 ,$x + 10,117,$t0[$i] ,$c['black']); } else { ! ImageString($png, 3 ,$x + 10,117,$i ,$c['black']); } # Addtional Text if ( isset($t1[$i]) ) { ! ImageString($png, 3 ,$x + 10,127,$t1[$i],$c['black']); } # Value if ( $val > 90 ) { ! ImageString($png, 3 ,$x + 13,115 - $val,$val ."%",$c['white']); } else { ! ImageString($png, 3 ,$x + 13,98 - $val,$val ."%",$c['black']); } $x += 110; |
From: Boris W. <bw...@us...> - 2001-08-27 14:38:59
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv29886 Modified Files: admin_show.php Added Files: message_overview.php Log Message: Added debugging message overview --- NEW FILE: message_overview.php --- <? /* Copyright 2001 Boris Wesslowski */ include("webelements.p3"); include("permission.p3"); check_user(); Function info() { global $conn, $current_user; if ( $current_user->admin == 0) { echo "Only admins are allowed to see this\n"; return; } $query = "SELECT * FROM messages"; $result = @DB_Exec($conn,$query); $n = DB_NumRows($result); if ( 0 == $n) { return; } echo "<TABLE CLASS=single BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; echo "<TH>Timestamp</TH><TH>Message</TH>\n"; echo "</TR>\n"; $a = 0; while ( $a < $n ) { echo "<TR>\n"; echo " <TD>". DB_Result($result, $a, "ts") ."</TD>\n"; echo " <TD>". DB_Result($result, $a, "message") ."</TD>\n"; echo "</TR>\n"; $a++; } echo "</TABLE>\n"; } Function navigate() { global $lang; echo "<TABLE>"; echo "<TR><TD>"; echo "</TD></TR>"; HTML_Select(); } HTML_Header("Messages"); HTML_Base1(); navigate(); HTML_Base2($msg); info(); HTML_Base3(); DB_Close($conn); ?> Index: admin_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/admin_show.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** admin_show.php 2001/08/27 10:50:54 1.11 --- admin_show.php 2001/08/27 14:38:55 1.12 *************** *** 64,67 **** --- 64,68 ---- $url['resources'] = "resource_overview.php"; $url['watchlist'] = "watchlist_overview.php"; + $url['messages'] = "message_overview.php"; if ( $current_user->admin == 0) { |
From: Boris W. <bw...@us...> - 2001-08-27 14:26:48
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv26541 Modified Files: acl_new.php resource.pinc team_new.php user.pinc Log Message: Restricted adjusting selection fields Index: acl_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/acl_new.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** acl_new.php 2001/08/26 21:50:34 1.11 --- acl_new.php 2001/08/27 14:26:41 1.12 *************** *** 29,33 **** $nr["d"] = 2; $js = ""; ! echo " <SELECT MULTIPLE SIZE=". count($current_user->parties) ." NAME=\"". $name ."[]\" ". $js .">\n"; # @reset ($obj->acl); # while ( list ($i,$f) = @each ($obj->acl) ) { --- 29,33 ---- $nr["d"] = 2; $js = ""; ! echo " <SELECT MULTIPLE SIZE=". min(count($current_user->parties),20) ." NAME=\"". $name ."[]\" ". $js .">\n"; # @reset ($obj->acl); # while ( list ($i,$f) = @each ($obj->acl) ) { Index: resource.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource.pinc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** resource.pinc 2001/08/26 21:10:50 1.13 --- resource.pinc 2001/08/27 14:26:41 1.14 *************** *** 107,116 **** global $lang; ! $n = count($obj->reslist); ! if ( $n < 5 ) { ! $r = "<SELECT MULTIPLE SIZE=". $n ." NAME=\"res[]\">\n"; ! } else { ! $r = "<SELECT MULTIPLE SIZE=5 NAME=\"res[]\">\n"; ! } @reset($obj->reslist); --- 107,111 ---- global $lang; ! $r = "<SELECT MULTIPLE SIZE=". min(count($obj->reslist),5) ." NAME=\"res[]\">\n"; @reset($obj->reslist); Index: team_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_new.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** team_new.php 2001/08/26 21:50:34 1.8 --- team_new.php 2001/08/27 14:26:41 1.9 *************** *** 110,114 **** unset($uids[$aid]); } ! echo "<TR><TD><SELECT MULTIPLE SIZE=". count($uids) ." NAME=\"add[]\">\n"; @reset($uids); while( list ($i,$f) = @each ($uids)) { --- 110,114 ---- unset($uids[$aid]); } ! echo "<TR><TD><SELECT MULTIPLE SIZE=". min(count($uids),10) ." NAME=\"add[]\">\n"; @reset($uids); while( list ($i,$f) = @each ($uids)) { Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -r1.45 -r1.46 *** user.pinc 2001/08/26 23:24:36 1.45 --- user.pinc 2001/08/27 14:26:41 1.46 *************** *** 403,412 **** $this->readKnownParties(); ! $s = count($this->parties); ! if ( $s < 7 ) { ! $r = "<SELECT ". $m[$multi] ."SIZE=". $s ." NAME=\"". $name ."\">"; ! } else { ! $r = "<SELECT ". $m[$multi] ."SIZE=7 NAME=\"". $name ."\">"; ! } $r = $r . "\n<!-- PRE: ". $pre ." -->\n"; --- 403,407 ---- $this->readKnownParties(); ! $r = "<SELECT ". $m[$multi] ."SIZE=". min(count($this->parties),7) ." NAME=\"". $name ."\">"; $r = $r . "\n<!-- PRE: ". $pre ." -->\n"; |
From: Gero K. <gok...@us...> - 2001-08-27 14:14:02
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv23280/php Modified Files: calendar.php mytutos.php Log Message: display dates before unix times Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** calendar.php 2001/08/25 23:17:21 1.25 --- calendar.php 2001/08/27 14:13:55 1.26 *************** *** 135,141 **** echo " <TD WIDTH=\"5%\" CLASS=week>". $wn ."/". $yy ."</TD>\n"; $day = 0; while ( $day < 7 ) { ! $d = strftime($lang['DateFormatStr'],$ts); $tref = Date("Ymd",$ts); $dinfo = GetDaysInfo($ts); --- 135,144 ---- echo " <TD WIDTH=\"5%\" CLASS=week>". $wn ."/". $yy ."</TD>\n"; + $dd = new DateTime(); $day = 0; while ( $day < 7 ) { ! # $d = strftime($lang['DateFormatStr'],$ts); ! $dd->setDateTimeTS($ts); ! $d = $dd->getDate(); $tref = Date("Ymd",$ts); $dinfo = GetDaysInfo($ts); *************** *** 196,200 **** $hastable = 1; } else { ! echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><HR NOSHADE SIZE=1></TD></TR>\n"; } --- 199,203 ---- $hastable = 1; } else { ! echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><IMG SRC=\"../html/black.png\" WIDTH=100% HEIGHT=1></TD></TR>\n"; } Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** mytutos.php 2001/08/26 15:48:37 1.29 --- mytutos.php 2001/08/27 14:13:55 1.30 *************** *** 67,72 **** echo " <TD CLASS=week WIDTH=\"5%\">". $wn ."/". $yy ."</TD>\n"; $day = 0; while ( $day < 7 ) { ! $d = strftime($lang['DateFormatStr'],$ts); $tref = Date("Ymd",$ts); $dinfo = GetDaysInfo($ts); --- 67,75 ---- echo " <TD CLASS=week WIDTH=\"5%\">". $wn ."/". $yy ."</TD>\n"; $day = 0; + $dd = new DateTime(); while ( $day < 7 ) { ! # $d = strftime($lang['DateFormatStr'],$ts); ! $dd->setDateTimeTS($ts); ! $d = $dd->getDate(); $tref = Date("Ymd",$ts); $dinfo = GetDaysInfo($ts); *************** *** 123,127 **** $hastable = 1; } else { ! echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><HR NOSHADE SIZE=1></TD></TR>\n"; } // Show appointments or task --- 126,130 ---- $hastable = 1; } else { ! echo " <TR><TD CLASS=". $dinfo[color] ." COLSPAN=3><IMG SRC=\"../html/black.png\" WIDTH=100% HEIGHT=1></TD></TR>\n"; } // Show appointments or task |
From: Gero K. <gok...@us...> - 2001-08-27 14:11:42
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv22671/php Modified Files: watchlist_del.php watchlist_overview.php history.pinc Log Message: watchlist fixes Index: watchlist_del.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/watchlist_del.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** watchlist_del.php 2001/08/11 19:11:25 1.5 --- watchlist_del.php 2001/08/27 14:11:38 1.6 *************** *** 18,37 **** if ( empty($adr) ) { ! $a = $current_user; ! } else { ! $a = new tutos_address($conn); ! $a->read($adr); } if ( empty($id) ) { $msg .= "Missing ID" ."<BR>"; - } else { - $obj = getObject($id); - if ( ! isset($gotourl) ) { - $gotourl = $obj->getUrl(); - } } - if ( $msg == "" ) { ! $msg .= watchlist_remove($obj,$a); } --- 18,28 ---- if ( empty($adr) ) { ! $adr = $current_user->id; } if ( empty($id) ) { $msg .= "Missing ID" ."<BR>"; } if ( $msg == "" ) { ! $msg .= watchlist_remove($id,$adr); } Index: watchlist_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/watchlist_overview.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** watchlist_overview.php 2001/08/24 15:04:00 1.6 --- watchlist_overview.php 2001/08/27 14:11:38 1.7 *************** *** 45,57 **** while ( ($a < $n) && ($a < $end) ) { ! $obj = getObject(DB_Result($result, $a, "obj_id")); ! $adr = getObject(DB_Result($result, $a, "adr_id")); echo "<TR>\n"; ! echo " <TD NOWRAP ALIGN=right>". $lang[$obj->getType()] ."</TD>\n"; ! echo " <TD NOWRAP ALIGN=right>". $obj->getLink() ."</TD>\n"; ! echo " <TD NOWRAP ALIGN=right>". $adr->getLink() ."</TD>\n"; ! if ( ($current_user->id == $adr->id) || ($obj->mod_ok()) ) { ! $url = confirmlink("watchlist_del.php?id=". $obj->id ."&adr=". $adr->id ."&gotourl=". $link1 ,$lang['Delete'],$lang['WatchDel']); echo " <TD NOWRAP ALIGN=right>". $url ."</TD>\n"; } else { --- 45,69 ---- while ( ($a < $n) && ($a < $end) ) { ! $oid = DB_Result($result, $a, "obj_id"); ! $aid = DB_Result($result, $a, "adr_id"); ! $obj = getObject($oid); ! $adr = getObject($aid); echo "<TR>\n"; ! # echo " <TD NOWRAP ALIGN=right>". $lang[$obj->getType()] ."</TD>\n"; ! if ( $obj = -1 ) { ! echo " <TD NOWRAP ALIGN=right>". $oid ."</TD>\n"; ! echo " <TD NOWRAP ALIGN=right>". $lang['HistoryDeleted'] ."</TD>\n"; ! } else { ! echo " <TD NOWRAP ALIGN=right>". $obj->id ."</TD>\n"; ! echo " <TD NOWRAP ALIGN=right>". $obj->getLink() ."</TD>\n"; ! } ! if ( $obj = -1 ) { ! echo " <TD NOWRAP ALIGN=right>". $adr->getLink() ."</TD>\n"; ! } else { ! echo " <TD NOWRAP ALIGN=right>". $lang['HistoryDeleted'] ."</TD>\n"; ! } ! if ( ($current_user->id == $aid) || ($obj->mod_ok()) ) { ! $url = confirmlink("watchlist_del.php?id=". $oid ."&adr=". $aid ."&gotourl=". $link1 ,$lang['Delete'],$lang['WatchDel']); echo " <TD NOWRAP ALIGN=right>". $url ."</TD>\n"; } else { Index: history.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/history.pinc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** history.pinc 2001/08/22 22:15:01 1.11 --- history.pinc 2001/08/27 14:11:38 1.12 *************** *** 167,174 **** * Remove one watcher */ ! function watchlist_remove (&$obj,&$adr) { ! $q = "DELETE FROM watchlist WHERE obj_id = ". $obj->id ." AND adr_id = ". $adr->id; ! $r = @DB_Exec($obj->conn,$q); ! return; } /* --------------------------------------------------------------------------- --- 167,176 ---- * Remove one watcher */ ! function watchlist_remove ($oid,&$aid) { ! global $conn; ! $msg = ""; ! $q = "DELETE FROM watchlist WHERE obj_id = ". $oid ." AND adr_id = ". $aid; ! $r = @DB_Exec($conn,$q); ! return $msg; } /* --------------------------------------------------------------------------- *************** *** 176,184 **** */ function watchlist_add (&$obj,&$adr) { ! watchlist_remove($obj,$adr); $q = "INSERT into watchlist (obj_id,adr_id) VALUES (". $obj->id .",". $adr->id .")"; $r = @DB_Exec($obj->conn,$q); # DB_FreeResult ($r); ! return; } /* --------------------------------------------------------------------------- --- 178,187 ---- */ function watchlist_add (&$obj,&$adr) { ! $msg = ""; ! watchlist_remove($obj->id,$adr->id); $q = "INSERT into watchlist (obj_id,adr_id) VALUES (". $obj->id .",". $adr->id .")"; $r = @DB_Exec($obj->conn,$q); # DB_FreeResult ($r); ! return $msg; } /* --------------------------------------------------------------------------- |
From: Boris W. <bw...@us...> - 2001-08-27 13:50:07
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv14680 Modified Files: permission.p3 Log Message: Some alignment and formatting Index: permission.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/permission.p3,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** permission.p3 2001/08/25 12:58:37 1.38 --- permission.p3 2001/08/27 13:50:04 1.39 *************** *** 103,112 **** echo "</TR><TR>\n"; if ( count($tutos[dbname]) > 1 ) { ! echo " <TD COLSPAN=2><SELECT name=\"dbnr\">\n"; while ( list ($i,$f) = @each ($tutos[dbname]) ) { if ( isset($tutos[dbalias][$i]) ) { ! echo "<OPTION VALUE=$i>". $tutos[dbalias][$i] ."</OPTION>"; } else { ! echo "<OPTION VALUE=$i>". $tutos[dbname][$i] ."@". $tutos[dbhost][$i] ."</OPTION>"; } } --- 103,112 ---- echo "</TR><TR>\n"; if ( count($tutos[dbname]) > 1 ) { ! echo " <TD COLSPAN=2 ALIGN=center><SELECT name=\"dbnr\">\n"; while ( list ($i,$f) = @each ($tutos[dbname]) ) { if ( isset($tutos[dbalias][$i]) ) { ! echo "<OPTION VALUE=$i>". $tutos[dbalias][$i] ."</OPTION>\n"; } else { ! echo "<OPTION VALUE=$i>". $tutos[dbname][$i] ."@". $tutos[dbhost][$i] ."</OPTION>\n"; } } |
From: Boris W. <bw...@us...> - 2001-08-27 13:26:46
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv9030 Modified Files: address_tools.p3 Log Message: Removed space, the choice between products/projects should be global Index: address_tools.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_tools.p3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** address_tools.p3 2001/08/25 12:26:50 1.29 --- address_tools.p3 2001/08/27 13:26:42 1.30 *************** *** 110,114 **** echo " <TD VALIGN=top COLSPAN=". ($s + 1) .">\n"; echo " <TABLE BORDER=0 CELLSPACING=0 WIDTH=\"100%\">\n"; ! echo " <TR><TH>". $lang['Product'] ." : ".$lang['ProdRole'][$role] ."</TH></TR>\n"; showProducts($role,$a,1); echo " </TABLE>\n"; --- 110,114 ---- echo " <TD VALIGN=top COLSPAN=". ($s + 1) .">\n"; echo " <TABLE BORDER=0 CELLSPACING=0 WIDTH=\"100%\">\n"; ! echo " <TR><TH>". $lang['Product'] .": ".$lang['ProdRole'][$role] ."</TH></TR>\n"; showProducts($role,$a,1); echo " </TABLE>\n"; *************** *** 420,422 **** } ! ?> \ No newline at end of file --- 420,422 ---- } ! ?> |
From: Boris W. <bw...@us...> - 2001-08-27 12:50:58
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv32318 Modified Files: webelements.p3 Log Message: Font is too small in browsers that don't ignore SIZE tag Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -r1.67 -r1.68 *** webelements.p3 2001/08/26 07:18:30 1.67 --- webelements.p3 2001/08/27 12:50:49 1.68 *************** *** 548,554 **** echo "<TR VALIGN=bottom>\n"; echo " <TD NOWRAP>\n"; ! echo "<FONT SIZE=-2>". menulink("mytutos.php" ,$tutos[image][user] . $current_user->getFullName(),$current_user->getFullName()) ."</FONT><BR>\n"; if ( $current_user->admin != 0 ) { ! echo "<FONT SIZE=-2>". menulink("admin_show.php" ,$tutos[image][user] . $lang['UserAdmin'] , $lang['UserAdmin']) ."</FONT><BR>\n"; } } --- 548,554 ---- echo "<TR VALIGN=bottom>\n"; echo " <TD NOWRAP>\n"; ! echo menulink("mytutos.php" ,$tutos[image][user] . $current_user->getFullName(),$current_user->getFullName()) ."<BR>\n"; if ( $current_user->admin != 0 ) { ! echo menulink("admin_show.php" ,$tutos[image][user] . $lang['UserAdmin'] , $lang['UserAdmin']) ."<BR>\n"; } } |
From: Boris W. <bw...@us...> - 2001-08-27 11:04:21
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv10483 Modified Files: mail.pinc Log Message: Use RFC 822 compliant date format Index: mail.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/mail.pinc,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** mail.pinc 2001/08/11 19:11:25 1.15 --- mail.pinc 2001/08/27 11:04:18 1.16 *************** *** 425,429 **** fputs($fd, "From: \"". $this->from->getFullName() ." (TUTOS)\" <". $from .">".$eoln); fputs($fd, "Reply-To: \"". $this->from->getFullName() ."\" <". $from .">".$eoln); ! fputs($fd, "Date: ". Date("D, d M Y H:i:s") .$eoln); fputs($fd, "Subject: ". $this->subject .$eoln); fputs($fd, "To: ". $to .$eoln); --- 425,429 ---- fputs($fd, "From: \"". $this->from->getFullName() ." (TUTOS)\" <". $from .">".$eoln); fputs($fd, "Reply-To: \"". $this->from->getFullName() ."\" <". $from .">".$eoln); ! fputs($fd, "Date: ". Date("r") .$eoln); fputs($fd, "Subject: ". $this->subject .$eoln); fputs($fd, "To: ". $to .$eoln); *************** *** 486,488 **** } $includes[mail.pinc] = 1; ! ?> \ No newline at end of file --- 486,488 ---- } $includes[mail.pinc] = 1; ! ?> |
From: Boris W. <bw...@us...> - 2001-08-27 10:51:00
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv7670 Modified Files: admin_show.php Log Message: Added missing tables Index: admin_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/admin_show.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** admin_show.php 2001/08/26 08:56:54 1.10 --- admin_show.php 2001/08/27 10:50:54 1.11 *************** *** 31,34 **** --- 31,36 ---- $counts['timetrack'] = 0; $counts['mailboxes'] = 0; + $counts['resources'] = 0; + $counts['watchlist'] = 0; reset ($counts); while ( list ($i,$f) = @each ($counts) ) { *************** *** 58,64 **** $url['calendar'] = "app_select.php"; $url['notes'] = "note_select.php"; if ( $current_user->admin == 0) { ! echo "Only Admins can see this<BR>\n"; return; } --- 60,70 ---- $url['calendar'] = "app_select.php"; $url['notes'] = "note_select.php"; + $url['installations'] = "installation_overview.php"; + $url['companies'] = "company_overview.php"; + $url['resources'] = "resource_overview.php"; + $url['watchlist'] = "watchlist_overview.php"; if ( $current_user->admin == 0) { ! echo "Only admins are allowed to see this\n"; return; } |
From: Boris W. <bw...@us...> - 2001-08-27 09:14:35
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv17665 Modified Files: graph_bars.php Log Message: Always authenticate the user Index: graph_bars.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/graph_bars.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** graph_bars.php 2001/08/09 10:32:03 1.4 --- graph_bars.php 2001/08/27 09:14:32 1.5 *************** *** 7,10 **** --- 7,16 ---- * */ + + include "webelements.p3"; + include "permission.p3"; + + check_user(); + Header("Expires: 0"); Header("Pragma: no-cache"); |
From: Boris W. <bw...@us...> - 2001-08-27 09:08:38
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv16482 Modified Files: product_overview.php Log Message: Table spacing and spelling fix Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** product_overview.php 2001/08/26 15:47:19 1.22 --- product_overview.php 2001/08/27 09:08:29 1.23 *************** *** 404,409 **** echo "<TR>\n"; showfield($lang['Count']); ! echo "<TD COLSPAN=3>". $cnt ."\n"; ! $pre = "filterd by "; while ( list ($i,$f) = @each ($filter) ) { if ( $f == "" ) { --- 404,409 ---- echo "<TR>\n"; showfield($lang['Count']); ! echo "<TD COLSPAN=5>". $cnt ."\n"; ! $pre = "filtered by "; while ( list ($i,$f) = @each ($filter) ) { if ( $f == "" ) { |
From: Boris W. <bw...@us...> - 2001-08-26 23:24:42
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv30245 Modified Files: user.pinc Log Message: Shouldn't program too late in the night... Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -r1.44 -r1.45 *** user.pinc 2001/08/26 22:08:19 1.44 --- user.pinc 2001/08/26 23:24:36 1.45 *************** *** 404,408 **** $s = count($this->parties); ! if ( $s < 6 ) { $r = "<SELECT ". $m[$multi] ."SIZE=". $s ." NAME=\"". $name ."\">"; } else { --- 404,408 ---- $s = count($this->parties); ! if ( $s < 7 ) { $r = "<SELECT ". $m[$multi] ."SIZE=". $s ." NAME=\"". $name ."\">"; } else { |
From: Boris W. <bw...@us...> - 2001-08-26 22:08:22
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv16982 Modified Files: user.pinc Log Message: More adjusting selection fields Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -r1.43 -r1.44 *** user.pinc 2001/08/26 17:34:05 1.43 --- user.pinc 2001/08/26 22:08:19 1.44 *************** *** 398,407 **** $m[0] = ""; ! $m[1] = "MULTIPLE"; $this->readKnownParties(); ! $r = "<SELECT SIZE=7 name=\"". $name ."\" ". $m[$multi] .">"; $r = $r . "\n<!-- PRE: ". $pre ." -->\n"; --- 398,412 ---- $m[0] = ""; ! $m[1] = "MULTIPLE "; $this->readKnownParties(); ! $s = count($this->parties); ! if ( $s < 6 ) { ! $r = "<SELECT ". $m[$multi] ."SIZE=". $s ." NAME=\"". $name ."\">"; ! } else { ! $r = "<SELECT ". $m[$multi] ."SIZE=7 NAME=\"". $name ."\">"; ! } $r = $r . "\n<!-- PRE: ". $pre ." -->\n"; *************** *** 683,685 **** } $includes[user.pinc] = 1; ! ?> \ No newline at end of file --- 688,690 ---- } $includes[user.pinc] = 1; ! ?> |
From: Boris W. <bw...@us...> - 2001-08-26 21:50:40
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv12716 Modified Files: acl_new.php team_new.php Log Message: More adjusting selection fields Index: acl_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/acl_new.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** acl_new.php 2001/08/26 12:16:40 1.10 --- acl_new.php 2001/08/26 21:50:34 1.11 *************** *** 29,33 **** $nr["d"] = 2; $js = ""; ! echo " <SELECT SIZE=20 name=". $name ."[] MULTIPLE ". $js .">\n"; # @reset ($obj->acl); # while ( list ($i,$f) = @each ($obj->acl) ) { --- 29,33 ---- $nr["d"] = 2; $js = ""; ! echo " <SELECT MULTIPLE SIZE=". count($current_user->parties) ." NAME=\"". $name ."[]\" ". $js .">\n"; # @reset ($obj->acl); # while ( list ($i,$f) = @each ($obj->acl) ) { *************** *** 189,191 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 189,191 ---- CVS Info: $Id$ $Author$ ! --> Index: team_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_new.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** team_new.php 2001/08/25 12:26:50 1.7 --- team_new.php 2001/08/26 21:50:34 1.8 *************** *** 110,114 **** unset($uids[$aid]); } ! echo "<TR><TD><SELECT name=add[] SIZE=10 MULTIPLE>\n"; @reset($uids); while( list ($i,$f) = @each ($uids)) { --- 110,114 ---- unset($uids[$aid]); } ! echo "<TR><TD><SELECT MULTIPLE SIZE=". count($uids) ." NAME=\"add[]\">\n"; @reset($uids); while( list ($i,$f) = @each ($uids)) { *************** *** 181,183 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 181,183 ---- CVS Info: $Id$ $Author$ ! --> |
From: Boris W. <bw...@us...> - 2001-08-26 21:10:52
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv4984 Modified Files: product.pinc resource.pinc Log Message: Introduced auto-adjusting selection fields Index: product.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/product.pinc,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** product.pinc 2001/08/26 15:31:26 1.37 --- product.pinc 2001/08/26 21:10:50 1.38 *************** *** 1004,1008 **** function class_select($c) { global $lang; ! echo " <SELECT MULTIPLE SIZE=3 NAME=\"cl". $c ."[]\">\n"; @reset ($lang['ProdClasses'.$c]); while ( list ($i,$f) = @each ($lang['ProdClasses'.$c]) ) { --- 1004,1008 ---- function class_select($c) { global $lang; ! echo " <SELECT MULTIPLE SIZE=". count($lang['ProdClasses'.$c])." NAME=\"cl". $c ."[]\">\n"; @reset ($lang['ProdClasses'.$c]); while ( list ($i,$f) = @each ($lang['ProdClasses'.$c]) ) { Index: resource.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource.pinc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** resource.pinc 2001/08/26 15:31:26 1.12 --- resource.pinc 2001/08/26 21:10:50 1.13 *************** *** 107,111 **** global $lang; ! $r = "<SELECT SIZE=3 MULTIPLE name=\"res[]\">"; @reset($obj->reslist); --- 107,116 ---- global $lang; ! $n = count($obj->reslist); ! if ( $n < 5 ) { ! $r = "<SELECT MULTIPLE SIZE=". $n ." NAME=\"res[]\">\n"; ! } else { ! $r = "<SELECT MULTIPLE SIZE=5 NAME=\"res[]\">\n"; ! } @reset($obj->reslist); *************** *** 368,370 **** $includes[resource.pinc] = 1; ! ?> \ No newline at end of file --- 373,375 ---- $includes[resource.pinc] = 1; ! ?> |
From: Gero K. <gok...@us...> - 2001-08-26 17:36:13
|
Update of /cvsroot/tutos/tutos/html In directory usw-pr-cvs1:/tmp/cvs-serv26739/html Modified Files: blue.css Log Message: changed line1 line2 Index: blue.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/blue.css,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** blue.css 2001/08/26 12:18:10 1.18 --- blue.css 2001/08/26 17:36:10 1.19 *************** *** 107,116 **** /* line color 1 in overviews */ .line1 { ! background: #88acd0; } /* line color 2 in overviews */ .line2 { ! background: #789cc0; } --- 107,116 ---- /* line color 1 in overviews */ .line1 { ! background: #98bcd8; } /* line color 2 in overviews */ .line2 { ! background: #88acc8; } |
From: Gero K. <gok...@us...> - 2001-08-26 17:35:36
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv26557/php Modified Files: appointment.pinc Log Message: fixed getfullname Index: appointment.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -r1.50 -r1.51 *** appointment.pinc 2001/08/25 12:26:50 1.50 --- appointment.pinc 2001/08/26 17:35:33 1.51 *************** *** 809,816 **** function getFullName() { global $lang; ! if ( $this->notime == 0) { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDateTimeShort(),$this->end->getDateTimeShort()); } else { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDate(),$this->end->getDate()); } } --- 809,832 ---- function getFullName() { global $lang; ! if ( $this->repeat == 0 ) { ! if ( $this->notime == 0) { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDateTimeShort(),$this->end->getDateTimeShort()); ! } else { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDate(),$this->end->getDate()); ! } } else { ! if ($this->r_ignore == 1) { ! if ( $this->notime == 0) { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDateTimeShort(),$lang['AppNoLastDate']); ! } else { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDate(),$lang['AppNoLastDate']); ! } ! } else { ! if ( $this->notime == 0) { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDateTimeShort(),$this->end->getDateTimeShort()); ! } else { ! return sprintf ("%s %s - %s",$this->descr,$this->start->getDate(),$this->end->getDate()); ! } ! } } } |
From: Gero K. <gok...@us...> - 2001-08-26 17:35:14
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv26456/php Modified Files: address_show.php Log Message: using new single table Index: address_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_show.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** address_show.php 2001/08/25 12:58:37 1.16 --- address_show.php 2001/08/26 17:35:11 1.17 *************** *** 35,39 **** $x++; } ! DoubleTableStart(0); echo "<TR><TH COLSPAN=". $x .">". $lang['AddressEntries'] ."</TH></TR>\n"; --- 35,40 ---- $x++; } ! echo "<TABLE CLASS=single BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; ! # DoubleTableStart(0); echo "<TR><TH COLSPAN=". $x .">". $lang['AddressEntries'] ."</TH></TR>\n"; *************** *** 122,127 **** # Show_LocFields("LID",$a,"id",1); echo "</TABLE>\n"; ! echo "</TD></TR></TABLE>\n"; } --- 123,130 ---- # Show_LocFields("LID",$a,"id",1); + echo "</TABLE>\n"; ! # DoubleTableEnd(); ! } |
From: Gero K. <gok...@us...> - 2001-08-26 17:34:07
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv26235/php Modified Files: user.pinc Log Message: new Mail text and icon Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** user.pinc 2001/08/26 17:30:44 1.42 --- user.pinc 2001/08/26 17:34:05 1.43 *************** *** 194,197 **** --- 194,203 ---- } + if ( file_exists("../html/". $this->theme ."/mail.gif") ) { + $tutos[image][mail] = "<IMG BORDER=0 SRC=\"../html/". $this->theme ."/mail.gif\" ALT=\"\">"; + } else { + $tutos[image][mail] = "<IMG BORDER=0 SRC=\"../html/mail.gif\" ALT=\"\">"; + } + if ( file_exists("../html/". $this->theme ."/up.gif") ) { $tutos[image][up] = "<IMG BORDER=0 ALT=\"UP\" SRC=\"../html/". $this->theme ."/up.gif\">"; |
From: Gero K. <gok...@us...> - 2001-08-26 17:34:07
|
Update of /cvsroot/tutos/tutos/html In directory usw-pr-cvs1:/tmp/cvs-serv26235/html Added Files: mail.gif Log Message: new Mail text and icon --- NEW FILE: mail.gif --- GIF89a |
From: Gero K. <gok...@us...> - 2001-08-26 17:30:53
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv25564/php Modified Files: db.p3 de.p3 en.p3 es.p3 fr.p3 it.p3 ko.p3 nl.p3 pl.p3 ru.p3 tw.p3 zh.p3 user.pinc pt-br.p3 mailbox_overview.php Log Message: new Mail text and icon Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** db.p3 2001/08/25 12:29:21 1.41 --- db.p3 2001/08/26 17:30:44 1.42 *************** *** 120,123 **** --- 120,124 ---- define (right,13); define (help,14); + define (mail,15); Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -r1.62 -r1.63 *** de.p3 2001/08/25 17:04:24 1.62 --- de.p3 2001/08/26 17:30:44 1.63 *************** *** 386,389 **** --- 386,390 ---- $lang['MailCard'] = "Visitenkarte von %s"; $lang['MailboxDelI'] = "Entferne Mailbox %s"; + $lang['Mail'] = "E-mail"; # ACL Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -r1.57 -r1.58 *** en.p3 2001/08/25 17:04:24 1.57 --- en.p3 2001/08/26 17:30:44 1.58 *************** *** 386,389 **** --- 386,390 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "Mail"; # ACL Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** es.p3 2001/08/25 17:04:24 1.42 --- es.p3 2001/08/26 17:30:44 1.43 *************** *** 388,391 **** --- 388,392 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** fr.p3 2001/08/25 17:04:24 1.41 --- fr.p3 2001/08/26 17:30:44 1.42 *************** *** 388,391 **** --- 388,392 ---- $lang['MailCard'] = "Carte de %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "l'email"; # ACL Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -r1.50 -r1.51 *** it.p3 2001/08/25 17:04:24 1.50 --- it.p3 2001/08/26 17:30:44 1.51 *************** *** 386,389 **** --- 386,390 ---- $lang['MailCard'] = "Cartolina di %s"; $lang['MailboxDelI'] = "Rimuovi la casella di posta di %s"; + $lang['Mail'] = "e-mail"; # ACL Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** ko.p3 2001/08/25 17:04:24 1.16 --- ko.p3 2001/08/26 17:30:44 1.17 *************** *** 387,390 **** --- 387,391 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** nl.p3 2001/08/25 17:04:24 1.9 --- nl.p3 2001/08/26 17:30:44 1.10 *************** *** 388,391 **** --- 388,392 ---- $lang['MailCard'] = "Card van %s"; $lang['MailboxDelI'] = "Verwijder Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** pl.p3 2001/08/25 17:04:24 1.13 --- pl.p3 2001/08/26 17:30:44 1.14 *************** *** 392,395 **** --- 392,396 ---- $lang['MailCard'] = "Karta %s"; $lang['MailboxDelI'] = "Usuñ skrzynkê %s"; + $lang['Mail'] = "Message"; # ACL Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** ru.p3 2001/08/25 17:04:24 1.36 --- ru.p3 2001/08/26 17:30:44 1.37 *************** *** 386,389 **** --- 386,390 ---- $lang['MailCard'] = "÷ÉÚÉÔËÁ ÏÔ %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** tw.p3 2001/08/25 17:04:24 1.36 --- tw.p3 2001/08/26 17:30:44 1.37 *************** *** 390,393 **** --- 390,394 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** zh.p3 2001/08/25 17:04:24 1.36 --- zh.p3 2001/08/26 17:30:44 1.37 *************** *** 390,393 **** --- 390,394 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** user.pinc 2001/08/26 15:31:26 1.41 --- user.pinc 2001/08/26 17:30:44 1.42 *************** *** 156,159 **** --- 156,160 ---- $tutos[image][left] = ""; $tutos[image][right] = ""; + $tutos[image][mail] = ""; if ( file_exists("../html/". $this->theme ."/appointments.gif") ) { Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** pt-br.p3 2001/08/25 17:04:24 1.29 --- pt-br.p3 2001/08/26 17:30:44 1.30 *************** *** 388,391 **** --- 388,392 ---- $lang['MailCard'] = "Card of %s"; $lang['MailboxDelI'] = "Remove Mailbox %s"; + $lang['Mail'] = "mail"; # ACL Index: mailbox_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox_overview.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** mailbox_overview.php 2001/08/23 19:09:17 1.12 --- mailbox_overview.php 2001/08/26 17:30:44 1.13 *************** *** 123,127 **** echo "<TR>\n"; # echo "<TD>". var_dump($hdr)."</TD>\n"; ! echo " <TD>". makelink("mailbox_show.php?mno=". trim($hdr->Msgno) ."&id=". $m->id ."&path=". UrlEncode($path) ,$tutos[image][paper] . $id,$id) ."</TD>\n"; if ( $hdr->date ) { echo " <TD>". $hdr->date ."</TD>\n"; --- 123,127 ---- echo "<TR>\n"; # echo "<TD>". var_dump($hdr)."</TD>\n"; ! echo " <TD>". makelink("mailbox_show.php?mno=". trim($hdr->Msgno) ."&id=". $m->id ."&path=". UrlEncode($path) ,$tutos[image][mail] . $id,$id) ."</TD>\n"; if ( $hdr->date ) { echo " <TD>". $hdr->date ."</TD>\n"; *************** *** 150,188 **** } ! if ( ($start != 0) || ($cnt > $n) ) { ! $l = $m->getUrl(); ! $l = addUrlParameter($l,"path=".UrlEncode($path)); ! ! if ( $search ) { ! $l = addUrlParameter($l,"search=".$search); ! } ! ! echo "<TR>\n"; ! echo " <TH COLSPAN=6>\n"; ! ! if ( $start > 0 ) { ! $ll = addUrlParameter($l,"start=0"); ! echo makelink($ll ,$lang['NavFirst'] ,$lang['NavFirst']); ! } ! echo " "; ! if ( $start != 0 ) { ! $ll = addUrlParameter($l,"start=".($start - 1 - $tutos[maxshow])); ! echo makelink($ll ,$tutos[image][left] ." ".$lang['NavBack'],$lang['NavBack']); ! } ! echo " "; ! if ( $cnt > $n ) { ! $ll = addUrlParameter($l,"start=".$n); ! echo makelink($ll ,$lang['NavNext'] ." ". $tutos[image][right] ,$lang['NavNext']); ! } ! ! ! if ( $start < ($cnt - $tutos[maxshow]) ) { ! echo " "; ! $ll = addUrlParameter($l,"start=-1"); ! echo makelink($ll ,$lang['NavLast'] ,$lang['NavLast']); ! } ! echo " </TH>\n"; ! echo "</TR>\n"; } echo "</TABLE>\n"; --- 150,160 ---- } ! $l = $m->getUrl(); ! $l = addUrlParameter($l,"path=".UrlEncode($path)); ! if ( $search ) { ! $l = addUrlParameter($l,"search=".$search); } + + ShowBackForwardNav($l,6,$start,$n,$cnt); echo "</TABLE>\n"; |
From: Boris W. <bw...@us...> - 2001-08-26 16:15:23
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv11954 Modified Files: user_new.php Log Message: Fixed table column Index: user_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/user_new.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** user_new.php 2001/08/26 12:16:40 1.19 --- user_new.php 2001/08/26 16:15:20 1.20 *************** *** 59,63 **** $achecked[$user->admin] ="CHECKED"; echo " <TD>". $lang['yes'] ." <INPUT type=radio name=admin value=1 $achecked[1]></TD>"; ! echo " <TD>". $lang['no'] ." <INPUT type=radio name=admin value=0 $achecked[0]></TD>"; } else { echo "<INPUT type=hidden name=\"admin\" value=\"". $user->admin ."\">\n"; --- 59,63 ---- $achecked[$user->admin] ="CHECKED"; echo " <TD>". $lang['yes'] ." <INPUT type=radio name=admin value=1 $achecked[1]></TD>"; ! echo " <TD COLSPAN=2>". $lang['no'] ." <INPUT type=radio name=admin value=0 $achecked[0]></TD>"; } else { echo "<INPUT type=hidden name=\"admin\" value=\"". $user->admin ."\">\n"; *************** *** 232,234 **** CVS Info: $Id$ $Author$ ! --> \ No newline at end of file --- 232,234 ---- CVS Info: $Id$ $Author$ ! --> |
From: Gero K. <gok...@us...> - 2001-08-26 15:48:40
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv6606/php Modified Files: mytutos.php Log Message: use undecorated links in table headlines Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** mytutos.php 2001/08/26 08:25:30 1.28 --- mytutos.php 2001/08/26 15:48:37 1.29 *************** *** 307,311 **** echo "<TR>\n"; # Header ! echo "<TH COLSPAN=4>". sprintf($lang['PersonalPageFor'],$adr->getLink()) ."</TH>\n"; echo "</TR>\n"; --- 307,311 ---- echo "<TR>\n"; # Header ! echo "<TH COLSPAN=4>". sprintf($lang['PersonalPageFor'],$adr->getFullname()) ."</TH>\n"; echo "</TR>\n"; *************** *** 317,321 **** if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { echo "<TR>\n"; ! echo " <TH COLSPAN=4>". makelink("mytutos.php?t=".$last_week,$tutos[image][left] ." ",$lang['lastweek']) . $lang['Calendar'] . makelink("mytutos.php?t=".$next_week," ". $tutos[image][right] ,$lang['nextweek']) ."</TH>\n"; echo "</TR>\n"; echo "<TR>\n"; --- 317,321 ---- if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { echo "<TR>\n"; ! echo " <TH COLSPAN=4>". menulink("mytutos.php?t=".$last_week,$tutos[image][left] ." ",$lang['lastweek']) . $lang['Calendar'] . menulink("mytutos.php?t=".$next_week," ". $tutos[image][right] ,$lang['nextweek']) ."</TH>\n"; echo "</TR>\n"; echo "<TR>\n"; *************** *** 327,336 **** echo "<TR>\n"; if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { ! echo "<TH COLSPAN=2>". makelink("product_select.php",$lang['ProductMenu'],$lang['ProductsSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo "<TH COLSPAN=2>". makelink("bug_select.php",$lang['Bugs'],$lang['BugsSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; --- 327,336 ---- echo "<TR>\n"; if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { ! echo "<TH COLSPAN=2>". menulink("product_select.php",$lang['ProductMenu'],$lang['ProductsSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo "<TH COLSPAN=2>". menulink("bug_select.php",$lang['Bugs'],$lang['BugsSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; *************** *** 354,363 **** echo "<TR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo "<TH COLSPAN=2>". makelink("note_select.php",$lang['Notes'],$lang['NoteSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo "<TH COLSPAN=2>". makelink("file_overview.php",$lang['ProdFiles'],$lang['FileOverview']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; --- 354,363 ---- echo "<TR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo "<TH COLSPAN=2>". menulink("note_select.php",$lang['Notes'],$lang['NoteSearch']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo "<TH COLSPAN=2>". menulink("file_overview.php",$lang['ProdFiles'],$lang['FileOverview']) ."</TH>\n"; } else { echo "<TH COLSPAN=2> </TH>\n"; |