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
|
7
|
8
|
9
|
10
|
11
(1) |
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
(4) |
22
|
23
|
24
|
25
|
26
(6) |
27
|
28
(2) |
29
|
30
|
31
|
|
|
|
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv4342/php Modified Files: address_show.php address_tools.p3 appointment.pinc bug.pinc bug_overview.php bug_show.php calendar.php calendar_overview.php calendar_show.php company_show.php config.pinc db.p3 department_show.php file.pinc file_overview.php installation.pinc installation_ins.php installation_new.php installation_show.php mailbox.pinc mytutos.php note_overview.php product.pinc product_new.php product_show.php res_cal.php resource_overview.php scheme.php task.pinc task_new.php task_show.php url.pinc user.pinc watchlist_overview.php Log Message: Fixes for 200107?? Index: address_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_show.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** address_show.php 2001/07/21 16:03:33 1.9 --- address_show.php 2001/07/28 18:21:21 1.10 *************** *** 82,86 **** if ( ($current_user->p[usemailboxes] == 1) && ($tutos[usemailboxes] == 1) ) { $a->readMailboxes(); ! if ( isset($a->mboxlist) && (count($a->mboxlist) >0) ) { Show_LocFields("",$a,"mbox",0); } --- 82,86 ---- if ( ($current_user->p[usemailboxes] == 1) && ($tutos[usemailboxes] == 1) ) { $a->readMailboxes(); ! if ( count($a->mboxlist) >0 ) { Show_LocFields("",$a,"mbox",0); } *************** *** 89,93 **** if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $a->readApps(); ! if ( isset($a->applist) && (count($a->applist) >0) ) { Show_LocFields("",$a,"apps",0); } --- 89,93 ---- if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $a->readApps(); ! if ( count($a->applist) >0 ) { Show_LocFields("",$a,"apps",0); } *************** *** 96,100 **** if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $a->readInstallations(); ! if ( isset($a->instlist) && (count($a->instlist) >0) ) { Show_LocFields("",$a,"inst",0); } --- 96,100 ---- if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $a->readInstallations(); ! if ( count($a->instlist) >0 ) { Show_LocFields("",$a,"inst",0); } *************** *** 114,118 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $a->readNotes(); ! if ( isset($a->notelist) && (count($a->notelist) >0) ) { Show_LocFields("",$a,"notes",0); } --- 114,118 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $a->readNotes(); ! if ( count($a->notelist) >0 ) { Show_LocFields("",$a,"notes",0); } Index: address_tools.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_tools.p3,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** address_tools.p3 2001/07/21 16:03:33 1.22 --- address_tools.p3 2001/07/28 18:21:21 1.23 *************** *** 163,166 **** --- 163,169 ---- $atool['start'] = 0; $atool['maxshow'] = 0; + $atool['search']['name'] = ""; + $atool['search']['phone'] = ""; + $atool['search']['email'] = ""; } /* --------------------------------------------------------------------------- Index: appointment.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** appointment.pinc 2001/07/21 16:03:33 1.38 --- appointment.pinc 2001/07/28 18:21:21 1.39 *************** *** 184,198 **** $obj->applist = array(); if ( $obj->getType() == "product" ) { ! $q = "SELECT * FROM calendar WHERE product = ". $obj->id ." ORDER BY a_start DESC"; } else if ( ($obj->getType() == "address") || ($obj->getType() == "user") ) { ! $q = "SELECT * FROM calendar WHERE visitor = ". $obj->id ." ORDER BY a_start DESC"; } else if ( $obj->getType() == "company" ) { ! $q = "SELECT * FROM calendar WHERE visitor = ". $obj->id ." ORDER BY a_start DESC"; } else if ( $obj->getType() == "department" ) { ! $q = "SELECT * FROM calendar WHERE visitor = ". $obj->id ." ORDER BY a_start DESC"; } else { return; } $r = @DB_Exec($obj->conn,$q); $n = DB_NumRows($r); --- 184,200 ---- $obj->applist = array(); + $q = "SELECT * FROM calendar "; if ( $obj->getType() == "product" ) { ! $q .= " WHERE product = ". $obj->id; } else if ( ($obj->getType() == "address") || ($obj->getType() == "user") ) { ! $q .= " WHERE visitor = ". $obj->id; } else if ( $obj->getType() == "company" ) { ! $q .= " WHERE visitor = ". $obj->id; } else if ( $obj->getType() == "department" ) { ! $q .= " WHERE visitor = ". $obj->id; } else { return; } + $q .= " ORDER BY a_start DESC"; $r = @DB_Exec($obj->conn,$q); $n = DB_NumRows($r); Index: bug.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug.pinc,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** bug.pinc 2001/07/21 16:03:33 1.31 --- bug.pinc 2001/07/28 18:21:21 1.32 *************** *** 57,60 **** --- 57,61 ---- return; } + $obj->buglist = array(); $q = "SELECT * from bugs where product_id = ". $obj->id; $r = @DB_Exec($obj->conn,$q); Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_overview.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** bug_overview.php 2001/07/26 17:37:08 1.13 --- bug_overview.php 2001/07/28 18:21:21 1.14 *************** *** 445,448 **** --- 445,450 ---- $filter['name'] = $name; + } else { + $filter['name'] = ""; } if ( isset($id) ) { Index: bug_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** bug_show.php 2001/07/07 19:49:27 1.8 --- bug_show.php 2001/07/28 18:21:21 1.9 *************** *** 91,95 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $b->readNotes(); ! if ( isset($b->notelist) && (count($b->notelist) > 0) ) { echo "<TR>\n"; showfield($lang['ProdNotes']); --- 91,95 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $b->readNotes(); ! if ( count($b->notelist) > 0 ) { echo "<TR>\n"; showfield($lang['ProdNotes']); *************** *** 103,107 **** if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $b->readFiles(); ! if ( isset($b->filelist) && (count($b->filelist) > 0) ) { echo "<TR>\n"; showfield($lang['ProdFiles']); --- 103,107 ---- if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $b->readFiles(); ! if ( count($b->filelist) > 0 ) { echo "<TR>\n"; showfield($lang['ProdFiles']); Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** calendar.php 2001/07/21 16:03:33 1.13 --- calendar.php 2001/07/28 18:21:21 1.14 *************** *** 116,120 **** /* --------------------------------------------------------------------------- ! * Display One Weeks appointments (including s) starting with Monday * t format YYYYMMDD * --- 116,120 ---- /* --------------------------------------------------------------------------- ! * Display One Weeks appointments (including s) starting with Monday or Sunday * t format YYYYMMDD * *************** *** 130,135 **** $ts = mktime(12,0,0,substr($t,4,2),substr($t,6,2),substr($t,0,4)); ! /* Back to last Monday before ts */ ! while ( Date("D",$ts) != "Mon" ) { $ts -= 86400; } --- 130,135 ---- $ts = mktime(12,0,0,substr($t,4,2),substr($t,6,2),substr($t,0,4)); ! /* Back to last weekstart day before ts */ ! while ( Date("w",$ts) != $current_user->weekstart ) { $ts -= 86400; } *************** *** 137,141 **** $w0 = (( 1 + Date("w",mktime(12,0,0,1,1, Date("Y",$ts) ) )) % 7) > 3; $wn = sprintf("%02d", Round( (Date("z",$ts)+7 ) / 7) ); - $wx = sprintf("%s", ( (Date("z",$ts)+7 ) / 7) ); $yy = Date("y",$ts); echo " <TD VALIGN=top WIDTH=\"5%\" BGCOLOR=\"#BBCCDD\"><B>". $wn ."/". $yy ."</B></TD>\n"; --- 137,140 ---- *************** *** 168,178 **** $a = 0; ! if ( isset($current_user->callist) && (count($current_user->callist) > 0) ) { $xxx = $current_user->callist; @reset($xxx); while( list ($a,$apo) = @each ($xxx)) { ! /* if user is not interessted in - show nothing */ ! $found = 0; if ( ! isset($uids[0]) ) { @reset($apo->participant); --- 167,177 ---- $a = 0; ! if ( count($current_user->callist) > 0 ) { $xxx = $current_user->callist; @reset($xxx); while( list ($a,$apo) = @each ($xxx)) { ! /* if user is not interessted in - show nothing */ ! $found = 0; if ( ! isset($uids[0]) ) { @reset($apo->participant); *************** *** 214,218 **** if ( $hastable == 1 ) { if ( $tutos[caltable] == 2 ) { ! echo " </TABLE>\n"; echo " </TD>\n"; echo " </TR>\n"; --- 213,217 ---- if ( $hastable == 1 ) { if ( $tutos[caltable] == 2 ) { ! echo " </TABLE>\n"; echo " </TD>\n"; echo " </TR>\n"; *************** *** 375,378 **** --- 374,380 ---- echo " <TR BGCOLOR=\"#AAAACC\">\n"; echo " <TH>". $lang['week'] ."</TH>\n"; + if ( $current_user->weekstart == 0 ) { + echo " <TH>". $lang['Day0'] ."</TH>\n"; + } echo " <TH>". $lang['Day1'] ."</TH>\n"; echo " <TH>". $lang['Day2'] ."</TH>\n"; *************** *** 381,385 **** echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! echo " <TH>". $lang['Day0'] ."</TH>\n"; $t2 = $t; --- 383,389 ---- echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! if ( $current_user->weekstart != 0 ) { ! echo " <TH>". $lang['Day0'] ."</TH>\n"; ! } $t2 = $t; Index: calendar_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar_overview.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** calendar_overview.php 2001/07/21 16:03:33 1.6 --- calendar_overview.php 2001/07/28 18:21:21 1.7 *************** *** 197,211 **** # display order # ! if ( isset($f) && isset($o) ) { ! $q .= " ORDER by " . $f; ! if ( $o == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"f=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"o=". $o); ! $link2 = addUrlParameter($link2,"f=".UrlEncode($f)); ! $link2 = addUrlParameter($link2,"o=". $o); } else { $q .= " order by a_start asc"; --- 197,211 ---- # display order # ! if ( isset($xf) && isset($xo) ) { ! $q .= " ORDER by " . $xf; ! if ( $xo == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"xf=".UrlEncode($xf)); ! $link1 = addUrlParameter($link1,"xo=". $xo); ! $link2 = addUrlParameter($link2,"xf=".UrlEncode($xf)); ! $link2 = addUrlParameter($link2,"xo=". $xo); } else { $q .= " order by a_start asc"; Index: calendar_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** calendar_show.php 2001/07/21 16:03:33 1.8 --- calendar_show.php 2001/07/28 18:21:21 1.9 *************** *** 146,150 **** if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { $a->readRes(); ! if ( isset($a->resuselist) && (count($a->resuselist) > 0) ) { @reset($a->reslist); echo "<TR>\n"; --- 146,150 ---- if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { $a->readRes(); ! if ( count($a->resuselist) > 0 ) { @reset($a->reslist); echo "<TR>\n"; *************** *** 161,165 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $a->readNotes(); ! if ( isset($a->notelist) && (count($a->notelist) > 0) ) { @reset($a->notelist); echo "<TR>\n"; --- 161,165 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $a->readNotes(); ! if ( count($a->notelist) > 0 ) { @reset($a->notelist); echo "<TR>\n"; Index: company_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** company_show.php 2001/07/21 16:03:33 1.8 --- company_show.php 2001/07/28 18:21:21 1.9 *************** *** 87,91 **** # Links $c->readUrls(); ! if ( isset($c->urllist) && (count($c->urllist) > 0) ) { @reset($c->urllist); echo "<TR>\n"; --- 87,91 ---- # Links $c->readUrls(); ! if ( count($c->urllist) > 0 ) { @reset($c->urllist); echo "<TR>\n"; *************** *** 100,117 **** # Older Appointments ! $c->readApps(); ! if ( isset($c->applist) && (count($c->applist) > 0) ) { ! echo "<TR>\n"; ! showfield($lang['CompanyApps']); ! echo " <TD COLSPAN=". ($cols - 1) .">\n"; ! showApps($c,0,1); ! echo " </TD>\n"; ! echo "</TR>\n"; } - # Notes if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $c->readNotes(); ! if ( isset($c->notelist) && (count($c->notelist) > 0) ) { @reset($c->notelist); echo "<TR>\n"; --- 100,118 ---- # Older Appointments ! if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! $c->readApps(); ! if ( count($c->applist) > 0 ) { ! echo "<TR>\n"; ! showfield($lang['CompanyApps']); ! echo " <TD COLSPAN=". ($cols - 1) .">\n"; ! showApps($c,0,1); ! echo " </TD>\n"; ! echo "</TR>\n"; ! } } # Notes if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $c->readNotes(); ! if ( count($c->notelist) > 0 ) { @reset($c->notelist); echo "<TR>\n"; *************** *** 127,131 **** if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $c->readInstallations(); ! if ( isset($c->instlist) && (count($c->instlist) > 0) ) { @reset($c->instlist); echo "<TR>\n"; --- 128,132 ---- if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $c->readInstallations(); ! if ( count($c->instlist) > 0 ) { @reset($c->instlist); echo "<TR>\n"; *************** *** 141,145 **** if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { $c->readRoles(); ! if ( isset($c->prolist) && (count($c->prolist) > 0) ) { @reset($c->prolist); echo "<TR>\n"; --- 142,146 ---- if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { $c->readRoles(); ! if ( count($c->prolist) > 0 ) { @reset($c->prolist); echo "<TR>\n"; Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** config.pinc 2001/07/26 17:14:49 1.55 --- config.pinc 2001/07/28 18:21:21 1.56 *************** *** 279,282 **** --- 279,289 ---- $tutos[timezones][] = "Australia/Perth"; # + # Weekstart + # Default Start of week + # 0 = Sunday + # 1 = Monday + # + $tutos[weekstart] = 0; + # # Holidays # 0 = disable set *************** *** 329,333 **** # (this will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=0; # # Where to put the output --- 336,340 ---- # (this will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=1; # # Where to put the output Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -r1.34 -r1.35 *** db.p3 2001/07/21 16:03:33 1.34 --- db.p3 2001/07/28 18:21:21 1.35 *************** *** 81,84 **** --- 81,85 ---- define (color,74); define (popinfo,75); + define (weekstart,76); # Permissions (see also user.pinc) Index: department_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/department_show.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** department_show.php 2001/07/21 16:03:33 1.5 --- department_show.php 2001/07/28 18:21:21 1.6 *************** *** 59,63 **** if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { $d->readRoles(); ! if ( isset($d->prolist) && (count($d->prolist) > 0) ) { @reset($d->prolist); echo "<TR>\n"; --- 59,63 ---- if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { $d->readRoles(); ! if ( count($d->prolist) > 0 ) { @reset($d->prolist); echo "<TR>\n"; *************** *** 83,87 **** # Links $d->readUrls(); ! if ( isset($d->urllist) && (count($d->urllist) > 0) ) { @reset($d->urllist); echo "<TR>\n"; --- 83,87 ---- # Links $d->readUrls(); ! if ( count($d->urllist) > 0 ) { @reset($d->urllist); echo "<TR>\n"; *************** *** 98,102 **** if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $d->readApps(); ! if ( isset($d->applist) && (count($d->applist) > 0) ) { echo "<TR>\n"; showfield($lang['DepartmentApps']); --- 98,102 ---- if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $d->readApps(); ! if ( count($d->applist) > 0 ) { echo "<TR>\n"; showfield($lang['DepartmentApps']); *************** *** 110,114 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $d->readNotes(); ! if ( isset($d->notelist) && (count($d->notelist) > 0) ) { @reset($d->notelist); echo "<TR>\n"; --- 110,114 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $d->readNotes(); ! if ( count($d->notelist) > 0 ) { @reset($d->notelist); echo "<TR>\n"; Index: file.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/file.pinc,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** file.pinc 2001/07/21 16:03:33 1.27 --- file.pinc 2001/07/28 18:21:21 1.28 *************** *** 49,52 **** --- 49,54 ---- */ function readFiles(&$obj) { + $obj->filelist = array(); + if ( $obj->gettype() == "address" ) { $q = "SELECT * from files where link_id = ". $obj->id ." order by name"; Index: file_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file_overview.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** file_overview.php 2001/07/21 16:03:33 1.5 --- file_overview.php 2001/07/28 18:21:21 1.6 *************** *** 106,118 **** # sorting ! if ( isset($f) && isset($o) ) { ! $q .= " ORDER by " . $f; ! if ( $o == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"f=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"o=". $o); } else { $q .= " ORDER by name"; --- 106,118 ---- # sorting ! if ( isset($xf) && isset($xo) ) { ! $q .= " ORDER by " . $xf; ! if ( $xo == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"xf=".UrlEncode($xf)); ! $link1 = addUrlParameter($link1,"xo=". $xo); } else { $q .= " ORDER by name"; Index: installation.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation.pinc,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** installation.pinc 2001/07/21 16:03:33 1.20 --- installation.pinc 2001/07/28 18:21:21 1.21 *************** *** 58,61 **** --- 58,63 ---- } + $obj->instlist = array(); + if ( $obj->getType() == "product" ) { $q = "SELECT * from installations where product_id = ". $obj->id ." order by instdate desc"; Index: installation_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_ins.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** installation_ins.php 2001/02/14 20:57:05 1.3 --- installation_ins.php 2001/07/28 18:21:21 1.4 *************** *** 54,58 **** if ( $msg != "" ) { $gotourl= addUrlParameter($gotourl,"pid=". $pid); ! $gotourl= addUrlParameter($gotourl,"money=". $money); $gotourl= addUrlParameter($gotourl,"currency=". UrlEncode($currency)); } else { --- 54,58 ---- if ( $msg != "" ) { $gotourl= addUrlParameter($gotourl,"pid=". $pid); ! $gotourl= addUrlParameter($gotourl,"money=". UrlEncode($money)); $gotourl= addUrlParameter($gotourl,"currency=". UrlEncode($currency)); } else { Index: installation_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_new.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** installation_new.php 2001/02/23 17:25:26 1.4 --- installation_new.php 2001/07/28 18:21:21 1.5 *************** *** 123,127 **** $i->currency = $i->product->currency; } ! # Installer --- 123,132 ---- $i->currency = $i->product->currency; } ! if ( isset($money) ) { ! $i->money = $money; ! } ! if ( isset($currency) ) { ! $i->currency = $currency; ! } # Installer Index: installation_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_show.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** installation_show.php 2001/07/21 16:03:33 1.5 --- installation_show.php 2001/07/28 18:21:21 1.6 *************** *** 67,71 **** if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $i->readBugs(); ! if ( isset($i->buglist) && (count($i->buglist) >0) ) { echo "<TR>\n"; showfield($lang['Bugs']); --- 67,71 ---- if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $i->readBugs(); ! if ( count($i->buglist) >0 ) { echo "<TR>\n"; showfield($lang['Bugs']); *************** *** 90,94 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $i->readNotes(); ! if ( isset($i->notelist) && (count($i->notelist) > 0) ) { @reset($i->notelist); echo "<TR>\n"; --- 90,94 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $i->readNotes(); ! if ( count($i->notelist) > 0 ) { @reset($i->notelist); echo "<TR>\n"; *************** *** 103,107 **** if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $i->readFiles(); ! if ( isset($i->filelist) && (count($i->filelist) > 0) ) { @reset($i->filelist); echo "<TR>\n"; --- 103,107 ---- if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $i->readFiles(); ! if ( count($i->filelist) > 0 ) { @reset($i->filelist); echo "<TR>\n"; Index: mailbox.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox.pinc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** mailbox.pinc 2001/06/22 20:19:07 1.11 --- mailbox.pinc 2001/07/28 18:21:21 1.12 *************** *** 17,20 **** --- 17,21 ---- return; } + $obj->mboxlist = array(); $q = "SELECT * from mailboxes where link_id = ". $obj->id; $r = @DB_Exec($obj->conn,$q); Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** mytutos.php 2001/07/26 17:14:49 1.14 --- mytutos.php 2001/07/28 18:21:21 1.15 *************** *** 36,40 **** /* Back to last Monday before ts */ ! while ( Date("D",$ts) != "Mon" ) { $ts -= 86400; } --- 36,40 ---- /* Back to last Monday before ts */ ! while ( Date("w",$ts) != $current_user->weekstart ) { $ts -= 86400; } *************** *** 42,46 **** $w0 = (( 1 + Date("w",mktime(12,0,0,1,1, Date("Y",$ts) ) )) % 7) > 3; $wn = sprintf("%02d", Round( (Date("z",$ts)+7 ) / 7) ); - $wx = sprintf("%s", ( (Date("z",$ts)+7 ) / 7) ); $yy = Date("y",$ts); --- 42,45 ---- *************** *** 48,51 **** --- 47,53 ---- echo " <TR BGCOLOR=\"#AAAACC\">\n"; echo " <TH>". $lang['week'] ."</TH>\n"; + if ( $current_user->weekstart == 0 ) { + echo " <TH>". $lang['Day0'] ."</TH>\n"; + } echo " <TH>". $lang['Day1'] ."</TH>\n"; echo " <TH>". $lang['Day2'] ."</TH>\n"; *************** *** 54,58 **** echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! echo " <TH>". $lang['Day0'] ."</TH>\n"; echo " </TR>\n"; --- 56,62 ---- echo " <TH>". $lang['Day5'] ."</TH>\n"; echo " <TH>". $lang['Day6'] ."</TH>\n"; ! if ( $current_user->weekstart != 0 ) { ! echo " <TH>". $lang['Day0'] ."</TH>\n"; ! } echo " </TR>\n"; *************** *** 83,87 **** $hastable = 0; ! if ( isset($current_user->callist) && (count($current_user->callist) > 0) ) { $xxx = $current_user->callist; @reset($xxx); --- 87,91 ---- $hastable = 0; ! if ( count($current_user->callist) > 0 ) { $xxx = $current_user->callist; @reset($xxx); *************** *** 89,126 **** # Check if appointment is displayed if ( $apo->gettype() == "appointment" ) { ! $found = 0; ! @reset($apo->participant); ! while ( ($found == 0) && (list ($i,$f) = @each ($apo->participant)) ) { ! if ( $f->id == $adr->id ) { ! $found = 1; ! } else { ! $xx = $adr->teamids; ! @reset($xx); ! while ( list ($i2,$f2) = @each ($xx) ) { ! if ( $f->id == $i2 ) { $found = 1; } ! } ! } ! } ! if ( $found == 0 ) { ! continue; ! } ! } ! # Do not show finished tasks ! if ( ($apo->gettype() == "task") && ($apo->state == 2) ) { ! continue; ! } ! if ( $hastable == 0 ) { ! echo " <TABLE BGCOLOR=\"white\" CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=\"100%\">\n"; ! $hastable = 1; ! } else { ! echo " <TR><TD CLASS=app COLSPAN=3><FONT COLOR=black SIZE=-5><HR NOSHADE SIZE=1></FONT></TD></TR>\n"; ! } ! # Show appointments or task ! $apo->formatted(); } } ! if ( $hastable == 1 ) { echo " </TABLE>\n"; --- 93,130 ---- # Check if appointment is displayed if ( $apo->gettype() == "appointment" ) { ! $found = 0; ! @reset($apo->participant); ! while ( ($found == 0) && (list ($i,$f) = @each ($apo->participant)) ) { ! if ( $f->id == $adr->id ) { $found = 1; + } else { + $xx = $adr->teamids; + @reset($xx); + while ( list ($i2,$f2) = @each ($xx) ) { + if ( $f->id == $i2 ) { + $found = 1; + } + } } ! } ! if ( $found == 0 ) { ! continue; ! } ! } ! // Do not show finished tasks ! if ( ($apo->gettype() == "task") && ($apo->state == 2) ) { ! continue; ! } ! if ( $hastable == 0 ) { ! echo " <TABLE BGCOLOR=\"white\" CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=\"100%\">\n"; ! $hastable = 1; ! } else { ! echo " <TR><TD CLASS=app COLSPAN=3><FONT COLOR=black SIZE=-5><HR NOSHADE SIZE=1></FONT></TD></TR>\n"; ! } ! // Show appointments or task ! $apo->formatted(); } } ! if ( $hastable == 1 ) { echo " </TABLE>\n"; Index: note_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note_overview.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** note_overview.php 2001/07/21 16:03:33 1.4 --- note_overview.php 2001/07/28 18:21:21 1.5 *************** *** 286,300 **** # sorting ! if ( isset($f) && isset($o) ) { ! $q .= " ORDER by " . $f; ! if ( $o == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"f=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"o=". $o); ! $link2 = addUrlParameter($link2,"f=".UrlEncode($f)); ! $link2 = addUrlParameter($link2,"o=". $o); } else { $q .= " ORDER by notes.creation DESC"; --- 286,300 ---- # sorting ! if ( isset($xf) && isset($xo) ) { ! $q .= " ORDER by " . $xf; ! if ( $xo == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"xf=".UrlEncode($xf)); ! $link1 = addUrlParameter($link1,"xo=". $xo); ! $link2 = addUrlParameter($link2,"xf=".UrlEncode($xf)); ! $link2 = addUrlParameter($link2,"xo=". $xo); } else { $q .= " ORDER by notes.creation DESC"; Index: product.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/product.pinc,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** product.pinc 2001/07/21 16:03:33 1.31 --- product.pinc 2001/07/28 18:21:21 1.32 *************** *** 150,153 **** --- 150,159 ---- return; } + if ( !empty($typ) ) { + $obj->prolist[$typ] = array(); + } else { + $obj->prolist = array(); + } + $q = "SELECT * from products"; $q1 = "SELECT pro_id,role_id FROM projectroles"; Index: product_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_new.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** product_new.php 2001/07/21 16:03:33 1.13 --- product_new.php 2001/07/28 18:21:21 1.14 *************** *** 19,23 **** */ Function info($p) { ! global $lang, $title, $current_user; echo "<TABLE BORDER=0 CELLSPACING=0>\n"; --- 19,23 ---- */ Function info($p) { ! global $lang, $title, $current_user, $tutos; echo "<TABLE BORDER=0 CELLSPACING=0>\n"; *************** *** 170,187 **** if ( $p->id > 0 ) { ! $p->readMailboxes(); ! echo "<TR>\n"; ! showfield($lang['ProdMailbox']); ! echo " <TD COLSPAN=3>\n"; ! if ( isset($p->mboxlist) && (count($p->mboxlist) >0) ) { ! @reset($p->mboxlist); ! while ( list ($i,$f) = @each ($p->mboxlist) ) { ! echo "". makelink("mailbox_new.php?id=". $i, $lang['Change'] ." ". $f->getFullName()) ."<BR>\n"; ! } ! } ! echo "". makelink("mailbox_new.php?id=-1&parent=". $p->id, $lang['NewEntry']) ."<BR>\n"; ! echo " </TD>\n"; ! ! echo "</TR>\n"; } --- 170,189 ---- if ( $p->id > 0 ) { ! if ( ($current_user->p[usemailboxes] == 1) && ($tutos[usemailboxes] == 1) ) { ! $p->readMailboxes(); ! echo "<TR>\n"; ! showfield($lang['ProdMailbox']); ! echo " <TD COLSPAN=3>\n"; ! if ( count($p->mboxlist) >0 ) { ! @reset($p->mboxlist); ! while ( list ($i,$f) = @each ($p->mboxlist) ) { ! echo "". makelink("mailbox_new.php?id=". $i, $lang['Change'] ." ". $f->getFullName()) ."<BR>\n"; ! } ! } ! echo "". makelink("mailbox_new.php?id=-1&parent=". $p->id, $lang['NewEntry']) ."<BR>\n"; ! echo " </TD>\n"; ! ! echo "</TR>\n"; ! } } Index: product_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_show.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** product_show.php 2001/07/21 16:03:33 1.9 --- product_show.php 2001/07/28 18:21:21 1.10 *************** *** 149,176 **** } ! $p->readMailboxes(); ! if ( isset($p->mboxlist) && (count($p->mboxlist) >0) ) { ! echo "<TR>\n"; ! showfield($lang['ProdMailbox']); ! echo " <TD COLSPAN=3>\n"; ! @reset($p->mboxlist); ! while ( list ($i,$f) = @each ($p->mboxlist) ) { ! echo $f->getLink() . "<BR>\n"; ! } ! ! echo " </TD>\n"; ! echo "</TR>\n"; } if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $p->readInstallations(); ! if ( isset($p->instlist) && (count($p->instlist) >0) ) { echo "<TR>\n"; showfield($lang['Installations']); echo " <TD VALIGN=top COLSPAN=3>"; if ( $format == "paper" ) { ! showInstallations($p,0,1,-1); } else { ! showInstallations($p,0,1); } echo "</TD>\n"; --- 149,177 ---- } ! if ( ($current_user->p[usemailboxes] == 1) && ($tutos[usemailboxes] == 1) ) { ! $p->readMailboxes(); ! if ( count($p->mboxlist) >0 ) { ! echo "<TR>\n"; ! showfield($lang['ProdMailbox']); ! echo " <TD COLSPAN=3>\n"; ! @reset($p->mboxlist); ! while ( list ($i,$f) = @each ($p->mboxlist) ) { ! echo $f->getLink() . "<BR>\n"; ! } ! echo " </TD>\n"; ! echo "</TR>\n"; ! } } if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { $p->readInstallations(); ! if ( count($p->instlist) >0 ) { echo "<TR>\n"; showfield($lang['Installations']); echo " <TD VALIGN=top COLSPAN=3>"; if ( $format == "paper" ) { ! showInstallations($p,0,1,-1); } else { ! showInstallations($p,0,1); } echo "</TD>\n"; *************** *** 180,184 **** if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $p->readBugs(); ! if ( isset($p->buglist) && (count($p->buglist) >0) ) { echo "<TR>\n"; showfield($lang['Bugs']); --- 181,185 ---- if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $p->readBugs(); ! if ( count($p->buglist) >0 ) { echo "<TR>\n"; showfield($lang['Bugs']); *************** *** 189,193 **** $p->readUrls(); ! if ( isset($p->urllist) && (count($p->urllist) >0) ) { echo "<TR>\n"; showfield($lang['ProdLinks']); --- 190,194 ---- $p->readUrls(); ! if ( count($p->urllist) >0 ) { echo "<TR>\n"; showfield($lang['ProdLinks']); *************** *** 203,216 **** if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $p->readApps(); ! if ( isset($p->applist) && (count($p->applist) >0) ) { echo "<TR>\n"; showfield($lang['ProdApps']); echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showApps($p,0,2,-1); } else { ! showApps($p,0,2); } ! echo "</TD>\n"; echo "</TR>\n"; } --- 204,217 ---- if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { $p->readApps(); ! if ( count($p->applist) >0 ) { echo "<TR>\n"; showfield($lang['ProdApps']); echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showApps($p,0,2,-1); } else { ! showApps($p,0,2); } ! echo " </TD>\n"; echo "</TR>\n"; } *************** *** 219,223 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $p->readNotes(); ! if ( isset($p->notelist) && (count($p->notelist) >0) ) { @reset($p->notelist); echo "<TR>\n"; --- 220,224 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $p->readNotes(); ! if ( count($p->notelist) >0 ) { @reset($p->notelist); echo "<TR>\n"; *************** *** 225,231 **** echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showNotes($p,0,-1); } else { ! showNotes($p,0); } echo " </TD>\n"; --- 226,232 ---- echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showNotes($p,0,-1); } else { ! showNotes($p,0); } echo " </TD>\n"; *************** *** 236,240 **** if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $p->readFiles(); ! if ( isset($p->filelist) && (count($p->filelist) >0) ) { @reset($p->filelist); echo "<TR>\n"; --- 237,241 ---- if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { $p->readFiles(); ! if ( count($p->filelist) >0 ) { @reset($p->filelist); echo "<TR>\n"; *************** *** 242,250 **** echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showFiles($p,-1); } else { ! showFiles($p); } ! echo "</TD>\n"; echo "</TR>\n"; } --- 243,251 ---- echo " <TD VALIGN=top COLSPAN=3>\n"; if ( $format == "paper" ) { ! showFiles($p,-1); } else { ! showFiles($p); } ! echo " </TD>\n"; echo "</TR>\n"; } *************** *** 253,257 **** if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { $p->readTasks(); ! if ( isset($p->tasklist) && (count($p->tasklist) >0) ) { @reset($p->tasklist); echo "<TR>\n"; --- 254,258 ---- if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { $p->readTasks(); ! if ( count($p->tasklist) >0 ) { @reset($p->tasklist); echo "<TR>\n"; *************** *** 264,281 **** if ( $format == "paper" ) { ! $rows = count($p->tasklist); } else { ! $rows = $tutos[maxshort]; } while ( list ($i,$f) = @each ($p->tasklist) ) { ! if ( ($n >= $rows) && ( $x != $rows ) ) { ! echo $tutos[image][folder] ." ". makelink("task_overview.php?id=". $p->id,sprintf($lang['AllEntries'], count($p->tasklist))); ! break; ! } ! echo $tutos[image][paper] ." ". $f->getLink() ."<BR>\n"; ! $n++; } ! echo "</TD>\n"; echo "</TR>\n"; } --- 265,282 ---- if ( $format == "paper" ) { ! $rows = count($p->tasklist); } else { ! $rows = $tutos[maxshort]; } while ( list ($i,$f) = @each ($p->tasklist) ) { ! if ( ($n >= $rows) && ( $x != $rows ) ) { ! echo $tutos[image][folder] ." ". makelink("task_overview.php?id=". $p->id,sprintf($lang['AllEntries'], count($p->tasklist))); ! break; ! } ! echo $tutos[image][paper] ." ". $f->getLink() ."<BR>\n"; ! $n++; } ! echo " </TD>\n"; echo "</TR>\n"; } Index: res_cal.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/res_cal.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** res_cal.php 2001/06/18 14:43:10 1.8 --- res_cal.php 2001/07/28 18:21:21 1.9 *************** *** 291,294 **** --- 291,297 ---- $uids[$base->id] = $base; } + } else { + $base = $current_user; + $uids[$base->id] = $base; } Index: resource_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource_overview.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** resource_overview.php 2001/04/08 07:23:19 1.2 --- resource_overview.php 2001/07/28 18:21:21 1.3 *************** *** 23,27 **** echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo " <TH>". $lang['ResName'] ."</TH><TH>". $lang['ResDesc'] ."</TH>\n"; echo "</TR>\n"; --- 23,28 ---- echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo order_header("name",$lang['ResName']); ! echo order_header("",$lang['ResDesc']); echo "</TR>\n"; *************** *** 95,110 **** $link1 = "resource_overview.php"; ! $query = "SELECT * FROM resources"; ! $pre = "WHERE"; if ( isset($name) && ($name != "*") && ($name != "") ) { ! $query = "$query $pre". DB_Like("name",$name); ! $pre = "AND"; $link1 = addUrlParameter($link1,"name=". UrlEncode($name)); } ! $query = " $query ORDER by name"; ! $result = @DB_Exec($conn,$query); if ( (! isset($start)) || ($start < 0) ) { --- 96,123 ---- $link1 = "resource_overview.php"; ! $q = "SELECT * FROM resources"; ! $pre = " WHERE "; if ( isset($name) && ($name != "*") && ($name != "") ) { ! $q .= $pre . DB_Like("name",$name); ! $pre = " AND "; $link1 = addUrlParameter($link1,"name=". UrlEncode($name)); } ! # sorting ! if ( isset($xf) && isset($xo) ) { ! $q .=" ORDER by " . $xf; ! if ( $xo == 1 ) { ! $q .= " ASC "; ! } else { ! $q .= " DESC "; ! } ! $link1 = addUrlParameter($link1,"xf=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"xo=". $o); ! } else { ! $q .= " ORDER by name"; ! } ! $result = @DB_Exec($conn,$q); if ( (! isset($start)) || ($start < 0) ) { Index: scheme.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/scheme.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** scheme.php 2001/07/07 19:49:27 1.1 --- scheme.php 2001/07/28 18:21:21 1.2 *************** *** 63,73 **** $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; ! flush(); ! DB_Abort($conn,"WORK"); ! return; } } $q = "create sequence id start 1000"; $r = @DB_Exec($conn,$q,0); DB_Commit($conn,"WORK"); --- 63,81 ---- $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; ! flush(); ! DB_Abort($conn,"WORK"); ! return; } } $q = "create sequence id start 1000"; + $r = @DB_Exec($conn,$q,0); + DB_Commit($conn,"WORK"); + } + if ( $dbtype[typ] == 2) { + DB_Begin($conn,"WORK"); + $q = "create table id (nextval int not null);"; + $r = @DB_Exec($conn,$q,0); + $q = "insert into id values (1000);"; $r = @DB_Exec($conn,$q,0); DB_Commit($conn,"WORK"); Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** task.pinc 2001/07/26 11:36:14 1.23 --- task.pinc 2001/07/28 18:21:21 1.24 *************** *** 720,724 **** $this->readTasks(); if ( isset($this->tasklist) && (count($this->tasklist) > 0) ) { ! @reset($this->tasklist); while ( list ($i,$f) = @each ($this->tasklist) ) { $f->printRow($depth +1,$parent); --- 720,724 ---- $this->readTasks(); if ( isset($this->tasklist) && (count($this->tasklist) > 0) ) { ! @reset($this->tasklist); while ( list ($i,$f) = @each ($this->tasklist) ) { $f->printRow($depth +1,$parent); Index: task_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_new.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** task_new.php 2001/07/21 16:03:33 1.8 --- task_new.php 2001/07/28 18:21:21 1.9 *************** *** 57,63 **** showfieldc($lang['TaskSubTask']); echo " <TD>". $t->parent->getLink()."</TD>\n"; - echo " <INPUT type=hidden name=p_id value=\"". $t->p_id ."\">\n"; echo " </TR>\n"; } echo " <TR>\n"; showfield($lang['TaskDesc'],1); --- 57,63 ---- showfieldc($lang['TaskSubTask']); echo " <TD>". $t->parent->getLink()."</TD>\n"; echo " </TR>\n"; } + echo " <INPUT type=hidden name=p_id value=\"". $t->p_id ."\">\n"; echo " <TR>\n"; showfield($lang['TaskDesc'],1); Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** task_show.php 2001/07/21 16:03:33 1.5 --- task_show.php 2001/07/28 18:21:21 1.6 *************** *** 92,96 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $t->readNotes(); ! if ( isset($t->notelist) && (count($t->notelist) > 0) ) { @reset($t->notelist); echo "<TR>\n"; --- 92,96 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $t->readNotes(); ! if ( count($t->notelist) > 0 ) { @reset($t->notelist); echo "<TR>\n"; *************** *** 104,108 **** if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $t->readBugs(); ! if ( isset($t->buglist) && (count($t->buglist) > 0) ) { echo "<TR>\n"; showfield($lang['Bugs']); --- 104,108 ---- if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { $t->readBugs(); ! if ( count($t->buglist) > 0 ) { echo "<TR>\n"; showfield($lang['Bugs']); *************** *** 113,117 **** $t->readTasks(); ! if ( isset($t->tasklist) && (count($t->tasklist) > 0) ) { @reset($t->tasklist); echo "<TR>\n"; --- 113,117 ---- $t->readTasks(); ! if ( count($t->tasklist) > 0 ) { @reset($t->tasklist); echo "<TR>\n"; *************** *** 127,131 **** $n++; } ! echo "</TD>\n"; echo "</TR>\n"; } --- 127,131 ---- $n++; } ! echo " </TD>\n"; echo "</TR>\n"; } Index: url.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/url.pinc,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** url.pinc 2001/06/22 20:19:07 1.16 --- url.pinc 2001/07/28 18:21:21 1.17 *************** *** 58,62 **** */ function readUrls(&$obj) { ! $q = "SELECT * from urls where link_id = $obj->id order by name"; $r = @DB_Exec($obj->conn,$q); $n = DB_NumRows($r); --- 58,64 ---- */ function readUrls(&$obj) { ! ! $obj->urllist = array(); ! $q = "SELECT * from urls where link_id = ". $obj->id ." order by name"; $r = @DB_Exec($obj->conn,$q); $n = DB_NumRows($r); *************** *** 68,72 **** $a++; } - # echo "$a $n obj->urllist is " . gettype($obj->urllist) ." ". count($obj->urllist) . "<BR>\n"; return; } --- 70,73 ---- Index: user.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/user.pinc,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** user.pinc 2001/07/21 16:03:33 1.33 --- user.pinc 2001/07/28 18:21:21 1.34 *************** *** 62,65 **** --- 62,67 ---- } } + // Start of week + $this->weekstart = $tutos[weekstart]; } /* --------------------------------------------------------------------------- Index: watchlist_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/watchlist_overview.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** watchlist_overview.php 2001/07/21 16:03:33 1.3 --- watchlist_overview.php 2001/07/28 18:21:21 1.4 *************** *** 40,47 **** echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo " <TH NOWRAP>Typ</TH>\n"; ! echo " <TH NOWRAP>ID</TH>\n"; ! echo " <TH NOWRAP>". $lang['Watcher'] ."</TH>\n"; ! echo " <TH NOWRAP> </TH>\n"; echo "</TR>\n"; --- 40,47 ---- echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; ! echo order_header("","Typ"); ! echo order_header("","ID"); ! echo order_header("adr_id",$lang['Watcher']); ! echo order_header(""," "); echo "</TR>\n"; *************** *** 131,143 **** # sorting ! if ( isset($f) && isset($o) ) { ! $q .=" ORDER by " . $f; ! if ( $o == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"f=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"o=". $o); } else { $q .= " ORDER by obj_id"; --- 131,143 ---- # sorting ! if ( isset($xf) && isset($xo) ) { ! $q .=" ORDER by " . $xf; ! if ( $xo == 1 ) { $q .= " ASC "; } else { $q .= " DESC "; } ! $link1 = addUrlParameter($link1,"xf=".UrlEncode($f)); ! $link1 = addUrlParameter($link1,"xo=". $o); } else { $q .= " ORDER by obj_id"; |
From: Gero K. <gok...@us...> - 2001-07-28 18:21:23
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv4342 Modified Files: ChangeLog Log Message: Fixes for 200107?? Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** ChangeLog 2001/07/26 17:14:49 1.54 --- ChangeLog 2001/07/28 18:21:20 1.55 *************** *** 1,5 **** $Header$ July 26 2001 ! * RELEASE 20010726 July 22 2001 * new: task creation on the mytutos page. This is a first step towards a new ToDO --- 1,10 ---- $Header$ + July 28 2001 + * fixed display order change machanism in file and appointment overviews + * new weekstart config parameter. Weeks can start on Sunday or Monday. See config.pinc + * fixed personal tasks creation; + * fixed missing sequencer for MySQL in the easy install routine (scheme.php) July 26 2001 ! * RELEASE 20010726 ( with a lot of file corruption problems on sourceforge ) July 22 2001 * new: task creation on the mytutos page. This is a first step towards a new ToDO |
From: Gero K. <gok...@us...> - 2001-07-26 17:37:11
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv8299/php Modified Files: bug_overview.php Log Message: Last small fixc before release Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_overview.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** bug_overview.php 2001/07/21 16:03:33 1.12 --- bug_overview.php 2001/07/26 17:37:08 1.13 *************** *** 98,102 **** if ( ( $a < $n ) || ( $start != 0 ) ) { echo "<TR>\n"; ! echo " <TH COLSPAN=7>\n"; if ( $start > 0 ) { $l = addUrlParameter($link1,"start=0"); --- 98,102 ---- if ( ( $a < $n ) || ( $start != 0 ) ) { echo "<TR>\n"; ! echo " <TH COLSPAN=8>\n"; if ( $start > 0 ) { $l = addUrlParameter($link1,"start=0"); |
From: Gero K. <gok...@us...> - 2001-07-26 17:14:52
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv2665/php Modified Files: address_select.php config.pinc mytutos.php Log Message: Prepare Release 2001072x III Index: address_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_select.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** address_select.php 2001/07/21 16:03:33 1.5 --- address_select.php 2001/07/26 17:14:49 1.6 *************** *** 151,156 **** --- 151,161 ---- HTML_Header($lang['AddressSearch']); + # The extended mode fields if ( isset($adrsearch) ) { $tutos[adrsearch] = $adrsearch; + } + # The default search string + if ( ! isset($adrlook) ) { + $adrlook = ""; } if ( ! isset($ext) ) { Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** config.pinc 2001/07/26 11:36:14 1.54 --- config.pinc 2001/07/26 17:14:49 1.55 *************** *** 329,333 **** # (this will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=1; # # Where to put the output --- 329,333 ---- # (this will fill the messages table and the file $tutos[errlog]) # ! $tutos[debug]=0; # # Where to put the output *************** *** 355,359 **** # The TUTOS Version number # ! $tutos[version]="20010717"; # $includes[config.pinc] = 1; --- 355,359 ---- # The TUTOS Version number # ! $tutos[version]="20010726"; # $includes[config.pinc] = 1; Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** mytutos.php 2001/07/21 16:03:33 1.13 --- mytutos.php 2001/07/26 17:14:49 1.14 *************** *** 288,292 **** echo " <TD>" . $f->getLink() ."</TD>\n"; echo " </TR>\n"; - $a++; } info_table_end(); --- 288,291 ---- |
From: Gero K. <gok...@us...> - 2001-07-26 17:14:52
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv2665 Modified Files: ChangeLog Makefile.in apache.conf.in tutos.spec Log Message: Prepare Release 2001072x III Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** ChangeLog 2001/07/26 11:36:14 1.53 --- ChangeLog 2001/07/26 17:14:49 1.54 *************** *** 20,24 **** LDAP Server could be defined in config.pinc and PHP must know about LDAP July 05 2001 ! * new: installation vithout shellscripts Please test this by calling http://[yourserver]/tutos/php/scheme.php Still problems with postgres and oracle here --- 20,24 ---- LDAP Server could be defined in config.pinc and PHP must know about LDAP July 05 2001 ! * new: installation without shellscripts Please test this by calling http://[yourserver]/tutos/php/scheme.php Still problems with postgres and oracle here Index: Makefile.in =================================================================== RCS file: /cvsroot/tutos/tutos/Makefile.in,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -r1.50 -r1.51 *** Makefile.in 2001/07/21 16:03:32 1.50 --- Makefile.in 2001/07/26 17:14:49 1.51 *************** *** 11,14 **** --- 11,17 ---- # # $Log$ + # Revision 1.51 2001/07/26 17:14:49 gokohnert + # Prepare Release 2001072x III + # # Revision 1.50 2001/07/21 16:03:32 gokohnert # Prepare Release 2001072x *************** *** 483,486 **** --- 486,490 ---- homepage/.htaccess \ homepage/install.html \ + homepage/install_easy.html \ homepage/install_basic.html \ homepage/install_php.html \ Index: apache.conf.in =================================================================== RCS file: /cvsroot/tutos/tutos/apache.conf.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** apache.conf.in 2001/07/21 16:03:32 1.9 --- apache.conf.in 2001/07/26 17:14:49 1.10 *************** *** 10,13 **** --- 10,16 ---- # # $Log$ + # Revision 1.10 2001/07/26 17:14:49 gokohnert + # Prepare Release 2001072x III + # # Revision 1.9 2001/07/21 16:03:32 gokohnert # Prepare Release 2001072x *************** *** 37,40 **** --- 40,52 ---- # Initial Checkin # + # + # ======================================================================= + # Easy install: Include this file in the httpd.conf of your apache server + # Add a line + # include /wherever/this/file/is/apache.conf + # at the end of httpd.conf + # EDIT the allow from line below + # RESTART apache with 'apachectl restart' + # ======================================================================= # # Index: tutos.spec =================================================================== RCS file: /cvsroot/tutos/tutos/tutos.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** tutos.spec 2001/07/21 16:03:32 1.16 --- tutos.spec 2001/07/26 17:14:49 1.17 *************** *** 3,7 **** # Name: TUTOS ! Version: 20010717 Summary: the ultimate team organisation software Release: 1 --- 3,7 ---- # Name: TUTOS ! Version: 20010726 Summary: the ultimate team organisation software Release: 1 |
From: Gero K. <gok...@us...> - 2001-07-26 17:14:52
|
Update of /cvsroot/tutos/tutos/homepage In directory usw-pr-cvs1:/tmp/cvs-serv2665/homepage Modified Files: download.html install.html install_faq.html Added Files: install_easy.html Log Message: Prepare Release 2001072x III --- NEW FILE: install_easy.html --- <!--#include file="head0.html" --> TUTOS Homepage / Easy Installation <!--#include file="head1.html" --> how to install TUTOS / the easy way <!--#include file="head2.html" --> <!--$Id: install_easy.html,v 1.1 2001/07/26 17:14:49 gokohnert Exp $ --> <P> This will run best with an MySQL Database<BR> This way of installation is currently beta. Please give feedback !!<BR> <OL> <LI>get the latest tarball from <A HREF=TUTOS" rel="nofollow">http://sourceforge.net/project/showfiles.php?group_id=8047>TUTOS Project</A> <LI>if you got the bzip version<BR> <TT>tar xvIf tutos.....bz2</TT><BR> or<BR> <TT>cat tutos.....bz2 | bunzip | tar xvf -</TT> <LI>Change to the newly created tutos directory<BR> <LI>if you are updating: Read the ChangeLog file in your base directory<BR> <LI>look for patches that might be neccessary for your release<BR> You will find patches at <A HREF="http://sourceforge.net/patch/?group_id=8047" rel="nofollow">http://sourceforge.net/patch/?group_id=8047">http://sourceforge.net/patch/?group_id=8047</A> <LI>edit [tutosdir]/php/config.pinc according to your Database Server <LI>edit apache.conf and include it into your apache httpd.conf <LI>run http://[yourserver]/tutos/php/scheme.php <UL> <LI>depending on the number of steps you perform you will have a runable tutos installation afterwards <LI>with a superuser account (User: superuser Password: tutos <FONT COLOR=red>CHANGE THIS !!</FONT>) <LI>with some example users and data </UL> <LI>test everything <UL> <LI>Login at http://[yourserver]/tutos/php/mytutos.php with the above username and password </UL> <LI><B>remove scheme.php from your php subdir !!!</B> </OL> If this fails you have to try the <A HREF=install_basic.html>long way</A>. Sorry. <P> <A HREF=install.html>Back to install page</A><BR> <!--#include file="foot1.html" --> Index: download.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/download.html,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** download.html 2001/06/18 17:36:41 1.30 --- download.html 2001/07/26 17:14:49 1.31 *************** *** 17,23 **** <P> <UL> ! <LI>18 June 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010618.tar.bz2> ! tutos-all-20010618.tar.bz2</STRIKE></A> <P>OLDER:<BR> <LI>08 April 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010408.tar.bz2> <STRIKE>tutos-all-20010408.tar.bz2</STRIKE></A> --- 17,25 ---- <P> <UL> ! <LI>26 July 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010726.tar.bz2> ! tutos-all-20010726.tar.bz2</STRIKE></A> <P>OLDER:<BR> + <LI>18 June 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010618.tar.bz2> + <STRIKE>tutos-all-20010618.tar.bz2</STRIKE></A> <LI>08 April 2001: <A HREF=" rel="nofollow">http://download.sourceforge.net/tutos/tutos-all-20010408.tar.bz2> <STRIKE>tutos-all-20010408.tar.bz2</STRIKE></A> Index: install.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/install.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** install.html 2000/09/07 20:50:12 1.8 --- install.html 2001/07/26 17:14:49 1.9 *************** *** 16,19 **** <LI><A HREF=install_hints.html>Hints</A> </UL> ! <!--#include file="foot1.html" --> --- 16,22 ---- <LI><A HREF=install_hints.html>Hints</A> </UL> ! <HR> ! <B>NOW: New and not fully tested</B> ! <BR> ! <B><A HREF=install_easy.html>The easy way</A></B> <!--#include file="foot1.html" --> Index: install_faq.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/install_faq.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** install_faq.html 2001/02/11 20:43:48 1.3 --- install_faq.html 2001/07/26 17:14:49 1.4 *************** *** 18,23 **** have no per se no rights to do anything within TUTOS.<BR> <LI>I got errors like "Fatal error: Cannot redeclare class address..."<BR> ! Your PHP loads a foreign class before loading tutos classes. Have a look at your php.ini file and look for "auto_prepend_file = ". If this mentioned a file to load then remove that filename and try again. --- 18,29 ---- have no per se no rights to do anything within TUTOS.<BR> + <LI>I got errors like " Warning: Safe Mode: Cannot set environment variable 'TZ' - it's not in the allowed list ."<BR> + Your PHP engine runs in the safe mode but TUTOS likes to change the Timezone Environment for certain operations. + Chanhe your <B><I>php.ini</I></B> file to allow the change of the TZ environement or disable the PHP safe mode totally. + <PRE>safe_mode = Off </PRE> + + <LI>I got errors like "Fatal error: Cannot redeclare class address..."<BR> ! Your PHP loads a foreign class before loading tutos classes. Have a look at your <B><I>php.ini</I></B> file and look for "auto_prepend_file = ". If this mentioned a file to load then remove that filename and try again. *************** *** 26,32 **** TUTOS allows you to customize displayed text. Just create a file called <B>php/lang_custom.p3</B> and add all fields you want to change. Use the same format like in the standard language files (de.p3, en.p3 ...). ! </UL> <P> <P> --- 32,56 ---- TUTOS allows you to customize displayed text. Just create a file called <B>php/lang_custom.p3</B> and add all fields you want to change. Use the same format like in the standard language files (de.p3, en.p3 ...). + If you like make language specific changes than call the new file de_custom.p3 or en_custom.p3 etc. ! <LI>How can I enable mail reminders<BR> ! Add a cronjob that periodically call the http://[yourserver]/tutos/php/check.php page<BR> ! Such a cronjob line will look like this<BR> ! <FONT SIZE=-1> ! <PRE>*/5 * * * * /usr/bin/lynx -accept_all_cookies -dump http://[yourhost]/tutos/php/check.php3 > /dev/null </PRE> ! or ! <PRE>*/5 * * * * /usr/bin/wget -a /dev/null -O /dev/null http://[yourhost]/tutos/php/check.php3 2> /dev/null </PRE> ! </FONT> ! Ensure that the mail mechanism does work. See <I>config.pinc</I> $tutos[mailmode] ! ! <LI>How can I add my company/department logo in the headline<BR> ! Change the logo section in <I>config.pinc</I>. The $tutos[logo] will be resized to 40 pixels height.<BR> + <LI>TUTOS displays wrong times<BR> + Check the Timezone in <I>config.pinc</I> $tutos[defaultTZ]. This must be the same TZ that your database is using. Check that your Operating System knows about the timezone names that are listed in <I>config.pinc</I> + + + + </UL> <P> <P> |
From: Gero K. <gok...@us...> - 2001-07-26 11:36:16
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv10336/php Modified Files: calendar_new.php calendar_new_r.php config.pinc file_ins.php file_new.php logout.php mailbox_overview.php permission.p3 task.pinc webelements.p3 Log Message: Prepare Release 2001072x II Index: calendar_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar_new.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** calendar_new.php 2001/07/07 19:49:27 1.15 --- calendar_new.php 2001/07/26 11:36:14 1.16 *************** *** 23,27 **** ! for ( $i = 0 ; $i < count($lang['AppLoc']); $i++ ) { $outside_checked[$i] = ""; } --- 23,28 ---- ! @reset($lang['AppLoc']); ! while ( list ($i,$f) = @each ($lang['AppLoc']) ) { $outside_checked[$i] = ""; } *************** *** 185,201 **** echo " </TD>\n"; ! $x[0] = ""; ! $x[15] = ""; ! $x[60] = ""; ! $x[1440] = ""; ! $x[10080] = ""; $x[$a->remember] = "SELECTED"; echo " <TD COLSPAN=3>". $lang['AppEmailRemind'] ."<BR>\n"; echo " <SELECT name=\"remember\">\n"; ! echo " <OPTION VALUE=0 $x[0]>". $lang['AppRemind'][0] ."</OPTION>\n"; ! echo " <OPTION VALUE=15 $x[15]>". $lang['AppRemind'][15] ."</OPTION>\n"; ! echo " <OPTION VALUE=60 $x[60]>". $lang['AppRemind'][60] ."</OPTION>\n"; ! echo " <OPTION VALUE=1440 $x[1440]>". $lang['AppRemind'][1440] ."</OPTION>\n"; ! echo " <OPTION VALUE=10080 $x[10080]>". $lang['AppRemind'][10080] ."</OPTION>\n"; echo " </SELECT>"; echo " </TD>\n"; --- 186,201 ---- echo " </TD>\n"; ! @reset($lang['AppRemind']); ! while ( list ($i,$f) = @each ($lang['AppRemind']) ) { ! $x[$i] = ""; ! } $x[$a->remember] = "SELECTED"; + echo " <TD COLSPAN=3>". $lang['AppEmailRemind'] ."<BR>\n"; echo " <SELECT name=\"remember\">\n"; ! @reset($lang['AppRemind']); ! while ( list ($i,$f) = @each ($lang['AppRemind']) ) { ! echo " <OPTION VALUE=". $i ." ". $x[$i] .">". $f ."</OPTION>\n"; ! } echo " </SELECT>"; echo " </TD>\n"; Index: calendar_new_r.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar_new_r.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** calendar_new_r.php 2001/06/20 17:29:07 1.10 --- calendar_new_r.php 2001/07/26 11:36:14 1.11 *************** *** 22,26 **** ! for ( $i = 0 ; $i < count($lang['AppLoc']); $i++ ) { $outside_checked[$i] = ""; } --- 22,27 ---- ! @reset($lang['AppLoc']); ! while ( list ($i,$f) = @each ($lang['AppLoc']) ) { $outside_checked[$i] = ""; } Index: config.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config.pinc,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** config.pinc 2001/07/21 16:03:33 1.53 --- config.pinc 2001/07/26 11:36:14 1.54 *************** *** 130,137 **** $tutos[ldapserver][2] = "memberdir.netscape.com"; $tutos[ldapport][2] = 389; ! $tutos[ldapserver][3] = "scd2ldap.siemens.net"; ! $tutos[ldapport][3] = 389; ! $tutos[ldapserver][4] = "localhost"; ! $tutos[ldapport][4] = 389; # # Mail Features --- 130,137 ---- $tutos[ldapserver][2] = "memberdir.netscape.com"; $tutos[ldapport][2] = 389; ! #$tutos[ldapserver][3] = "scd2ldap.siemens.net"; ! #$tutos[ldapport][3] = 389; ! #$tutos[ldapserver][4] = "localhost"; ! #$tutos[ldapport][4] = 389; # # Mail Features Index: file_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file_ins.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** file_ins.php 2001/05/12 05:54:33 1.7 --- file_ins.php 2001/07/26 11:36:14 1.8 *************** *** 38,41 **** --- 38,49 ---- } + # Hack for Konquerer + if ( $file != "none" ) { + $farr = $HTTP_POST_FILES["file"]; + if ( $farr['name'] == "" ) { + $file = "none"; + } + } + # New files need a path ! if ( ($file == "none") && !isset($id) ) { *************** *** 43,46 **** --- 51,56 ---- } + $name = trim($name); + if ( ($name == "") && ($file == "none") ) { $msg = $msg . "Please enter a file name.<BR>"; *************** *** 95,118 **** if ( $file != "none" ) { ! $farr = $HTTP_POST_FILES["file"]; ! if ( isset($id) ) { $log = $log . "Changed Dokument \n"; ! if ( $f->filename != $farr['name'] ) { $log = $log . " Name: from ". $f->filename ." to ". $farr['name'] ."\n"; ! } ! if ( $f->filesize != $farr['size'] ) { $log = $log . " Size: from ". $f->filesize ." to ". $farr['size'] ."\n"; ! } ! if ( $f->filetype != $farr['type'] ) { ! $log = $log . " Type: from ". $f->filetype ." to ". $farr['type'] ."\n"; ! } ! } ! if ( $name == "") { $name = $farr['name']; ! } ! $f->tmploc = $farr['tmp_name']; ! $f->filesize = $farr['size']; ! $f->filename = $farr['name']; ! $f->filetype = $farr['type']; } if ( ($f->name != $name) && ($f->name != "") ) { --- 105,128 ---- if ( $file != "none" ) { ! $farr = $HTTP_POST_FILES["file"]; ! if ( isset($id) ) { $log = $log . "Changed Dokument \n"; ! if ( $f->filename != $farr['name'] ) { $log = $log . " Name: from ". $f->filename ." to ". $farr['name'] ."\n"; ! } ! if ( $f->filesize != $farr['size'] ) { $log = $log . " Size: from ". $f->filesize ." to ". $farr['size'] ."\n"; ! } ! if ( $f->filetype != $farr['type'] ) { ! $log = $log . " Type: from ". $f->filetype ." to ". $farr['type'] ."\n"; ! } ! } ! if ( $name == "") { $name = $farr['name']; ! } ! $f->tmploc = $farr['tmp_name']; ! $f->filesize = $farr['size']; ! $f->filename = $farr['name']; ! $f->filetype = $farr['type']; } if ( ($f->name != $name) && ($f->name != "") ) { Index: file_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file_new.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** file_new.php 2001/05/12 05:54:33 1.8 --- file_new.php 2001/07/26 11:36:14 1.9 *************** *** 57,61 **** echo "<TR>\n"; showfield("<BR>".$lang['FileName']); ! echo " <TD COLSPAN=3><INPUT SIZE=40 NAME=file TYPE=file VALUE=\"". $f->filename ."\">\n"; if ( $f->id != -1 ) { echo "<BR><FONT SIZE=-1>". $f->filename ."</FONT>"; --- 57,61 ---- echo "<TR>\n"; showfield("<BR>".$lang['FileName']); ! echo " <TD COLSPAN=3><INPUT SIZE=40 NAME=file TYPE=\"file\" VALUE=\"". $f->filename ."\">\n"; if ( $f->id != -1 ) { echo "<BR><FONT SIZE=-1>". $f->filename ."</FONT>"; Index: logout.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/logout.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** logout.php 2001/02/17 17:04:26 1.2 --- logout.php 2001/07/26 11:36:14 1.3 *************** *** 14,18 **** Function info() { global $lang , $HTTP_REFERER,$userid; ! $msg = ""; if (($userid != -1) && ($userid != "")) { --- 14,18 ---- Function info() { global $lang , $HTTP_REFERER,$userid; ! $msg = ""; if (($userid != -1) && ($userid != "")) { *************** *** 39,53 **** check_user(); if ( ($userid == -1) || ($userid == "") ) { HTML_Header($lang['Login']); logmessage("logout: no $uname $pw"); } else { ! HTML_Header($lang['Logout']); logout(); } - /* Go back to user mask */ - # Header("HTTP/1.0 302 Moved Temporarily"); - # Header("Location: $HTTP_REFERER"); - # Header("Expires: 0"); - # Header("Pragma: no-cache"); HTML_Base1(); --- 39,54 ---- check_user(); if ( ($userid == -1) || ($userid == "") ) { + # THIS SHOULD NEVER HAPPEN (check_user handles this stuff) HTML_Header($lang['Login']); logmessage("logout: no $uname $pw"); } else { ! # HTML_Header($lang['Logout']); logout(); + # Redirect + Header("Status: 302 Moved Temporarily"); + Header("Location: ". $HTTP_REFERER); + DB_Close($conn); + return; } HTML_Base1(); Index: mailbox_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox_overview.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** mailbox_overview.php 2001/06/14 19:10:24 1.6 --- mailbox_overview.php 2001/07/26 11:36:14 1.7 *************** *** 36,39 **** --- 36,55 ---- } + # $search = "Re:"; + if ( $search ) { + $headers = imap_search($m->mbox,'TEXT "'. $search .'"'); + } else { + $headers = @imap_headers ($m->mbox); + } + + $m->errors(); + if ($headers == false) { + echo "<B>Found no mails</B><BR>"; + return; + } + + $cnt = count($headers); + echo "<B>Found ". count($headers) ." mails</B><BR>"; + echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; *************** *** 61,81 **** echo " <TH>". $lang['MailSize'] ."</TH>\n"; echo "</TR>\n"; - - # $search = "Re:"; - if ( $search ) { - $headers = imap_search($m->mbox,'TEXT "'. $search .'"'); - } else { - $headers = @imap_headers ($m->mbox); - } - - $m->errors(); - if ($headers == false) { - echo "</TABLE>\n"; - echo "<B>Found no mails</B><BR>"; - return; - } - - $cnt = count($headers); - echo "<B>Found ". count($headers) ." mails</B><BR>"; $n = 0; --- 77,80 ---- Index: permission.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/permission.p3,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** permission.p3 2001/07/21 16:03:33 1.32 --- permission.p3 2001/07/26 11:36:14 1.33 *************** *** 30,34 **** */ Function logout () { ! global $userid; logmessage("logout: ". $userid); --- 30,34 ---- */ Function logout () { ! global $current_user, $userid; logmessage("logout: ". $userid); *************** *** 36,39 **** --- 36,40 ---- $userid = -1; session_destroy(); + $current_user->id = -1; } *************** *** 47,50 **** --- 48,56 ---- $gotourl = $HTTP_REFERER; } + $x = strpos($gotourl,"?"); + if ( $x != "" ) { + $gotourl = substr($gotourl,0,$x); + } + if ( ! headers_sent() ) { HTML_Header($lang['Login']); *************** *** 55,65 **** echo "<P><FONT>". $msg ."</FONT><BR>"; } ! $x = strpos($gotourl,"?"); ! # echo "$gotourl <BR> $x <BR>"; if ( $x != "" ) { ! $gotourl = substr($gotourl,0,$x); } ! # echo "$gotourl <BR>"; ! echo "<FORM ACTION=\"". $gotourl ."\" method=\"POST\">"; --- 61,71 ---- echo "<P><FONT>". $msg ."</FONT><BR>"; } ! ! # It is useless to jump again to logout ! $x = strpos($gotourl,"logout.php"); if ( $x != "" ) { ! $gotourl = substr($gotourl,0,$x); } ! # echo $gotourl ."<BR>\n"; echo "<FORM ACTION=\"". $gotourl ."\" method=\"POST\">"; Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** task.pinc 2001/07/21 16:03:33 1.22 --- task.pinc 2001/07/26 11:36:14 1.23 *************** *** 406,410 **** $msg = $msg . history_save($this); @DB_Commit($this->conn,"WORK"); ! DB_FreeResult ($r); if ( ($this->diff != 0) && ($this->worker->getType() == "address") ) { --- 406,410 ---- $msg = $msg . history_save($this); @DB_Commit($this->conn,"WORK"); ! # DB_FreeResult ($r); if ( ($this->diff != 0) && ($this->worker->getType() == "address") ) { Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -r1.49 -r1.50 *** webelements.p3 2001/07/21 16:03:33 1.49 --- webelements.p3 2001/07/26 11:36:14 1.50 *************** *** 441,444 **** --- 441,454 ---- echo "\n<!-- --------------- Start the standard navigation --------------- -->\n"; + # Check if logged in + if ( $current_user->id == -1 ) { + echo "<TR VALIGN=bottom>\n"; + echo " <TD NOWRAP>\n"; + make_helplink(1); + echo "</TD></TR>\n"; + echo "</TABLE>\n"; + echo "<!-- --------------- End the navigation --------------- -->\n"; + return; + } echo "<TR VALIGN=bottom><TD><HR NOSHADE SIZE=1></TD></TR>\n"; echo "<TR VALIGN=bottom>\n"; |
From: Gero K. <gok...@us...> - 2001-07-26 11:36:16
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv10336 Modified Files: ChangeLog Log Message: Prepare Release 2001072x II Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** ChangeLog 2001/07/21 16:03:32 1.52 --- ChangeLog 2001/07/26 11:36:14 1.53 *************** *** 1,6 **** $Header$ July 18 2001 * new: list of locations for appointments is now expandable using the language files ! (see the comments there) and the css files July 15 2001 * new: locations for departments --- 1,15 ---- $Header$ + July 26 2001 + * RELEASE 20010726 + July 22 2001 + * new: task creation on the mytutos page. This is a first step towards a new ToDO + feature. personal task have no relation to a product or project + * fixed: file upoads with konquerer browser + * updated: bug summaries are displayed with the accumulated time for the bugs July 18 2001 * new: list of locations for appointments is now expandable using the language files ! (see the comments there) and the .css files in html subdir ! * new: logo in headline. You can define a url for a logo (i.e. your organisation) in ! the TUTOS headline. It will be resized to 40 pixels height. See config.pinc July 15 2001 * new: locations for departments *************** *** 9,13 **** July 06 2001 * new: LDAP Search via address search page ! LDAP Server could be defined in config.pinc July 05 2001 * new: installation vithout shellscripts --- 18,22 ---- July 06 2001 * new: LDAP Search via address search page ! LDAP Server could be defined in config.pinc and PHP must know about LDAP July 05 2001 * new: installation vithout shellscripts *************** *** 323,326 **** --- 332,336 ---- */5 * * * * /usr/bin/lynx -accept_all_cookies -dump http://[yourhost]/tutos/php/check.php3 > /dev/null to your crontab. + or use wget instead of lynx October 20 2000 * new history of changes for products |
From: Gero K. <gok...@us...> - 2001-07-21 16:03:37
|
Update of /cvsroot/tutos/tutos/html In directory usw-pr-cvs1:/tmp/cvs-serv27481/html Modified Files: blue.css red.css tutos.css visual.css Log Message: Prepare Release 2001072x Index: blue.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/blue.css,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** blue.css 2001/06/14 12:33:15 1.10 --- blue.css 2001/07/21 16:03:33 1.11 *************** *** 103,106 **** --- 103,126 ---- } + /* OFFICE */ + .apploc_0 { + color: black; + } + + /* OUT */ + .apploc_1 { + color: black; + } + + /* VACATION */ + .apploc_2 { + color: green; + } + + /* SICK */ + .apploc_3 { + color: red; + } + .holiday { background-color: #FFD0D0; Index: red.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/red.css,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** red.css 2001/06/14 12:33:15 1.4 --- red.css 2001/07/21 16:03:33 1.5 *************** *** 100,103 **** --- 100,123 ---- } + /* OFFICE */ + .apploc_0 { + color: black; + } + + /* OUT */ + .apploc_1 { + color: black; + } + + /* VACATION */ + .apploc_2 { + color: green; + } + + /* SICK */ + .apploc_3 { + color: red; + } + .holiday { background-color: #FFD0D0; Index: tutos.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/tutos.css,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** tutos.css 2001/06/14 12:33:15 1.12 --- tutos.css 2001/07/21 16:03:33 1.13 *************** *** 101,104 **** --- 101,124 ---- } + /* OFFICE */ + .apploc_0 { + color: black; + } + + /* OUT */ + .apploc_1 { + color: black; + } + + /* VACATION */ + .apploc_2 { + color: green; + } + + /* SICK */ + .apploc_3 { + color: red; + } + .holiday { background-color: #FFD0D0; Index: visual.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/visual.css,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** visual.css 2001/06/14 12:33:15 1.2 --- visual.css 2001/07/21 16:03:33 1.3 *************** *** 109,112 **** --- 109,132 ---- } + /* OFFICE */ + .apploc_0 { + color: black; + } + + /* OUT */ + .apploc_1 { + color: black; + } + + /* VACATION */ + .apploc_2 { + color: green; + } + + /* SICK */ + .apploc_3 { + color: red; + } + .holiday { background-color: #FFD0D0; |
From: Gero K. <gok...@us...> - 2001-07-21 16:03:36
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv27481 Modified Files: ChangeLog Makefile.in apache.conf.in createdb.sh tutos.spec Log Message: Prepare Release 2001072x Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -r1.51 -r1.52 *** ChangeLog 2001/06/22 20:19:07 1.51 --- ChangeLog 2001/07/21 16:03:32 1.52 *************** *** 1,3 **** --- 1,17 ---- $Header$ + July 18 2001 + * new: list of locations for appointments is now expandable using the language files + (see the comments there) and the css files + July 15 2001 + * new: locations for departments + July 10 2001 + * new: Polish translation thanks to <ser at metalab.unc.edu> + July 06 2001 + * new: LDAP Search via address search page + LDAP Server could be defined in config.pinc + July 05 2001 + * new: installation vithout shellscripts + Please test this by calling http://[yourserver]/tutos/php/scheme.php + Still problems with postgres and oracle here June 22 2001 * bugfix: Quotes in texts made problems with Oracle Databases Index: Makefile.in =================================================================== RCS file: /cvsroot/tutos/tutos/Makefile.in,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -r1.49 -r1.50 *** Makefile.in 2001/07/07 19:49:26 1.49 --- Makefile.in 2001/07/21 16:03:32 1.50 *************** *** 11,14 **** --- 11,17 ---- # # $Log$ + # Revision 1.50 2001/07/21 16:03:32 gokohnert + # Prepare Release 2001072x + # # Revision 1.49 2001/07/07 19:49:26 gokohnert # Intermediate *************** *** 308,311 **** --- 311,315 ---- php/ru.p3 \ php/ko.p3 \ + php/pl.p3 \ php/pt-br.p3 *************** *** 766,769 **** --- 770,774 ---- cut -f1 -d "=" php/ru.p3 | grep "^.lang" > l.ru cut -f1 -d "=" php/ko.p3 | grep "^.lang" > l.ko + cut -f1 -d "=" php/pl.p3 | grep "^.lang" > l.pl cut -f1 -d "=" php/pt-br.p3 | grep "^.lang" > l.pt @echo "----------------------------------------" *************** *** 784,787 **** --- 789,794 ---- -diff l.en l.ko @echo "----------------------------------------" + -diff l.en l.pl + @echo "----------------------------------------" -diff l.en l.pt *************** *** 799,812 **** # zaphod: jar ${PHP} ${LANGFILES} ${OTHER} ${OTHERJ} ${OTHERP} ${HELP} ${PROPS} zaphod.html tutos.properties updateconfig ! cp ChangeLog createdb.sh example.sh scheme.sh inittutos.sh shellfunc.sh /misc/zaphod/home/gero/src/tutos ! cp ${PHP} ${LANGFILES} /misc/zaphod/home/gero/src/tutos/php ! cp html/*html html/*css html/*png html/*gif /misc/zaphod/home/gero/src/tutos/html ! cp ${HELP} /misc/zaphod/home/gero/src/tutos/html/help ! cp homepage/.htaccess homepage/*html homepage/*png homepage/*css /misc/zaphod/home/gero/src/tutos/homepage ! cp zaphod.html /misc/zaphod/home/gero/src/tutos/html/motd.html ! cp ${JARFILE} /misc/zaphod/home/gero/src/tutos/ ! cp tutos.properties /misc/zaphod/home/gero/src/tutos/ ! cp html/*.proto.* /misc/zaphod/home/gero/src/tutos/html ! cp html/visual/*.gif /misc/zaphod/home/gero/src/tutos/html/visual include depend --- 806,819 ---- # zaphod: jar ${PHP} ${LANGFILES} ${OTHER} ${OTHERJ} ${OTHERP} ${HELP} ${PROPS} zaphod.html tutos.properties updateconfig ! cp ChangeLog createdb.sh example.sh scheme.sh inittutos.sh shellfunc.sh /net/zaphod/home/gero/src/tutos ! cp ${PHP} ${LANGFILES} /net/zaphod/home/gero/src/tutos/php ! cp html/*html html/*css html/*png html/*gif /net/zaphod/home/gero/src/tutos/html ! cp ${HELP} /net/zaphod/home/gero/src/tutos/html/help ! cp homepage/.htaccess homepage/*html homepage/*png homepage/*css /net/zaphod/home/gero/src/tutos/homepage ! cp zaphod.html /net/zaphod/home/gero/src/tutos/html/motd.html ! cp ${JARFILE} /net/zaphod/home/gero/src/tutos/ ! cp tutos.properties /net/zaphod/home/gero/src/tutos/ ! cp html/*.proto.* /net/zaphod/home/gero/src/tutos/html ! cp html/visual/*.gif /net/zaphod/home/gero/src/tutos/html/visual include depend Index: apache.conf.in =================================================================== RCS file: /cvsroot/tutos/tutos/apache.conf.in,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** apache.conf.in 2001/06/18 14:43:10 1.8 --- apache.conf.in 2001/07/21 16:03:32 1.9 *************** *** 10,13 **** --- 10,16 ---- # # $Log$ + # Revision 1.9 2001/07/21 16:03:32 gokohnert + # Prepare Release 2001072x + # # Revision 1.8 2001/06/18 14:43:10 gokohnert # Prepare Release 200106xx IV *************** *** 62,68 **** <Directory "%prefix%"> ! Action cocoon /tutos/servlets/org.apache.cocoon.Cocoon ! AddHandler cocoon xml # Remove next line when already defined in httpd.conf AddType application/x-httpd-php .php DirectoryIndex index.html --- 65,73 ---- <Directory "%prefix%"> ! # Action cocoon /tutos/servlets/org.apache.cocoon.Cocoon ! # AddHandler cocoon xml # Remove next line when already defined in httpd.conf + # .pinc files must be interpreted by PHP to void password stealing ! + AddType application/x-httpd-php .pinc AddType application/x-httpd-php .php DirectoryIndex index.html Index: createdb.sh =================================================================== RCS file: /cvsroot/tutos/tutos/createdb.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** createdb.sh 2001/07/07 19:49:26 1.6 --- createdb.sh 2001/07/21 16:03:32 1.7 *************** *** 168,171 **** --- 168,174 ---- then # + # REMINDER /usr/bin/mysqladmin -u root -p password 'newpassword' + # REMINDER /usr/bin/mysqladmin -u root -h marvin -p password 'new-password' + # # CREATE DATABASE AND USER # Index: tutos.spec =================================================================== RCS file: /cvsroot/tutos/tutos/tutos.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** tutos.spec 2001/06/20 17:29:07 1.15 --- tutos.spec 2001/07/21 16:03:32 1.16 *************** *** 3,7 **** # Name: TUTOS ! Version: 20010618 Summary: the ultimate team organisation software Release: 1 --- 3,7 ---- # Name: TUTOS ! Version: 20010717 Summary: the ultimate team organisation software Release: 1 |
From: Gero K. <gok...@us...> - 2001-07-21 16:03:36
|
Update of /cvsroot/tutos/tutos/homepage In directory usw-pr-cvs1:/tmp/cvs-serv27481/homepage Modified Files: status.html Log Message: Prepare Release 2001072x Index: status.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/status.html,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** status.html 2001/06/20 17:29:07 1.12 --- status.html 2001/07/21 16:03:33 1.13 *************** *** 25,30 **** <B>Online Demo:</B> <P> ! <!-- An online demo (PHP with Postgres) could be found <A HREF=HERE." rel="nofollow">http://demo.tutos.org/tutos/php/mytutos.php>HERE</A>. --> ! An online demo (PHP with Postgres) could be found <A HREF=HERE." rel="nofollow">http://www.tutos.org/php/mytutos.php>HERE</A>. <P> <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=2><TR><TD> --- 25,32 ---- <B>Online Demo:</B> <P> ! <!-- ! An online demo (PHP with Postgres) could be found <A HREF=HERE." rel="nofollow">http://demo.tutos.org/tutos/php/mytutos.php>HERE</A>. ! --> ! An online demo (PHP with MySQL) could be found <A HREF=HERE." rel="nofollow">http://www.tutos.org/php/mytutos.php>HERE</A>. <P> <TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=2><TR><TD> |
From: Sergiusz P. <se...@us...> - 2001-07-11 13:06:10
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv16557 Modified Files: pl.p3 Log Message: - translated last changes in english texts. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** pl.p3 2001/07/10 18:06:36 1.2 --- pl.p3 2001/07/11 13:06:07 1.3 *************** *** 31,35 **** $lang['createdby'] = "utworzone przez"; $lang['Description'] = "Opis"; ! $lang['InfoEmail'] = "Inform by Email"; $lang['InviteEmail'] = "Zawiadom przez e-mail"; $lang['IgnoreTime'] = "zignoruj powy¿sze terminy"; --- 31,35 ---- $lang['createdby'] = "utworzone przez"; $lang['Description'] = "Opis"; ! $lang['InfoEmail'] = "Informuj przez pocztê"; $lang['InviteEmail'] = "Zawiadom przez e-mail"; $lang['IgnoreTime'] = "zignoruj powy¿sze terminy"; *************** *** 93,97 **** $lang['lang']['ru'] = "rosyjski"; $lang['lang']['pt'] = "portugalski"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; --- 93,97 ---- $lang['lang']['ru'] = "rosyjski"; $lang['lang']['pt'] = "portugalski"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; *************** *** 136,142 **** $lang['OrderBy'] = "w kolejno¶ci %s"; $lang['RevOrderBy'] = "w odwrotnej kolejno¶ci %s"; ! # !!!!!!!!!!!!! ! $lang['Export'] = "Export"; ! $lang['ExportInfo'] = "Export data as file"; # Appointments --- 136,141 ---- $lang['OrderBy'] = "w kolejno¶ci %s"; $lang['RevOrderBy'] = "w odwrotnej kolejno¶ci %s"; ! $lang['Export'] = "Eksportuj"; ! $lang['ExportInfo'] = "Eksportuj dane jako plik"; # Appointments *************** *** 234,239 **** $lang['BugCreation'] = "utworzone przez %s dnia %s"; $lang['BugProduct'] = "Produkt/Projekt"; ! # !!!!!!!!!!!!!!! ! $lang['BugReference'] = "Reference"; $lang['BugSolvedBy'] = "rozwi±zane przez"; $lang['BugClosedBy'] = "zamkniête przez"; --- 233,237 ---- $lang['BugCreation'] = "utworzone przez %s dnia %s"; $lang['BugProduct'] = "Produkt/Projekt"; ! $lang['BugReference'] = "Powi±zanie"; $lang['BugSolvedBy'] = "rozwi±zane przez"; $lang['BugClosedBy'] = "zamkniête przez"; *************** *** 245,250 **** $lang['BugCreate'] = "Raportuj pluskwê"; $lang['BugCreateInfo'] = "Raportuj pluskwê w %s"; ! # !!!!!!!!!!!!!!!!! ! $lang['BugDeleteI'] = "delete this bug %s"; $lang['BugStates'][1] = "OTWARTA"; $lang['BugStates'][2] = "PRACA TRWA"; --- 243,247 ---- $lang['BugCreate'] = "Raportuj pluskwê"; $lang['BugCreateInfo'] = "Raportuj pluskwê w %s"; ! $lang['BugDeleteI'] = "Skasuj pluskwê %s"; $lang['BugStates'][1] = "OTWARTA"; $lang['BugStates'][2] = "PRACA TRWA"; *************** *** 344,349 **** # Mailboxes ! # !!!!!!!!!!!!!!!!!1 ! $lang['MailboxName'] = "Mailbox Name"; $lang['MailboxHost'] = "Nazwa kanoniczna"; $lang['MailboxPort'] = "Port"; --- 341,345 ---- # Mailboxes ! $lang['MailboxName'] = "Nazwa skrzynki"; $lang['MailboxHost'] = "Nazwa kanoniczna"; $lang['MailboxPort'] = "Port"; *************** *** 424,434 **** # Gantt Diagramm ! $lang['GanttLink'] = "See the Gantt"; ! $lang['GanttLinkInfo'] = "Gantt diagramm"; ! $lang['GanttTitle'] = "GANTT diagramm"; ! $lang['GanttStart'] = "Begin date"; ! $lang['GanttEnd'] = "End date"; ! $lang['GanttVolume'] = "hour volume"; ! $lang['GanttCompletition'] = "Completed"; # Installations --- 420,430 ---- # Gantt Diagramm ! $lang['GanttLink'] = "Zobacz wykres Ganta"; ! $lang['GanttLinkInfo'] = "Wykres Ganta"; ! $lang['GanttTitle'] = "Wykres Ganta"; ! $lang['GanttStart'] = "Czas rozpoczêcia"; ! $lang['GanttEnd'] = "Czas zakoñczenia"; ! $lang['GanttVolume'] = "Czas realizacji"; ! $lang['GanttCompletition'] = "Zakoñczenie"; # Installations *************** *** 519,530 **** $lang['NoteCreator'] = "utworzona przez"; $lang['NoteLinkInfo'] = "notka z %s"; ! $lang['NoteSearch'] = "Note Search"; $lang['SearchForNote'] = "Search for a note"; ! $lang['SearchForNoteExt'] = "extended Search for a note"; ! $lang['NoteSelInfo'] = "(leave empty to see all notes)"; ! $lang['NoteRefType'] = "Reference type"; ! $lang['NoteRefName'] = "Reference name"; ! $lang['NoteBetween'] = "created between"; ! $lang['NotesOverview'] = "Note Overview"; # Address --- 515,526 ---- $lang['NoteCreator'] = "utworzona przez"; $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"; ! $lang['NoteRefName'] = "Nazwa odniesienia"; ! $lang['NoteBetween'] = "Utworzone pomiêdzy"; ! $lang['NotesOverview'] = "Przegl±d notek"; # Address *************** *** 582,588 **** $lang['SearchForAdrExt'] = "Rozszerzone przeszukiwanie ksi±¿ki adresowej"; $lang['SearchForCmp'] = "Szukaj firmy"; ! # !!!!!!!!!!!!!!!!! ! $lang['SearchLdapAdr'] = "Lookup in Internet"; ! $lang['LDAPServer'] = "Server"; # URL --- 578,583 ---- $lang['SearchForAdrExt'] = "Rozszerzone przeszukiwanie ksi±¿ki adresowej"; $lang['SearchForCmp'] = "Szukaj firmy"; ! $lang['SearchLdapAdr'] = "Szukaj w internecie"; ! $lang['LDAPServer'] = "Serwer"; # URL *************** *** 724,729 **** $lang['AdminDBPort'] = "Port"; $lang['AdminLoginInfo'] = "Ostatnie logowania"; ! # !!!!!!!!!!!!!!!!!! ! $lang['DBInit'] = "Database Initialization"; # Object Types --- 719,723 ---- $lang['AdminDBPort'] = "Port"; $lang['AdminLoginInfo'] = "Ostatnie logowania"; ! $lang['DBInit'] = "Inicjalizacja"; # Object Types *************** *** 768,774 **** $lang['perm'][useaddressbook] = "u¿ywanie ksi±¿ki adresowej"; $lang['perm'][usemailboxes] = "u¿ywanie skrzynek"; ! $lang['perm'][usemail] = "use mail"; ! $lang['perm'][useldap] = "use LDAP"; ! $lang['FeatureOff'] = "Cecha w ogóle wy³±czona"; # Aliases --- 762,768 ---- $lang['perm'][useaddressbook] = "u¿ywanie ksi±¿ki adresowej"; $lang['perm'][usemailboxes] = "u¿ywanie skrzynek"; ! $lang['perm'][usemail] = "u¿ywanie poczty"; ! $lang['perm'][useldap] = "u¿ywanie LDAP"; ! $lang['FeatureOff'] = "Cecha w ogóle wy³±czona"; # Aliases |