tutos-commits Mailing List for TUTOS (Page 461)
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
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv30008/php Modified Files: de.p3 en.p3 es.p3 fr.p3 it.p3 ko.p3 nl.p3 pl.p3 ru.p3 tw.p3 zh.p3 pt-br.p3 Log Message: prepare relaes 200108?? IV Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -r1.56 -r1.57 *** de.p3 2001/08/22 17:17:51 1.56 --- de.p3 2001/08/22 22:15:54 1.57 *************** *** 753,757 **** $lang['perm'][usemail] = "Mailnutzung"; $lang['perm'][useldap] = "LDAP-Nutzung"; ! $lang['FeatureOff'] = "Funktion global abgeschaltet"; # Error Messages --- 753,757 ---- $lang['perm'][usemail] = "Mailnutzung"; $lang['perm'][useldap] = "LDAP-Nutzung"; ! $lang['FeatureOff'] = "Funktion global abgeschaltet"; # Error Messages Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** en.p3 2001/08/22 17:17:51 1.53 --- en.p3 2001/08/22 22:15:54 1.54 *************** *** 96,100 **** $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 96,100 ---- $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** es.p3 2001/08/22 17:17:51 1.38 --- es.p3 2001/08/22 22:15:54 1.39 *************** *** 98,102 **** $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 98,102 ---- $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** fr.p3 2001/08/22 17:17:51 1.37 --- fr.p3 2001/08/22 22:15:54 1.38 *************** *** 98,102 **** $lang['lang']['ru'] = "Russe"; $lang['lang']['pt'] = "Portugais"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 98,102 ---- $lang['lang']['ru'] = "Russe"; $lang['lang']['pt'] = "Portugais"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** it.p3 2001/08/22 17:17:51 1.46 --- it.p3 2001/08/22 22:15:54 1.47 *************** *** 96,100 **** $lang['lang']['ru'] = "russo"; $lang['lang']['pt'] = "portoghese"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 96,100 ---- $lang['lang']['ru'] = "russo"; $lang['lang']['pt'] = "portoghese"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** ko.p3 2001/08/22 17:17:51 1.12 --- ko.p3 2001/08/22 22:15:54 1.13 *************** *** 96,100 **** $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 96,100 ---- $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** nl.p3 2001/08/22 17:17:51 1.5 --- nl.p3 2001/08/22 22:15:54 1.6 *************** *** 98,102 **** $lang['lang']['ru'] = "russisch"; $lang['lang']['pt'] = "portugees"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "nederlands"; --- 98,102 ---- $lang['lang']['ru'] = "russisch"; $lang['lang']['pt'] = "portugees"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "nederlands"; Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** pl.p3 2001/08/22 17:17:51 1.9 --- pl.p3 2001/08/22 22:15:54 1.10 *************** *** 102,106 **** $lang['lang']['ru'] = "rosyjski"; $lang['lang']['pt'] = "portugalski"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 102,106 ---- $lang['lang']['ru'] = "rosyjski"; $lang['lang']['pt'] = "portugalski"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** ru.p3 2001/08/22 17:17:51 1.32 --- ru.p3 2001/08/22 22:15:54 1.33 *************** *** 96,100 **** $lang['lang']['ru'] = "ÒÕÓÓËÉÊ"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 96,100 ---- $lang['lang']['ru'] = "ÒÕÓÓËÉÊ"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** tw.p3 2001/08/22 17:17:51 1.32 --- tw.p3 2001/08/22 22:15:54 1.33 *************** *** 100,104 **** $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 100,104 ---- $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** zh.p3 2001/08/22 17:17:51 1.32 --- zh.p3 2001/08/22 22:15:54 1.33 *************** *** 100,104 **** $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 100,104 ---- $lang['lang']['ru'] = "russian"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** pt-br.p3 2001/08/22 17:17:51 1.25 --- pt-br.p3 2001/08/22 22:15:54 1.26 *************** *** 96,100 **** $lang['lang']['ru'] = "russo"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; --- 96,100 ---- $lang['lang']['ru'] = "russo"; $lang['lang']['pt'] = "português"; ! $lang['lang']['pl'] = "polski"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "dutch"; |
From: Gero K. <gok...@us...> - 2001-08-22 22:15:04
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv29840/php Modified Files: history.pinc install.php Log Message: theme stuff changed Index: history.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/history.pinc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** history.pinc 2001/08/11 19:11:25 1.10 --- history.pinc 2001/08/22 22:15:01 1.11 *************** *** 156,162 **** readWatchlist($obj); if ( isset($obj->watchlist[$adr->id]) ) { ! echo makelink("watchlist_del.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchDel'],sprintf($lang['WatchDelI'],$obj->getFullName() )); } else { ! echo makelink("watchlist_ins.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchAdd'],sprintf($lang['WatchAddI'],$obj->getFullName() )); } echo "<BR>\n"; --- 156,162 ---- readWatchlist($obj); if ( isset($obj->watchlist[$adr->id]) ) { ! echo menulink("watchlist_del.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchDel'],sprintf($lang['WatchDelI'],$obj->getFullName() )); } else { ! echo menulink("watchlist_ins.php?id=". $obj->id ."&adr=". $adr->id ,$lang['WatchAdd'],sprintf($lang['WatchAddI'],$obj->getFullName() )); } echo "<BR>\n"; Index: install.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** install.php 2001/08/09 10:32:03 1.2 --- install.php 2001/08/22 22:15:01 1.3 *************** *** 109,113 **** $r = @DB_Exec($conn,$q); if ( 1 != DB_NumRows($r)) { ! echo " <FONT COLOR=red>failed</FONT><BR>\n"; return -1; } --- 109,113 ---- $r = @DB_Exec($conn,$q); if ( 1 != DB_NumRows($r)) { ! echo " <SPAN CLASS=warn>failed</SPAN><BR>\n"; return -1; } *************** *** 123,127 **** echo "If everything worked fine you should be able to login now as superuser<BR>"; ! echo "<BLINK><B><FONT COLOR=red>Don't forget to disable this script for future use !<BR>(with chmod 000 install.php)</FONT></B></BLINK><BR>"; echo "Start here <A HREF=mytutos.php>mytutos.php</A>"; --- 123,127 ---- echo "If everything worked fine you should be able to login now as superuser<BR>"; ! echo "<BLINK><SPAN CLASS=warn>Don't forget to disable this script for future use !<BR>(with chmod 000 install.php)</SPAN></BLINK><BR>"; echo "Start here <A HREF=mytutos.php>mytutos.php</A>"; |
From: Gero K. <gok...@us...> - 2001-08-22 22:13:36
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv29652/php Added Files: app_vote.php Log Message: renamed to app_.... --- NEW FILE: app_vote.php --- <? /* * Copyright 1999/2000 by Gero Kohnert * */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); /* Check if user is allowed to use it */ check_user(); /* --------------------------------------------------------------------------- * */ Function info(&$a,$adr_id) { global $lang; $s_col[0] = "#FFFF00"; $s_col[1] = "#00BB00"; $s_col[2] = "#FF0000"; $s_text[0] = $lang['State_0']; $s_text[1] = $lang['State_1']; $s_text[2] = $lang['State_2']; echo "<TABLE BORDER=0 CELLSPACING=0>\n"; echo "<TH BGCOLOR=\"#AAAACC\" COLSPAN=3>". sprintf($lang['AppVoteHead'], $a->getLink()) ."</TH>\n"; echo "<TR>\n"; echo "<TD> <B>". $lang['StartDate'] ."</B> </TD>\n"; echo "<TD COLSPAN=2 ALIGN=center>". $a->start->getDateTime() ."</TD>\n"; echo "</TR><TR>\n"; echo "<TD> <B>". $lang['EndDate'] ."</B> </TD>\n"; echo "<TD COLSPAN=2 ALIGN=center>". $a->end->getDateTime() ."</TD>\n"; echo "</TR><TR>\n"; echo "<TD> <B>". $lang['Description'] ."</B> </TD>\n"; echo "<TD COLSPAN=2>". $a->descr ."</TD>\n"; echo "</TR><TR>\n"; echo "<TD> <B>". $lang['AppVoteState'] ."</B> </TD>\n"; $s = sprintf("state_%d",$a->participant_state[$adr_id]); echo "<TD COLSPAN=2 CLASS=\"". $s ."\"><CENTER><B>". $s_text[$a->participant_state[$adr_id]] ."</B></CENTER></TD>\n"; echo "</TR><TR>\n"; echo "<TD COLSPAN=3><CENTER><B>". $lang['AppVoteSelect'] ."</B></CENTER></TD>\n"; echo "</TR><TR>\n"; $url = "app_do_vote.php"; $url = addUrlParameter($url,"id=".$a->id); $url = addUrlParameter($url,"adr_id=".$adr_id); $url = addSessionKey($url); echo "<TD WIDTH=\"30%\" CLASS=state_1><CENTER><B>"; $vurl = addUrlParameter($url,"vote=1"); echo makelink($vurl,$s_text[1],"Vote ". $s_text[1]); echo "</B></CENTER></TD>\n"; echo "<TD WIDTH=\"30%\" CLASS=state_0><CENTER><B>"; $vurl = addUrlParameter($url,"vote=0"); echo makelink($vurl,$s_text[0],"Vote ". $s_text[0]); echo "</B></CENTER></TD>\n"; echo "<TD WIDTH=\"30%\" CLASS=state_2><CENTER><B>"; $vurl = addUrlParameter($url,"vote=2"); echo makelink($vurl,$s_text[2],"Vote ". $s_text[2]); echo "</B></CENTER></TD>\n"; echo "</TR>\n"; echo "</TABLE>\n"; }; /* --------------------------------------------------------------------------- * */ Function navigate($a) { global $lang; echo "<TABLE>"; echo "<TR><TD>"; if ( $a->id > 0 ) { echo makelink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo "</TD></TR>"; HTML_Select(); } HTML_Header($lang['AppointCommit']); $a = new appointment($conn); if ( !isset($id) || !isset($adr_id) ) { echo "No appointment or no adr given !"; } else { $a->read($id); $a->read_participants(); } HTML_Base1(); navigate($a); HTML_Base2($msg); if ( 1 != $a->trace ) { echo "<B>Problem: <I>You can not vote for this appointment</I></B>"; } else { info($a,$adr_id); } HTML_Base3(); DB_Close($conn); ?> <!-- CVS Info: $Id: app_vote.php,v 1.1 2001/08/22 22:13:34 gokohnert Exp $ $Author: gokohnert $ --> |
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv29468/php Modified Files: address_select.php app_new_r.php bug_select.php mytutos.php product_select.php webelements.p3 scheme.php calendar.php Log Message: theme stuff changed Index: address_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** address_select.php 2001/08/09 10:32:03 1.7 --- address_select.php 2001/08/22 22:12:57 1.8 *************** *** 130,144 **** echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo makelink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "<BR>\n"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo makelink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo makelink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { echo "<BR>\n"; ! echo makelink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } --- 130,144 ---- echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "<BR>\n"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo menulink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { echo "<BR>\n"; ! echo menulink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } Index: app_new_r.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_new_r.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** app_new_r.php 2001/08/21 20:56:10 1.1 --- app_new_r.php 2001/08/22 22:12:57 1.2 *************** *** 212,222 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } ! echo makelink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; --- 212,222 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo menulink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } ! echo menulink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; Index: bug_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_select.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** bug_select.php 2001/08/09 10:32:03 1.5 --- bug_select.php 2001/08/22 22:12:57 1.6 *************** *** 58,62 **** echo "</TR><TR>\n"; ! echo " <TD ROWSPAN=2> <B>". $lang['BugBetween'] ."</B> </TD>\n"; echo " <TD COLSPAN=2> "; $tutos['bsfd']->EnterDate("f",1); --- 58,62 ---- echo "</TR><TR>\n"; ! echo " <TD CLASS=desc ROWSPAN=2> <B>". $lang['BugBetween'] ."</B> </TD>\n"; echo " <TD COLSPAN=2> "; $tutos['bsfd']->EnterDate("f",1); *************** *** 85,89 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; echo "</TD></TR>"; --- 85,89 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; echo "</TD></TR>"; Index: mytutos.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mytutos.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** mytutos.php 2001/08/11 19:11:25 1.19 --- mytutos.php 2001/08/22 22:12:57 1.20 *************** *** 16,19 **** --- 16,20 ---- include("resource.pinc"); include("mailbox.pinc"); + include("timetrack.pinc"); *************** *** 402,409 **** echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo makelink("user_new.php?id=".$adr->id ,$lang['PersonalSettings'],sprintf($lang['PersonalSettingsI'],$adr->getFullName())) . "<BR>"; if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo makelink("task_overview.php?id=". $adr->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$adr->getFullName())) ."<BR>\n"; } --- 403,410 ---- echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo menulink("user_new.php?id=".$adr->id ,$lang['PersonalSettings'],sprintf($lang['PersonalSettingsI'],$adr->getFullName())) . "<BR>"; if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo menulink("task_overview.php?id=". $adr->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$adr->getFullName())) ."<BR>\n"; } *************** *** 412,432 **** && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo makelink("res_cal.php?id=".$adr->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_overview.php?link_id=".$adr->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$adr->getFullName())) ."<BR>\n"; } echo "<HR NOSHADE SIZE=1>\n"; if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_select.php",$lang['SearchForTT'],$lang['SearchForTT']) ."<BR>\n"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_select.php",$lang['NoteSearch'],$lang['NoteSearch']) ."<BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo makelink("task_new.php?p_id=".$adr->id,$lang['TaskCreate'],$lang['TaskCreate']) ."<BR>\n"; } echo "</TD></TR>\n"; --- 413,433 ---- && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo menulink("res_cal.php?id=".$adr->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_overview.php?link_id=".$adr->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$adr->getFullName())) ."<BR>\n"; } echo "<HR NOSHADE SIZE=1>\n"; if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_select.php",$lang['SearchForTT'],$lang['SearchForTT']) ."<BR>\n"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_select.php",$lang['NoteSearch'],$lang['NoteSearch']) ."<BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo menulink("task_new.php?p_id=".$adr->id,$lang['TaskCreate'],$lang['TaskCreate']) ."<BR>\n"; } echo "</TD></TR>\n"; Index: product_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** product_select.php 2001/08/09 10:32:03 1.7 --- product_select.php 2001/08/22 22:12:57 1.8 *************** *** 81,85 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>"; echo "</TD></TR>"; --- 81,85 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>"; echo "</TD></TR>"; Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -r1.57 -r1.58 *** webelements.p3 2001/08/21 21:57:11 1.57 --- webelements.p3 2001/08/22 22:12:57 1.58 *************** *** 379,382 **** --- 379,383 ---- if ( $theme == "" ) { $theme = "tutos"; + $current_user->theme = $theme; } if ( ! isset($msg) ) { *************** *** 407,410 **** --- 408,413 ---- if (is_readable("../html/". $theme .".css") ) { echo " <LINK REL=\"stylesheet\" HREF=\"../html/". $theme .".css\" TYPE=\"text/css\">\n"; + } else { + echo "\n<!-- NO THEME ". $theme ." found -->\n"; } *************** *** 440,447 **** # if ( ! isset($tutos[logo]) ) { ! echo " <TD WIDTH=16% COLSPAN=2 VALIGN=middle ALIGN=left> <A HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } else { echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left><A TARGET=map HREF=\"". $tutos[logolink] ."\"><IMG HEIGHT=40 BORDER=0 SRC=\"". $tutos[logo] ."\" ALT=\"LOGO\" ALIGN=middle></A></TD>\n"; ! echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left> <A HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } echo " <TD WIDTH=\"50%\" ALIGN=center><SPAN CLASS=pagetitle>". $text ."</SPAN></TD>\n"; --- 443,450 ---- # if ( ! isset($tutos[logo]) ) { ! echo " <TD WIDTH=16% COLSPAN=2 VALIGN=middle ALIGN=left> <A CLASS=nodeco HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } else { echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left><A TARGET=map HREF=\"". $tutos[logolink] ."\"><IMG HEIGHT=40 BORDER=0 SRC=\"". $tutos[logo] ."\" ALT=\"LOGO\" ALIGN=middle></A></TD>\n"; ! echo " <TD WIDTH=\"8%\" VALIGN=middle ALIGN=left> <A CLASS=nodeco HREF=\"../html/copyright.html\">TUTOS</A></TD>\n"; } echo " <TD WIDTH=\"50%\" ALIGN=center><SPAN CLASS=pagetitle>". $text ."</SPAN></TD>\n"; *************** *** 484,488 **** echo " <TD NOWRAP>\n"; if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo makelink("calendar.php",$tutos[image][appointments] . $lang['Calendar'],$lang['CalendarInfo']) ."<BR>\n"; } --- 487,491 ---- echo " <TD NOWRAP>\n"; if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo menulink("calendar.php",$tutos[image][appointments] . $lang['Calendar'],$lang['CalendarInfo']) ."<BR>\n"; } *************** *** 490,494 **** if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { if ( basename($PHP_SELF) != "address_select.php" ) { ! echo makelink("address_select.php",$tutos[image][addresses] . $lang['Addresses'],$lang['AddressesInfo']) ."<BR>\n"; } else { echo $tutos[image][addresses] . $lang['Addresses'] ."<BR>\n"; --- 493,497 ---- if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { if ( basename($PHP_SELF) != "address_select.php" ) { ! echo menulink("address_select.php",$tutos[image][addresses] . $lang['Addresses'],$lang['AddressesInfo']) ."<BR>\n"; } else { echo $tutos[image][addresses] . $lang['Addresses'] ."<BR>\n"; *************** *** 498,502 **** if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { if ( basename($PHP_SELF) != "bug_select.php" ) { ! echo makelink("bug_select.php",$tutos[image][bugs] . $lang['BugTrack'],$lang['BugTrackInfo']) ."<BR>\n"; } else { echo $tutos[image][bugs] . $lang['BugTrack'] ."<BR>\n"; --- 501,505 ---- if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { if ( basename($PHP_SELF) != "bug_select.php" ) { ! echo menulink("bug_select.php",$tutos[image][bugs] . $lang['BugTrack'],$lang['BugTrackInfo']) ."<BR>\n"; } else { echo $tutos[image][bugs] . $lang['BugTrack'] ."<BR>\n"; *************** *** 507,511 **** if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { if ( basename($PHP_SELF) != "product_select.php" ) { ! echo makelink("product_select.php",$tutos[image][projects] . $lang['Product'],$lang['ProductInfo']) ."<BR>\n"; } else { echo $tutos[image][projects] . $lang['Product'] ."<BR>\n"; --- 510,514 ---- if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { if ( basename($PHP_SELF) != "product_select.php" ) { ! echo menulink("product_select.php",$tutos[image][projects] . $lang['Product'],$lang['ProductInfo']) ."<BR>\n"; } else { echo $tutos[image][projects] . $lang['Product'] ."<BR>\n"; *************** *** 515,519 **** if ( $current_user->admin != 0) { if ( basename($PHP_SELF) != "team_overview.php" ) { ! echo makelink("team_overview.php",$tutos[image][teams] . $lang['TeamOverview'],$lang['TeamOverviewInfo']) ."<BR>\n"; } else { echo $tutos[image][teams] . $lang['TeamOverview'] ."<BR>\n"; --- 518,522 ---- if ( $current_user->admin != 0) { if ( basename($PHP_SELF) != "team_overview.php" ) { ! echo menulink("team_overview.php",$tutos[image][teams] . $lang['TeamOverview'],$lang['TeamOverviewInfo']) ."<BR>\n"; } else { echo $tutos[image][teams] . $lang['TeamOverview'] ."<BR>\n"; *************** *** 522,526 **** # Logout ! echo makelink("logout.php",$tutos[image][logout] . $lang['Logout'],$lang['LogoutInfo']) ."\n"; --- 525,529 ---- # Logout ! echo menulink("logout.php",$tutos[image][logout] . $lang['Logout'],$lang['LogoutInfo']) ."\n"; *************** *** 539,545 **** echo "<TR VALIGN=bottom>\n"; echo " <TD NOWRAP>\n"; ! echo "<FONT SIZE=-2>". makelink("mytutos.php" ,$tutos[image][user] . $current_user->getFullName(),$current_user->getFullName()) ."</FONT><BR>\n"; if ( $current_user->admin != 0 ) { ! echo "<FONT SIZE=-2>". makelink("admin_show.php" ,$tutos[image][user] . "admin","admin") ."</FONT><BR>\n"; } } --- 542,548 ---- 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] . "admin","admin") ."</FONT><BR>\n"; } } *************** *** 560,564 **** echo "<TD WIDTH=\"90%\" VALIGN=top>\n"; if ( $msg != "" ) { ! echo "<B><FONT COLOR=red>". StripSlashes($msg) ."</FONT></B><BR>\n"; } } --- 563,567 ---- echo "<TD WIDTH=\"90%\" VALIGN=top>\n"; if ( $msg != "" ) { ! echo "<SPAN CLASS=warn>". StripSlashes($msg) ."</SPAN><BR>\n"; } } *************** *** 622,641 **** echo " <TR>\n"; if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("calendar.php",$tutos[image][appointments] . $lang['Calendar'],$lang['CalendarInfo']) ."</TD>\n"; if ( basename($PHP_SELF) == "calendar.php") { ! echo " <TD valign=bottom align=center width=\"10%\">". makelink("calendar_select.php",$lang['AppsSearch'],$lang['SearchForApp']) ."</TD>\n"; } } if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("address_select.php",$tutos[image][addresses] . $lang['Addresses'],$lang['AddressesInfo']) ."</TD>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("bug_select.php",$tutos[image][bugs] . $lang['BugTrack'],$lang['BugTrackInfo']) ."</TD>\n"; } if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("product_select.php",$tutos[image][projects] . $lang['Product'],$lang['ProductInfo']) ."</TD>\n"; } ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("mytutos.php",$tutos[image][user] . $lang['PersonalPage'],$lang['PersonalPage']) ."</TD>\n"; ! echo " <TD valign=bottom align=center width=\"12%\">". makelink("logout.php",$tutos[image][logout] . $lang['Logout'],$lang['LogoutInfo']) ."</TD>\n"; make_helplink(2); --- 625,644 ---- echo " <TR>\n"; if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("calendar.php",$tutos[image][appointments] . $lang['Calendar'],$lang['CalendarInfo']) ."</TD>\n"; if ( basename($PHP_SELF) == "calendar.php") { ! echo " <TD CLASS=navigate valign=bottom align=center width=\"10%\">". menulink("calendar_select.php",$lang['AppsSearch'],$lang['SearchForApp']) ."</TD>\n"; } } if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("address_select.php",$tutos[image][addresses] . $lang['Addresses'],$lang['AddressesInfo']) ."</TD>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("bug_select.php",$tutos[image][bugs] . $lang['BugTrack'],$lang['BugTrackInfo']) ."</TD>\n"; } if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("product_select.php",$tutos[image][projects] . $lang['Product'],$lang['ProductInfo']) ."</TD>\n"; } ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("mytutos.php",$tutos[image][user] . $lang['PersonalPage'],$lang['PersonalPage']) ."</TD>\n"; ! echo " <TD CLASS=navigate valign=bottom align=center width=\"12%\">". menulink("logout.php",$tutos[image][logout] . $lang['Logout'],$lang['LogoutInfo']) ."</TD>\n"; make_helplink(2); *************** *** 651,657 **** */ Function DoubleTableStart($innersp = 0, $innerpad = 2) { ! // echo "<TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD>\n"; ! // echo "<TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=". $innerpad ." CELLSPACING=". $innersp .">\n"; ! echo "<TABLE CLASS=outer BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD>\n"; echo "<TABLE CLASS=inner BORDER=0 CELLPADDING=". $innerpad ." CELLSPACING=". $innersp .">\n"; } --- 654,660 ---- */ Function DoubleTableStart($innersp = 0, $innerpad = 2) { ! ## echo "<TABLE BGCOLOR=black BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD>\n"; ! ## echo "<TABLE BGCOLOR=#EEEEEE BORDER=0 CELLPADDING=". $innerpad ." CELLSPACING=". $innersp .">\n"; ! echo "<TABLE CLASS=outer BORDER=0 CELLPADDING=1 CELLSPACING=0><TR><TD CLASS=warn>\n"; echo "<TABLE CLASS=inner BORDER=0 CELLPADDING=". $innerpad ." CELLSPACING=". $innersp .">\n"; } *************** *** 845,848 **** --- 848,866 ---- } /* --------------------------------------------------------------------------- + * create a link in navigation menu + * + */ + Function menulink ( $href , $text , $info = "" ,$plus = "") { + global $tutos, $current_user; + + $href = addSessionKey($href); + + if ( ($plus != "") && ($tutos[useoverlib] == 1) && ($current_user->p[useoverlib] == 1) ) { + return sprintf ("<A CLASS=nodeco HREF=\"%s\" "return overlib('%s',STATUS,'%s',FULLHTML)\" "nd()\">%s</A>",$href,htmlentities($plus),AddSlashes($info),$text); + } else { + return sprintf ("<A CLASS=nodeco HREF=\"%s\" "self.status='%s' ;return true\" TITLE=\"%s\">%s</A>",$href,AddSlashes($info),$info,$text); + } + } + /* --------------------------------------------------------------------------- * create a link * *************** *** 869,875 **** if ( ($plus != "") && ($tutos[useoverlib] == 1) && ($current_user->p[useoverlib] == 1) ) { ! return sprintf ("<A HREF=\"%s\" "return overlib('%s',STATUS,'%s',FULLHTML)\" "nd()\">%s</A>",$href,AddSlashes($plus),AddSlashes($info),$text); } else { ! return sprintf ("<A HREF=\"%s\" "if (! confirm('%s ?')) { return false };\" "self.status='%s' ;return true\" >%s</A>",$href,AddSlashes($info),AddSlashes($info),$text); } } --- 887,893 ---- if ( ($plus != "") && ($tutos[useoverlib] == 1) && ($current_user->p[useoverlib] == 1) ) { ! return sprintf ("<A CLASS=nodeco HREF=\"%s\" "return overlib('%s',STATUS,'%s',FULLHTML)\" "nd()\">%s</A>",$href,AddSlashes($plus),AddSlashes($info),$text); } else { ! return sprintf ("<A CLASS=nodeco HREF=\"%s\" "if (! confirm('%s ?')) { return false };\" "self.status='%s' ;return true\" >%s</A>",$href,AddSlashes($info),AddSlashes($info),$text); } } *************** *** 1332,1336 **** if ( $typ == 2 ) { ! echo "<TD valign=bottom align=center width=\"15%\">"; } else { # echo "<BR>"; --- 1350,1354 ---- if ( $typ == 2 ) { ! echo "<TD CLASS=navigate valign=bottom align=center width=\"15%\">"; } else { # echo "<BR>"; *************** *** 1338,1344 **** if ( ereg("Lynx",$HTTP_USER_AGENT) || ereg("w3m",$HTTP_USER_AGENT) ) { ! echo "<A HREF=\"". $l ."\">".$lang['Help'] ."</A><BR>\n"; } else { ! echo "<A HREF=\"JavaScript: mywindow = window.open('". $l ."', 'help', 'width=550,height=500,top=100,left=100,scrollbars=1'); mywindow.location.href = '". $l ."'; --- 1356,1362 ---- if ( ereg("Lynx",$HTTP_USER_AGENT) || ereg("w3m",$HTTP_USER_AGENT) ) { ! echo "<A CLASS=nodeco HREF=\"". $l ."\">".$lang['Help'] ."</A><BR>\n"; } else { ! echo "<A CLASS=nodeco HREF=\"JavaScript: mywindow = window.open('". $l ."', 'help', 'width=550,height=500,top=100,left=100,scrollbars=1'); mywindow.location.href = '". $l ."'; Index: scheme.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/scheme.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** scheme.php 2001/08/09 10:32:03 1.3 --- scheme.php 2001/08/22 22:12:57 1.4 *************** *** 36,40 **** $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; flush(); DB_Abort($conn,"WORK"); --- 36,40 ---- $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<SPAN CLASS=warn>". DB_Error() ." ". $r ."</SPAN><BR>\n"; flush(); DB_Abort($conn,"WORK"); *************** *** 63,67 **** $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; flush(); DB_Abort($conn,"WORK"); --- 63,67 ---- $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<SPAN CLASS=warn>". DB_Error() ." ". $r ."</SPAN><BR>\n"; flush(); DB_Abort($conn,"WORK"); *************** *** 109,113 **** $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; flush(); DB_Abort($conn,"WORK"); --- 109,113 ---- $r = @DB_Exec($conn,$q,0); if ( $r == "" ) { ! echo "<SPAN CLASS=warn>". DB_Error() ." ". $r ."</SPAN><BR>\n"; flush(); DB_Abort($conn,"WORK"); *************** *** 156,160 **** if ( $r == "" ) { ! echo "<FONT COLOR=red>". DB_Error() ." ". $r ."</FONT><BR>\n"; flush(); DB_Abort($conn,"WORK"); --- 156,160 ---- if ( $r == "" ) { ! echo "<SPAN CLASS=warn>". DB_Error() ." ". $r ."</SPAN><BR>\n"; flush(); DB_Abort($conn,"WORK"); *************** *** 703,707 **** } if ( $step == 4 ) { ! echo "<FONT COLOR=red>If everything works disable this script</FONT><BR>\n"; echo "Come on and login<BR>\n"; } else { --- 703,707 ---- } if ( $step == 4 ) { ! echo "<SPAN CLASS=warn>If everything works disable this script</SPAN><BR>\n"; echo "Come on and login<BR>\n"; } else { Index: calendar.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/calendar.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** calendar.php 2001/08/21 21:57:11 1.19 --- calendar.php 2001/08/22 22:12:57 1.20 *************** *** 96,113 **** ! echo " <TD NOWRAP CLASS=navigate align=right>". makelink("calendar.php?t=". $last_week,$tutos[image][left],$lang['lastweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". makelink("calendar.php?t=". $last_week,$lang['lastweek'],$lang['lastweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=CENTER>". makelink("calendar.php?t=$t",$lang['reload']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". makelink("calendar.php?t=". $next_week,$lang['nextweek'],$lang['nextweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". makelink("calendar.php?t=". $next_week,$tutos[image][right],$lang['nextweek']) ."</TD>\n"; echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". makelink("calendar.php?t=". $last_month,$tutos[image][left].$tutos[image][left],$lang['minus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". makelink("calendar.php?t=". $last_month,$lang['minus4weeks'],$lang['minus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=CENTER>". makelink("app_new.php?t=".$t,$lang['NewAppoint'],$lang['NewAppointInfo']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". makelink("calendar.php?t=". $next_month,$lang['plus4weeks'],$lang['plus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". makelink("calendar.php?t=". $next_month,$tutos[image][right].$tutos[image][right],$lang['plus4weeks']) ."</TD>\n"; echo " </TR>\n"; echo "</TABLE>\n"; --- 96,113 ---- ! echo " <TD NOWRAP CLASS=navigate align=right>". menulink("calendar.php?t=". $last_week,$tutos[image][left],$lang['lastweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". menulink("calendar.php?t=". $last_week,$lang['lastweek'],$lang['lastweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=CENTER>". menulink("calendar.php?t=$t",$lang['reload']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". menulink("calendar.php?t=". $next_week,$lang['nextweek'],$lang['nextweek']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". menulink("calendar.php?t=". $next_week,$tutos[image][right],$lang['nextweek']) ."</TD>\n"; echo " </TR>\n"; echo " <TR>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". menulink("calendar.php?t=". $last_month,$tutos[image][left].$tutos[image][left],$lang['minus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". menulink("calendar.php?t=". $last_month,$lang['minus4weeks'],$lang['minus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=CENTER>". menulink("app_new.php?t=".$t,$lang['NewAppoint'],$lang['NewAppointInfo']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=right>". menulink("calendar.php?t=". $next_month,$lang['plus4weeks'],$lang['plus4weeks']) ."</TD>\n"; ! echo " <TD NOWRAP CLASS=navigate align=left>". menulink("calendar.php?t=". $next_month,$tutos[image][right].$tutos[image][right],$lang['plus4weeks']) ."</TD>\n"; echo " </TR>\n"; echo "</TABLE>\n"; *************** *** 357,361 **** # Show messages from previous actions if ( $msg != "" ) { ! echo "<FONT COLOR=red><B>". StripSlashes($msg) ."</B></FONT>\n"; } if ( !isset($id) ) { --- 357,361 ---- # Show messages from previous actions if ( $msg != "" ) { ! echo "<SPAN CLASS=warn>". StripSlashes($msg) ."</SPAN>\n"; } if ( !isset($id) ) { |
From: Gero K. <gok...@us...> - 2001-08-22 22:12:59
|
Update of /cvsroot/tutos/tutos/html In directory usw-pr-cvs1:/tmp/cvs-serv29468/html Modified Files: blue.css red.css sqli.css tutos.css visual.css Log Message: theme stuff changed Index: blue.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/blue.css,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** blue.css 2001/08/09 14:58:58 1.12 --- blue.css 2001/08/22 22:12:57 1.13 *************** *** 9,37 **** */ A { text-decoration: none; } ! A:link { color: #FF1111 } /* unvisited link */ ! A:visited { color: #FF1111 } /* visited links */ ! A:active { color: lime } /* active links */ .desc { font-weight: bold; ! font-style: italic; } .pagetitle { ! color: #000000; font-weight: bold; ! font-size: large; } .navigate { ! background: #DDEEFF; vertical-align: top; margin-left: 5px; margin-top: 20px; ! font-size: x-small; } --- 9,59 ---- */ A { + text-decoration: underline; + } + .nodeco { text-decoration: none; } + A:link { + color: #f8fcf8; /* unvisited link */ + } + A:visited { + color: #f8fcf8; /* visited links */ + } + A:active { + color: lime; /* active links */ + } + .warn { + font-weight: bold; + color: red; + } ! /* TEXT found by search */ ! .found { ! color: #E00000; ! } .desc { font-weight: bold; ! /* font-style: italic; */ ! /* color: #f8fcf8; */ ! color: black; } .pagetitle { ! background: #102058; ! color: #f8fcf8; font-weight: bold; ! font-size: 20px; } .navigate { ! text-decoration: none; ! background: #405c88; ! color: #f8fcf8; vertical-align: top; margin-left: 5px; margin-top: 20px; ! font-size: 12px; } *************** *** 61,75 **** .headline { ! background-color: #CACADA; } /* line color 1 in overviews */ .line_1 { ! background-color: #EAEAFA; } /* line color 2 in overviews */ .line_2 { ! background-color: #DADAEA; } /* Not started Task */ --- 83,98 ---- .headline { ! background: #102058; ! color: white; } /* line color 1 in overviews */ .line_1 { ! background-color: #789cc0; } /* line color 2 in overviews */ .line_2 { ! background-color: #88acd0; } /* Not started Task */ *************** *** 81,85 **** /* Ongoing Task */ .task_1 { ! background-color: #EEFFEE; color: black; font-size: small; --- 104,108 ---- /* Ongoing Task */ .task_1 { ! background-color: #A0FFA0; color: black; font-size: small; *************** *** 97,105 **** font-size: small; } ! .app { ! background-color: white; color: black; font-size: small; } /* OFFICE */ --- 120,147 ---- font-size: small; } ! /* Task done */ ! .task_done { ! background-color: green; ! color: black; ! font-size: small; ! } ! /* Task todo */ ! .task_todo { ! background-color: #E00000; color: black; font-size: small; } + /* Task to much time */ + .task_much { + background-color: red; + color: black; + font-size: small; + } + + .app { + background-color: #688cb0; + color: black; + font-size: 10px; + } /* OFFICE */ *************** *** 124,144 **** .holiday { ! background-color: #FFD0D0; vertical-align: top; } .freeday { ! background-color: #FFE0E0; vertical-align: top; } .appday { ! background-color: #E0E0E0; vertical-align: top; } .today { ! background-color: #E0F0E0; vertical-align: top; } --- 166,194 ---- .holiday { ! background-color: #FF9090; vertical-align: top; + color: black; + font-size: 11px; } .freeday { ! background-color: #FF9090; vertical-align: top; + color: black; + font-size: 11px; } .appday { ! background-color: #909090; vertical-align: top; + color: black; + font-size: 11px; } .today { ! background-color: #90C090; vertical-align: top; + color: black; + font-size: 11px; } *************** *** 148,157 **** width: 5%; vertical-align: top; } .privapp { ! background-color: #FFEEEE; color: black; ! font-size: small; } --- 198,208 ---- width: 5%; vertical-align: top; + color: black; } .privapp { ! background-color: #CCBBBB; color: black; ! font-size: 10px; } *************** *** 164,176 **** } TABLE.inner { ! background-color: #EEEEFF; } TABLE.outer { ! background-color: #101010; margin: 0px; padding: 1px; } BODY { ! background: #EEEEFF; padding: 0px; margin-left: 0px; --- 215,229 ---- } TABLE.inner { ! background-color: #688cb0; } TABLE.outer { ! background: #102058; ! /* background-color: #101010; */ margin: 0px; padding: 1px; } BODY { ! background: #688cb0; ! color: #f8fcf8; padding: 0px; margin-left: 0px; *************** *** 178,190 **** margin-right: 0px; margin-bottom: 0px; ! font: normal 12pt avantgarde,helvetica,sans-serif; } TD { ! font: normal 12pt avantgarde,helvetica,sans-serif; } TH { ! background: #DFDFFF; ! font: normal bold 12pt avantgarde,helvetica,sans-serif; } /* EOF */ --- 231,263 ---- margin-right: 0px; margin-bottom: 0px; ! font-family: arial, verdana, sans-serif; ! font-size: 10px; } TD { ! color: #f8fcf8; ! font-family: arial, verdana, sans-serif; ! font-size: 12px; } TH { ! /* color: #688cb0; */ ! color: #f8fcf8; ! background: #405c88; ! /* background: #f8fcf8; */ ! font-weight: bold; ! font-family: arial, verdana, sans-serif; ! font-size: 12px; } + + INPUT { + font-family: verdana, arial, sans serif; + font-size: 11px; + color: black; + } + + SELECT { + font-family: verdana, arial, sans serif; + font-size: 11px; + color: black; + } /* EOF */ Index: red.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/red.css,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** red.css 2001/08/09 14:58:58 1.6 --- red.css 2001/08/22 22:12:57 1.7 *************** *** 9,17 **** text-decoration: none; } ! A:link { color: #002288 } /* unvisited link */ ! A:visited { color: #002288 } /* visited links */ ! A:active { color: lime } /* active links */ .desc { --- 9,34 ---- text-decoration: none; } + .nodeco { + text-decoration: none; + } + A:link { + color: #002288; /* unvisited link */ + } + A:visited { + color: #002288; /* visited links */ + } + A:active { + color: lime; /* active links */ + } + .warn { + font-weight: bold; + color: red; + } ! /* TEXT found by search */ ! .found { ! color: #E00000; ! } .desc { *************** *** 93,96 **** --- 110,131 ---- font-size: small; } + /* Task done */ + .task_done { + background-color: green; + color: black; + font-size: small; + } + /* Task todo */ + .task_todo { + background-color: #E00000; + color: black; + font-size: small; + } + /* Task to much time */ + .task_much { + background-color: red; + color: black; + font-size: small; + } .app { *************** *** 184,187 **** --- 219,234 ---- font-family: Geneva, Arial, Helvetica; } + + INPUT { + font-family: Geneva, Arial, Helvetica; + font-size: 11px; + color: black; + } + + SELECT { + font-family: Geneva, Arial, Helvetica; + font-size: 11px; + color: black; + } /* EOF */ Index: sqli.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/sqli.css,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** sqli.css 2001/08/09 14:58:58 1.2 --- sqli.css 2001/08/22 22:12:57 1.3 *************** *** 11,19 **** text-decoration: none; } ! A:link { color: #0000FF } /* unvisited link */ ! A:visited { color: #0000FF } /* visited links */ ! A:active { color: #0000FF } /* active links */ .desc { --- 11,36 ---- text-decoration: none; } + .nodeco { + text-decoration: none; + } + A:link { + color: #0000FF; /* unvisited link */ + } + A:visited { + color: #0000FF; /* visited links */ + } + A:active { + color: #0000FF; /* active links */ + } + .warn { + font-weight: bold; + color: red; + } ! /* TEXT found by search */ ! .found { ! color: #E00000; ! } .desc { *************** *** 97,100 **** --- 114,136 ---- font-size: small; } + /* Task done */ + .task_done { + background-color: green; + color: black; + font-size: small; + } + /* Task todo */ + .task_todo { + background-color: #E00000; + color: black; + font-size: small; + } + /* Task to much time */ + .task_much { + background-color: red; + color: black; + font-size: small; + } + .app { background-color: white; *************** *** 187,190 **** --- 223,238 ---- font: normal bold 10pt avantgarde,helvetica,sans-serif; } + + INPUT { + font-family: avantgarde,helvetica,sans-serif; + font-size: 9pt; + color: black; + } + + SELECT { + font-family: avantgarde,helvetica,sans-serif; + font-size: 9pt; + color: black; + } /* EOF */ Index: tutos.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/tutos.css,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** tutos.css 2001/08/09 14:58:58 1.14 --- tutos.css 2001/08/22 22:12:57 1.15 *************** *** 9,17 **** text-decoration: none; } ! A:link { color: #9900FF } /* unvisited link */ ! A:visited { color: #9900FF } /* visited links */ ! A:active { color: lime } /* active links */ .desc { --- 9,34 ---- text-decoration: none; } + .nodeco { + text-decoration: none; + } + A:link { + color: #9900FF; /* unvisited link */ + } + A:visited { + color: #9900FF; /* visited links */ + } + A:active { + color: lime; /* active links */ + } + .warn { + font-weight: bold; + color: red; + } ! /* TEXT found by search */ ! .found { ! color: #E00000; ! } .desc { *************** *** 94,97 **** --- 111,132 ---- font-size: small; } + /* Task done */ + .task_done { + background-color: green; + color: black; + font-size: small; + } + /* Task todo */ + .task_todo { + background-color: #E00000; + color: black; + font-size: small; + } + /* Task to much time */ + .task_much { + background-color: red; + color: black; + font-size: small; + } .app { *************** *** 177,188 **** --- 212,238 ---- margin-bottom: 0px; font-family: Geneva, Arial, Helvetica; + font-size: 12px; } TD { font-family: Geneva, Arial, Helvetica; + font-size: 14px; } TH { background: white; font-family: Geneva, Arial, Helvetica; + font-size: 14px; } + + INPUT { + font-family: Geneva, Arial, Helvetica; + font-size: 11px; + color: black; + } + + SELECT { + font-family: Geneva, Arial, Helvetica; + font-size: 11px; + color: black; + } /* EOF */ Index: visual.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/visual.css,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** visual.css 2001/08/09 14:58:58 1.4 --- visual.css 2001/08/22 22:12:57 1.5 *************** *** 12,20 **** text-decoration: none; } ! A:link { color: #4682b4 } /* unvisited link */ ! A:visited { color: #4682b4 } /* visited links */ ! A:active { color: #4169e1 } /* active links */ .desc { --- 12,37 ---- text-decoration: none; } + .nodeco { + text-decoration: none; + } + A:link { + color: #4682b4; /* unvisited link */ + } + A:visited { + color: #4682b4; /* visited links */ + } + A:active { + color: #4169e1; /* active links */ + } + .warn { + font-weight: bold; + color: red; + } ! /* TEXT found by search */ ! .found { ! color: #E00000; ! } .desc { *************** *** 102,105 **** --- 119,140 ---- font-size: small; } + /* Task done */ + .task_done { + background-color: green; + color: black; + font-size: small; + } + /* Task todo */ + .task_todo { + background-color: #E00000; + color: black; + font-size: small; + } + /* Task to much time */ + .task_much { + background-color: red; + color: black; + font-size: small; + } .app { *************** *** 194,197 **** --- 229,244 ---- font-family: Arial, Helvetica, Geneva; } + + INPUT { + font-family: Arial, Helvetica, Geneva; + font-size: 11px; + color: black; + } + + SELECT { + font-family: Arial, Helvetica, Geneva; + font-size: 11px; + color: black; + } /* EOF */ |
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv29145/php Modified Files: address_show.php app_show.php bug_show.php company_show.php department_show.php file_show.php history_show.php installation_show.php product_show.php resource_show.php task_show.php team_show.php address_overview.php adr_ldap_overview.php app_overview.php bug_overview.php company_overview.php installation_overview.php note_overview.php product_overview.php resource_overview.php team_overview.php timetrack_overview.php address_new.php app_new.php bug_new.php company_new.php department_new.php installation_new.php note_new.php product_new.php resource_new.php task_new.php team_new.php timetrack_new.php user_new.php Log Message: theme stuff changed Index: address_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_show.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** address_show.php 2001/08/21 21:57:11 1.14 --- address_show.php 2001/08/22 22:11:30 1.15 *************** *** 135,152 **** echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } if ( $a->id != -1 ) { if ( $a->mod_ok() != 0 ) { ! echo makelink("address_new.php?id=". $a->id,$lang['Modify'],$lang['Modify']) ."<BR>\n"; } echo "<BR>\n"; if ( $a->isUser() ) { if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo makelink("calendar.php?team=". $a->id ,$lang['Calendar'],sprintf($lang['ShowCal'],$a->getFullName())) ."<BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo makelink("task_overview.php?id=". $a->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$a->getFullName())) ."<BR>\n"; } if ( ($tutos[usetaskmanagement] == 1) --- 135,152 ---- echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } if ( $a->id != -1 ) { if ( $a->mod_ok() != 0 ) { ! echo menulink("address_new.php?id=". $a->id,$lang['Modify'],$lang['Modify']) ."<BR>\n"; } echo "<BR>\n"; if ( $a->isUser() ) { if ( ($current_user->p[usecalendar] == 1) && ($tutos[usecalendar] == 1) ) { ! echo menulink("calendar.php?team=". $a->id ,$lang['Calendar'],sprintf($lang['ShowCal'],$a->getFullName())) ."<BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo menulink("task_overview.php?id=". $a->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$a->getFullName())) ."<BR>\n"; } if ( ($tutos[usetaskmanagement] == 1) *************** *** 154,170 **** && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo makelink("res_cal.php?id=".$a->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_overview.php?link_id=".$a->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$a->getFullName())) ."<BR>\n"; } } if ( ($current_user->p[usevcard] == 1) && ($tutos[usevcard] == 1) ) { ! echo makelink($a->getUrl() ."&format=vcard" ,$lang['AdrGetVcard'],$lang['AdrGetVcardI']) . "<BR>\n"; } echo "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { if ( $a->see_ok() ) { ! echo makelink("note_new.php?link_id=". $a->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$a->getFullName())) ." <BR>\n"; } } --- 154,170 ---- && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo menulink("res_cal.php?id=".$a->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_overview.php?link_id=".$a->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$a->getFullName())) ."<BR>\n"; } } if ( ($current_user->p[usevcard] == 1) && ($tutos[usevcard] == 1) ) { ! echo menulink($a->getUrl() ."&format=vcard" ,$lang['AdrGetVcard'],$lang['AdrGetVcardI']) . "<BR>\n"; } echo "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { if ( $a->see_ok() ) { ! echo menulink("note_new.php?link_id=". $a->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$a->getFullName())) ." <BR>\n"; } } *************** *** 172,177 **** echo "<BR>\n"; ! echo makelink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo makelink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; echo "</TD></TR>"; --- 172,177 ---- echo "<BR>\n"; ! echo menulink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo menulink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; echo "</TD></TR>"; Index: app_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_show.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** app_show.php 2001/08/21 20:56:10 1.1 --- app_show.php 2001/08/22 22:11:30 1.2 *************** *** 181,191 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( ($a->id > 0) && $a->mod_ok() ) { if ( $a->repeat == 0 ) { ! echo makelink("app_new.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } else { ! echo makelink("app_new_r.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } } --- 181,191 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo menulink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( ($a->id > 0) && $a->mod_ok() ) { if ( $a->repeat == 0 ) { ! echo menulink("app_new.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } else { ! echo menulink("app_new_r.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } } *************** *** 194,200 **** echo "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $a->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$a->descr)) ." <BR>\n"; } ! echo makelink("app_show.php?id=". $a->id ."&format=ical" ,$lang['AppGetIcal'],"get this appointment as Ical file") . "<BR>"; } echo "</TD></TR>"; --- 194,200 ---- echo "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $a->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$a->descr)) ." <BR>\n"; } ! echo menulink("app_show.php?id=". $a->id ."&format=ical" ,$lang['AppGetIcal'],"get this appointment as Ical file") . "<BR>"; } echo "</TD></TR>"; Index: bug_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_show.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** bug_show.php 2001/08/11 19:11:25 1.11 --- bug_show.php 2001/08/22 22:11:30 1.12 *************** *** 125,132 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo makelink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; if ( $b->mod_ok() ) { ! echo makelink("bug_new.php?id=". $b->id ,$lang['Modify'],sprintf($lang['BugModifyI'],$b->getFullName())) ."<BR>\n"; } else { echo "<BR>\n"; --- 125,132 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo menulink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; if ( $b->mod_ok() ) { ! echo menulink("bug_new.php?id=". $b->id ,$lang['Modify'],sprintf($lang['BugModifyI'],$b->getFullName())) ."<BR>\n"; } else { echo "<BR>\n"; *************** *** 136,146 **** if ( $b->see_ok() ) { if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $b->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$b->getFullName()) ) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo makelink("file_new.php?link_id=". $b->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$b->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_new.php?link_id=". $b->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$b->getFullName())) ." <BR>\n"; } --- 136,146 ---- if ( $b->see_ok() ) { if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $b->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$b->getFullName()) ) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo menulink("file_new.php?link_id=". $b->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$b->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_new.php?link_id=". $b->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$b->getFullName())) ." <BR>\n"; } Index: company_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_show.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** company_show.php 2001/08/21 21:57:11 1.13 --- company_show.php 2001/08/22 22:11:30 1.14 *************** *** 11,14 **** --- 11,16 ---- include("appointment.pinc"); include("product.pinc"); + include("bug.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ *************** *** 164,181 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("company_new.php",$lang['NewEntry'],$lang['CompanyCreateInfo']) . "<BR>\n"; if ( $c->id > 0 ) { if ( $c->mod_ok() ) { ! echo makelink("company_new.php?id=".$c->id, $lang['Change'],sprintf($lang['CompanyChgInfo'],$c->getFullName())) . "<BR>\n"; } } echo "<BR>\n"; ! echo makelink("department_new.php?company=". UrlEncode($c->name) ,$lang['DepartmentCreate'],$lang['DepCreateInfo']) ."<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $c->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$c->getFullName())) ." <BR>\n"; echo "<BR>\n"; ! echo makelink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } --- 166,183 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("company_new.php",$lang['NewEntry'],$lang['CompanyCreateInfo']) . "<BR>\n"; if ( $c->id > 0 ) { if ( $c->mod_ok() ) { ! echo menulink("company_new.php?id=".$c->id, $lang['Change'],sprintf($lang['CompanyChgInfo'],$c->getFullName())) . "<BR>\n"; } } echo "<BR>\n"; ! echo menulink("department_new.php?company=". UrlEncode($c->name) ,$lang['DepartmentCreate'],$lang['DepCreateInfo']) ."<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $c->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$c->getFullName())) ." <BR>\n"; echo "<BR>\n"; ! echo menulink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } Index: department_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/department_show.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** department_show.php 2001/08/21 21:57:11 1.10 --- department_show.php 2001/08/22 22:11:30 1.11 *************** *** 133,141 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("address_select.php",$lang['Search'],"Search for a department in the Database") ."<BR>\n"; ! echo makelink("department_new.php",$lang['NewEntry'],$lang['DepCreateInfo'] ) ."<BR>\n"; if ( $d->id != -1 ) { if ( $d->mod_ok() ) { ! echo makelink("department_new.php?id=".$d->id,$lang['Change'],sprintf($lang['DepChgInfo'],$d->getFullName())) ."<BR>\n"; } if ( $d->del_ok() ) { --- 133,141 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("address_select.php",$lang['Search'],"Search for a department in the Database") ."<BR>\n"; ! echo menulink("department_new.php",$lang['NewEntry'],$lang['DepCreateInfo'] ) ."<BR>\n"; if ( $d->id != -1 ) { if ( $d->mod_ok() ) { ! echo menulink("department_new.php?id=".$d->id,$lang['Change'],sprintf($lang['DepChgInfo'],$d->getFullName())) ."<BR>\n"; } if ( $d->del_ok() ) { *************** *** 145,149 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $d->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$d->getFullName())) ." <BR>\n"; } --- 145,149 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $d->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$d->getFullName())) ." <BR>\n"; } Index: file_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file_show.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** file_show.php 2001/08/11 19:11:25 1.9 --- file_show.php 2001/08/22 22:11:30 1.10 *************** *** 111,124 **** if ( ($f->id > 0) && $f->see_ok() ) { ! echo makelink("file_show.php?format=show&id=". $f->id ,$lang['FileShow'],sprintf($lang['FileShowI'],$f->getFullName())) ." <BR>"; } if ( ($f->id > 0) && $f->mod_ok() ) { ! echo makelink("file_show.php?format=download&id=". $f->id ,$lang['FileDownload'],sprintf($lang['FileDownloadI'],$f->getFullName())) ." <BR>"; if ( $f->locked > 0 ) { if ( $f->locker->id == $current_user->id ) { ! echo makelink("file_new.php?id=". $f->id ,$lang['Modify'],sprintf($lang['FileModifyI'],$f->getFullName())) ." <BR>"; } } else { ! echo makelink("file_new.php?id=". $f->id ,$lang['Modify'],sprintf($lang['FileModifyI'],$f->getFullName())) ." <BR>"; } } --- 111,124 ---- if ( ($f->id > 0) && $f->see_ok() ) { ! echo menulink("file_show.php?format=show&id=". $f->id ,$lang['FileShow'],sprintf($lang['FileShowI'],$f->getFullName())) ." <BR>"; } if ( ($f->id > 0) && $f->mod_ok() ) { ! echo menulink("file_show.php?format=download&id=". $f->id ,$lang['FileDownload'],sprintf($lang['FileDownloadI'],$f->getFullName())) ." <BR>"; if ( $f->locked > 0 ) { if ( $f->locker->id == $current_user->id ) { ! echo menulink("file_new.php?id=". $f->id ,$lang['Modify'],sprintf($lang['FileModifyI'],$f->getFullName())) ." <BR>"; } } else { ! echo menulink("file_new.php?id=". $f->id ,$lang['Modify'],sprintf($lang['FileModifyI'],$f->getFullName())) ." <BR>"; } } Index: history_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/history_show.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** history_show.php 2001/08/11 19:11:25 1.6 --- history_show.php 2001/08/22 22:11:30 1.7 *************** *** 13,16 **** --- 13,17 ---- include("url.pinc"); include("file.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ Index: installation_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_show.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** installation_show.php 2001/08/19 18:11:30 1.10 --- installation_show.php 2001/08/22 22:11:30 1.11 *************** *** 188,195 **** echo "<TR><TD>"; if ( $obj->id > 0 ) { ! echo makelink("installation_new.php",$lang['NewEntry'],$lang['InstCreateI']) . "<BR>\n"; if ( $obj->mod_ok() ) { ! echo makelink("installation_new.php?id=". $obj->id,$lang['Change'],$lang['InstCreateI']) . "<BR>\n"; } if ( $obj->del_ok() ) { --- 188,195 ---- echo "<TR><TD>"; if ( $obj->id > 0 ) { ! echo menulink("installation_new.php",$lang['NewEntry'],$lang['InstCreateI']) . "<BR>\n"; if ( $obj->mod_ok() ) { ! echo menulink("installation_new.php?id=". $obj->id,$lang['Change'],$lang['InstCreateI']) . "<BR>\n"; } if ( $obj->del_ok() ) { *************** *** 200,213 **** if ( ($obj->id > 0) && $obj->see_ok() ) { if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo makelink("bug_new.php?pid=$obj->id",$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo makelink("file_new.php?link_id=". $obj->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_new.php?link_id=". $obj->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$obj->getFullName())) ." <BR>\n"; } echo "<BR>\n"; --- 200,213 ---- if ( ($obj->id > 0) && $obj->see_ok() ) { if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo menulink("bug_new.php?pid=$obj->id",$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo menulink("file_new.php?link_id=". $obj->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_new.php?link_id=". $obj->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$obj->getFullName())) ." <BR>\n"; } echo "<BR>\n"; Index: product_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_show.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** product_show.php 2001/08/19 18:13:35 1.15 --- product_show.php 2001/08/22 22:11:30 1.16 *************** *** 361,368 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("product_select.php",$lang['Search'],$lang['SearchForProd']) ."<BR>\n"; ! echo makelink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>\n"; if ( ($obj->id > 0) && $obj->mod_ok() ) { ! echo makelink("product_new.php?id=". $obj->id ,$lang['Modify'],sprintf($lang['ProdModInfo'],$obj->getFullname())) ." <BR>"; } if ( ($obj->id > 0) && $obj->del_ok() ) { --- 361,368 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("product_select.php",$lang['Search'],$lang['SearchForProd']) ."<BR>\n"; ! echo menulink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>\n"; if ( ($obj->id > 0) && $obj->mod_ok() ) { ! echo menulink("product_new.php?id=". $obj->id ,$lang['Modify'],sprintf($lang['ProdModInfo'],$obj->getFullname())) ." <BR>"; } if ( ($obj->id > 0) && $obj->del_ok() ) { *************** *** 376,397 **** if ( ($obj->id > 0) && $obj->see_ok() ) { if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo makelink("bug_new.php?pid=$obj->id",$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { ! echo makelink("installation_new.php?pid=". $obj->id ,$lang['InstCreate'],$lang['InstCreateI']) ." <BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { if ( $obj->mod_ok() > 0 ) { ! echo makelink("task_new.php?p_id=". $obj->id ,$lang['TaskCreate'],sprintf($lang['TaskCreateInfo'],$obj->getFullName())) ." <BR>\n"; } } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo makelink("file_new.php?link_id=". $obj->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_new.php?link_id=". $obj->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$obj->getFullName())) ." <BR>\n"; } --- 376,397 ---- if ( ($obj->id > 0) && $obj->see_ok() ) { if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo menulink("bug_new.php?pid=$obj->id",$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[useinstmanagement] == 1) && ($tutos[useinstmanagement] == 1) ) { ! echo menulink("installation_new.php?pid=". $obj->id ,$lang['InstCreate'],$lang['InstCreateI']) ." <BR>\n"; } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { if ( $obj->mod_ok() > 0 ) { ! echo menulink("task_new.php?p_id=". $obj->id ,$lang['TaskCreate'],sprintf($lang['TaskCreateInfo'],$obj->getFullName())) ." <BR>\n"; } } if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usedocmanagement] == 1) && ($tutos[usedocmanagement] == 1) ) { ! echo menulink("file_new.php?link_id=". $obj->id ,$lang['FileCreate'],sprintf($lang['FileCreateInfo'],$obj->getFullName())) ." <BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_new.php?link_id=". $obj->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$obj->getFullName())) ." <BR>\n"; } *************** *** 399,403 **** watchlist_link($obj,$current_user); echo "<BR>\n"; ! echo makelink("product_show.php?format=paper&id=". $obj->id ,$lang['Printable'],$lang['PrintableInfo']); } echo "</TD></TR>"; --- 399,403 ---- watchlist_link($obj,$current_user); echo "<BR>\n"; ! echo menulink("product_show.php?format=paper&id=". $obj->id ,$lang['Printable'],$lang['PrintableInfo']); } echo "</TD></TR>"; Index: resource_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource_show.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** resource_show.php 2001/08/21 21:57:11 1.6 --- resource_show.php 2001/08/22 22:11:30 1.7 *************** *** 11,14 **** --- 11,15 ---- include("installation.pinc"); include("product.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ *************** *** 134,145 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("resource_new.php",$lang['NewEntry'],$lang['ResCreate']) ."<BR>"; if ( $b->mod_ok() ) { ! echo makelink("resource_new.php?id=". $b->id ,$lang['Modify'],sprintf($lang['ResModifyI'],$b->getFullName())) ."<BR>\n"; } ! echo makelink("resource_overview.php",$lang['Resources'],$lang['Resources']) ."<BR>"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $b->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$b->getFullName())) ." <BR>\n"; } echo "</TD></TR>"; --- 135,146 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("resource_new.php",$lang['NewEntry'],$lang['ResCreate']) ."<BR>"; if ( $b->mod_ok() ) { ! echo menulink("resource_new.php?id=". $b->id ,$lang['Modify'],sprintf($lang['ResModifyI'],$b->getFullName())) ."<BR>\n"; } ! echo menulink("resource_overview.php",$lang['Resources'],$lang['Resources']) ."<BR>"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $b->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$b->getFullName())) ." <BR>\n"; } echo "</TD></TR>"; Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** task_show.php 2001/08/11 19:11:25 1.9 --- task_show.php 2001/08/22 22:11:30 1.10 *************** *** 182,194 **** # Work done in time/volume if ( Round($m2 * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round($m2 * $p) ."\" BGCOLOR=green> </TD>\n"; } # Work to do if ( Round((100 - $c) * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round((100 - $c) * $p) ."\" BGCOLOR=#F08000> </TD>\n"; } # Work done more than scheduled if ( Round(($c - 100) * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round(($c - 100) * $p) ."\" BGCOLOR=#FF0000> </TD>\n"; } --- 182,194 ---- # Work done in time/volume if ( Round($m2 * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round($m2 * $p) ."\" CLASS=task_done> </TD>\n"; } # Work to do if ( Round((100 - $c) * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round((100 - $c) * $p) ."\" CLASS=task_todo> </TD>\n"; } # Work done more than scheduled if ( Round(($c - 100) * $p) > 0 ) { ! echo " <TD COLSPAN=\"". Round(($c - 100) * $p) ."\" CLASS=task_much> </TD>\n"; } *************** *** 205,211 **** echo "<TR><TD>"; if ( $obj->id > 0 ) { ! echo makelink("task_new.php?p_id=". $obj->id ,$lang['NewEntry'],sprintf($lang['TaskCreateInfo'],$obj->name)) ." <BR>\n"; if ( $obj->mod_ok() ) { ! echo makelink("task_new.php?id=". $obj->id ,$lang['Modify'],sprintf($lang['TaskModify'],$obj->name)) ." <BR>"; } if ( $obj->del_ok() ) { --- 205,211 ---- echo "<TR><TD>"; if ( $obj->id > 0 ) { ! echo menulink("task_new.php?p_id=". $obj->id ,$lang['NewEntry'],sprintf($lang['TaskCreateInfo'],$obj->name)) ." <BR>\n"; if ( $obj->mod_ok() ) { ! echo menulink("task_new.php?id=". $obj->id ,$lang['Modify'],sprintf($lang['TaskModify'],$obj->name)) ." <BR>"; } if ( $obj->del_ok() ) { *************** *** 215,223 **** if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo makelink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->name)) ." <BR>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo makelink("bug_new.php?pid=". $obj->id,$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; } echo "<BR>\n"; --- 215,226 ---- if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { ! echo menulink("note_new.php?link_id=". $obj->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$obj->name)) ." <BR>\n"; } if ( ($current_user->p[usebugtracking] == 1) && ($tutos[usebugtracking] == 1) ) { ! echo menulink("bug_new.php?pid=". $obj->id,$lang['BugCreate'],sprintf($lang['BugCreateInfo'],$obj->getFullName())) ." <BR>\n"; ! } ! if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_new.php?link_id=". $obj->id ,$lang['TimetrackCreate'],sprintf($lang['TimetrackCreateI'],$obj->getFullName())) ." <BR>\n"; } echo "<BR>\n"; Index: team_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** team_show.php 2001/08/21 21:57:11 1.8 --- team_show.php 2001/08/22 22:11:30 1.9 *************** *** 117,123 **** echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo makelink("team_new.php",$lang['NewEntry'],$lang['TeamCreateI']) ."<BR>"; if ( ($t->id > 0) && $t->mod_ok() ) { ! echo makelink("team_new.php?id=". $t->id ,$lang['Modify'],sprintf($lang['TeamModifyI'],$t->name)) ."<BR>"; } echo "<BR>\n"; --- 117,123 ---- echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo menulink("team_new.php",$lang['NewEntry'],$lang['TeamCreateI']) ."<BR>"; if ( ($t->id > 0) && $t->mod_ok() ) { ! echo menulink("team_new.php?id=". $t->id ,$lang['Modify'],sprintf($lang['TeamModifyI'],$t->name)) ."<BR>"; } echo "<BR>\n"; *************** *** 128,132 **** } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo makelink ("task_overview.php?id=". $t->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$t->getFullName())) ."<BR>\n"; } if ( ($tutos[usetaskmanagement] == 1) --- 128,132 ---- } if ( ($current_user->p[usetaskmanagement] == 1) && ($tutos[usetaskmanagement] == 1) ) { ! echo menulink ("task_overview.php?id=". $t->id ,$lang['TaskOverview'],sprintf($lang['TaskOverviewInfo'],$t->getFullName())) ."<BR>\n"; } if ( ($tutos[usetaskmanagement] == 1) *************** *** 134,141 **** && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo makelink("res_cal.php?id=".$t->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo makelink("timetrack_overview.php?link_id=".$t->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$t->getFullName())) ."<BR>\n"; } } --- 134,141 ---- && ($tutos[usecalendar] == 1) && ($current_user->p[usecalendar] == 1) ) { ! echo menulink("res_cal.php?id=".$t->id,$lang['ResCal'],$lang['ResCal']) ."<BR>\n"; } if ( ($current_user->p[usetimetrack] == 1) && ($tutos[usetimetrack] == 1) ) { ! echo menulink("timetrack_overview.php?link_id=".$t->id,$lang['TimetrackBooked'],sprintf($lang['TimetrackBookedI'],$t->getFullName())) ."<BR>\n"; } } Index: address_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_overview.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** address_overview.php 2001/08/09 10:32:03 1.5 --- address_overview.php 2001/08/22 22:11:30 1.6 *************** *** 25,30 **** echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "</TD></TR>"; --- 25,30 ---- echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "</TD></TR>"; Index: adr_ldap_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/adr_ldap_overview.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** adr_ldap_overview.php 2001/08/09 10:32:03 1.2 --- adr_ldap_overview.php 2001/08/22 22:11:30 1.3 *************** *** 172,177 **** echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "</TD></TR>"; --- 172,177 ---- echo "<TR><TD>"; if ( ($current_user->p[useaddressbook] == 1) && ($tutos[useaddressbook] == 1) ) { ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("address_new.php",$lang['NewEntry'],$lang['AdrCreateInfo']) . "<BR>\n"; } echo "</TD></TR>"; Index: app_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_overview.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** app_overview.php 2001/08/21 20:56:10 1.1 --- app_overview.php 2001/08/22 22:11:30 1.2 *************** *** 110,116 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("app_select.php" ,$lang['Search'],$lang['SearchForApp']) . "<BR>"; ! echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; echo "</TD></TR>"; HTML_Select(); --- 110,116 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("app_select.php" ,$lang['Search'],$lang['SearchForApp']) . "<BR>"; ! echo menulink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo menulink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; echo "</TD></TR>"; HTML_Select(); Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_overview.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** bug_overview.php 2001/08/09 10:32:03 1.15 --- bug_overview.php 2001/08/22 22:11:30 1.16 *************** *** 10,13 **** --- 10,14 ---- include("task.pinc"); include("installation.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ *************** *** 42,45 **** --- 43,47 ---- } + # DoubleTableStart(1,5); echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; *************** *** 71,75 **** $x = $b->getFullName(); if ( $filter['name'] != "" ) { ! $x = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$x); } echo " <TD NOWRAP ALIGN=right>". $b->getLink($x) ."</TD>\n"; --- 73,77 ---- $x = $b->getFullName(); if ( $filter['name'] != "" ) { ! $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); } echo " <TD NOWRAP ALIGN=right>". $b->getLink($x) ."</TD>\n"; *************** *** 84,88 **** $x = $b->short; if ( $filter['name'] != "" ) { ! $x = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$x); } echo " <TD> ". $x ."</TD>\n"; --- 86,90 ---- $x = $b->short; if ( $filter['name'] != "" ) { ! $x = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$x); } echo " <TD> ". $x ."</TD>\n"; *************** *** 122,125 **** --- 124,128 ---- } echo "</TABLE>\n"; + # DoubleTableEnd(); } /* --------------------------------------------------------------------------- *************** *** 392,397 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo makelink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; --- 395,400 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo menulink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; *************** *** 399,406 **** if ( $format != "stat" ) { $l = addUrlParameter($link2,"format=paper"); ! echo makelink($l,$lang['Printable'],$lang['PrintableInfo']); echo "<BR>\n"; $l = addUrlParameter($link2,"format=stat"); ! echo makelink($l,$lang['BugStats'],$lang['BugStatsInfo']); } else { echo $lang['BugStats']; --- 402,409 ---- if ( $format != "stat" ) { $l = addUrlParameter($link2,"format=paper"); ! echo menulink($l,$lang['Printable'],$lang['PrintableInfo']); echo "<BR>\n"; $l = addUrlParameter($link2,"format=stat"); ! echo menulink($l,$lang['BugStats'],$lang['BugStatsInfo']); } else { echo $lang['BugStats']; Index: company_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_overview.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** company_overview.php 2001/08/09 10:32:03 1.8 --- company_overview.php 2001/08/22 22:11:30 1.9 *************** *** 100,109 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("company_new.php",$lang['NewEntry'],$lang['CompanyCreateInfo']) . "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { echo "<BR>\n"; ! echo makelink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } --- 100,109 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("company_new.php",$lang['NewEntry'],$lang['CompanyCreateInfo']) . "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { echo "<BR>\n"; ! echo menulink("note_select.php",$lang['NoteSearch'],$lang['SearchForNote']) ."<BR>\n"; } Index: installation_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation_overview.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** installation_overview.php 2001/08/11 19:11:25 1.4 --- installation_overview.php 2001/08/22 22:11:30 1.5 *************** *** 65,69 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("installation_new.php",$lang['NewEntry'],$lang['InstCreateI']) . "<BR>\n"; echo "</TD></TR>"; --- 65,69 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("installation_new.php",$lang['NewEntry'],$lang['InstCreateI']) . "<BR>\n"; echo "</TD></TR>"; Index: note_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note_overview.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** note_overview.php 2001/07/28 18:21:21 1.5 --- note_overview.php 2001/08/22 22:11:30 1.6 *************** *** 110,114 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("note_select.php",$lang['Search'],$lang['SearchForNote']) ."<BR>\n"; echo "</TD></TR>"; --- 110,114 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("note_select.php",$lang['Search'],$lang['SearchForNote']) ."<BR>\n"; echo "</TD></TR>"; Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** product_overview.php 2001/08/21 21:57:11 1.15 --- product_overview.php 2001/08/22 22:11:30 1.16 *************** *** 58,61 **** --- 58,62 ---- + # DoubleTableStart(1,3); echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; *************** *** 163,167 **** $b = $p->name; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$b); } echo " <TD VALIGN=top> ". $p->getLink($b) ."</TD>\n"; --- 164,168 ---- $b = $p->name; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); } echo " <TD VALIGN=top> ". $p->getLink($b) ."</TD>\n"; *************** *** 170,174 **** $b = $p->version; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; --- 171,175 ---- $b = $p->version; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; *************** *** 237,241 **** $b = $p->description; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; --- 238,242 ---- $b = $p->description; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; *************** *** 244,248 **** $b = $p->desc1; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; --- 245,249 ---- $b = $p->desc1; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPAN CLASS=found>\\1</SPAN>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; *************** *** 251,255 **** $b = $p->desc2; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<FONT COLOR=red>\\1</FONT>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; --- 252,256 ---- $b = $p->desc2; if ( $filter['name'] != "" ) { ! $b = eregi_replace("(". $filter['name'] .")","<SPANN CLASS=found>\\1</SPAN>",$b); } echo " <TD VALIGN=top> ". $b ."</TD>\n"; *************** *** 354,357 **** --- 355,359 ---- echo "</TR>\n"; } + # DoubleTableEnd(); echo "</TABLE>\n"; } *************** *** 595,600 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("product_select.php",$lang['Search'],$lang['SearchForProd']) ."<BR>\n"; ! echo makelink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>"; echo "</TD></TR>"; echo "<TR><TD>"; --- 597,602 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("product_select.php",$lang['Search'],$lang['SearchForProd']) ."<BR>\n"; ! echo menulink("product_new.php",$lang['NewEntry'],$lang['ProdCreateInfo']) ."<BR>"; echo "</TD></TR>"; echo "<TR><TD>"; *************** *** 614,622 **** echo $hidden; DoubleTableStart(0,0); ! echo "<TR><TH>". $lang['ProdFields'] ."</TH></TR>"; @reset($tutos[prodfields]); while( list ($i,$c) = @each ($tutos[prodfields])) { echo "<TR><TD NOWRAP>\n"; ! echo " <INPUT TYPE=checkbox name=ps[] ". $schecked[$c] ." value=". $c .">". $lang[$flds[$c]] ."\n"; echo "</TD></TR>\n"; } --- 616,624 ---- echo $hidden; DoubleTableStart(0,0); ! echo "<TR><TH>". $lang['ProdFields'] ."</TH></TR>\n"; @reset($tutos[prodfields]); while( list ($i,$c) = @each ($tutos[prodfields])) { echo "<TR><TD NOWRAP>\n"; ! echo " <INPUT TYPE=checkbox name=ps[] ". $schecked[$c] ." value=\"". $c ."\">". $lang[$flds[$c]] ."\n"; echo "</TD></TR>\n"; } *************** *** 633,646 **** } $ll = addUrlParameter($link2,"format=paper"); ! echo makelink($ll,$lang['Printable'],$lang['PrintableInfo']); if ( $format != "stat" ) { echo "<BR>"; $ll = addUrlParameter($link2,"format=stat"); ! echo makelink($ll,$lang['ProdStats'],$lang['ProdStatsInfo']); } else { echo "<BR>"; $ll = addUrlParameter($link2,"format="); ! echo makelink($ll,$lang['ProdStats'],$lang['ProdStatsInfo']); } echo "</TD></TR>"; --- 635,648 ---- } $ll = addUrlParameter($link2,"format=paper"); ! echo menulink($ll,$lang['Printable'],$lang['PrintableInfo']); if ( $format != "stat" ) { echo "<BR>"; $ll = addUrlParameter($link2,"format=stat"); ! echo menulink($ll,$lang['ProdStats'],$lang['ProdStatsInfo']); } else { echo "<BR>"; $ll = addUrlParameter($link2,"format="); ! echo menulink($ll,$lang['ProdStats'],$lang['ProdStatsInfo']); } echo "</TD></TR>"; Index: resource_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource_overview.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** resource_overview.php 2001/08/09 10:32:03 1.4 --- resource_overview.php 2001/08/22 22:11:30 1.5 *************** *** 86,90 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("resource_new.php",$lang['NewEntry'],$lang['ResCreate']) . "<BR>\n"; echo "</TD></TR>"; --- 86,90 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("resource_new.php",$lang['NewEntry'],$lang['ResCreate']) . "<BR>\n"; echo "</TD></TR>"; Index: team_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_overview.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** team_overview.php 2001/08/11 19:11:25 1.4 --- team_overview.php 2001/08/22 22:11:30 1.5 *************** *** 46,51 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("team_new.php",$lang['NewEntry'],$lang['TeamCreateI']) . "<BR>\n"; echo "</TD></TR>"; --- 46,51 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("team_new.php",$lang['NewEntry'],$lang['TeamCreateI']) . "<BR>\n"; echo "</TD></TR>"; Index: timetrack_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack_overview.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** timetrack_overview.php 2001/08/09 10:32:03 1.10 --- timetrack_overview.php 2001/08/22 22:11:30 1.11 *************** *** 218,227 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("timetrack_select.php",$lang['Search'],$lang['SearchForTT']) ."<BR>\n"; echo "<BR>\n"; if ( $format != "stat" ) { $l = addUrlParameter($link,"format=stat"); ! echo makelink($l,$lang['BugStats'],$lang['BugStatsInfo']) . "<BR>\n"; } else { echo $lang['BugStats'] . "<BR>\n"; --- 218,227 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("timetrack_select.php",$lang['Search'],$lang['SearchForTT']) ."<BR>\n"; echo "<BR>\n"; if ( $format != "stat" ) { $l = addUrlParameter($link,"format=stat"); ! echo menulink($l,$lang['BugStats'],$lang['BugStatsInfo']) . "<BR>\n"; } else { echo $lang['BugStats'] . "<BR>\n"; *************** *** 229,233 **** $l = addUrlParameter($link,"format=export"); ! echo makelink($l,$lang['Export'],$lang['ExportInfo']); echo "</TD></TR>"; --- 229,233 ---- $l = addUrlParameter($link,"format=export"); ! echo menulink($l,$lang['Export'],$lang['ExportInfo']); echo "</TD></TR>"; Index: address_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_new.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** address_new.php 2001/08/21 21:57:11 1.13 --- address_new.php 2001/08/22 22:11:30 1.14 *************** *** 203,216 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo makelink("address_new.php",$lang['AdrBNew'],$lang['AdrBNewInfo']) ."<BR>"; if ( $a->id > 0 ) { if ( $a->mod_ok() ) { ! echo makelink("address_new.php?id=". $a->id,$lang['AdrBMod'],sprintf($lang['AdrBModInfo'],$a->getFullName())) ."<BR>"; } if ( $a->del_ok() && ($a->isUser() == 0) ) { echo confirmlink("address_del.php?id=". $a->id,$lang['AdrBDel'],sprintf($lang['AdrBDelInfo'],$a->getFullName())) ."<BR>"; } ! echo makelink("address_show.php?id=". $a->id,$lang['AdrSeeEntry'],sprintf($lang['AdrSeeEntryI'],$a->getFullName())) ."<BR>"; echo "<P>\n"; --- 203,216 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>\n"; ! echo menulink("address_new.php",$lang['AdrBNew'],$lang['AdrBNewInfo']) ."<BR>"; if ( $a->id > 0 ) { if ( $a->mod_ok() ) { ! echo menulink("address_new.php?id=". $a->id,$lang['AdrBMod'],sprintf($lang['AdrBModInfo'],$a->getFullName())) ."<BR>"; } if ( $a->del_ok() && ($a->isUser() == 0) ) { echo confirmlink("address_del.php?id=". $a->id,$lang['AdrBDel'],sprintf($lang['AdrBDelInfo'],$a->getFullName())) ."<BR>"; } ! echo menulink("address_show.php?id=". $a->id,$lang['AdrSeeEntry'],sprintf($lang['AdrSeeEntryI'],$a->getFullName())) ."<BR>"; echo "<P>\n"; *************** *** 223,227 **** echo "<TR>"; echo "<TD>"; ! echo makelink("address_new.php?id=". $a->id ."&loc_id=$i",$lang['Change'],sprintf($lang['ChangeLocInfo'],$f, $a->getFullName())); echo "</TD><TD>\n"; echo confirmlink("location_del.php?ref=". $a->id ."&id=$i",$lang['Delete'],sprintf($lang['DeleteLocInfo'],$f, $a->getFullName())); --- 223,227 ---- echo "<TR>"; echo "<TD>"; ! echo menulink("address_new.php?id=". $a->id ."&loc_id=$i",$lang['Change'],sprintf($lang['ChangeLocInfo'],$f, $a->getFullName())); echo "</TD><TD>\n"; echo confirmlink("location_del.php?ref=". $a->id ."&id=$i",$lang['Delete'],sprintf($lang['DeleteLocInfo'],$f, $a->getFullName())); *************** *** 231,235 **** DoubleTableEnd(); } ! echo makelink("address_new.php?id=". $a->id ."&loc_id=-1",$lang['AdrLNew'],sprintf($lang['AdrLNewInfo'],$a->getFullName())) ."<BR>"; } --- 231,235 ---- DoubleTableEnd(); } ! echo menulink("address_new.php?id=". $a->id ."&loc_id=-1",$lang['AdrLNew'],sprintf($lang['AdrLNewInfo'],$a->getFullName())) ."<BR>"; } *************** *** 239,254 **** $u->read($a->id); if ( $u->mod_ok() ) { ! echo makelink("user_new.php?id=". $a->id ,$lang['UserModify'],sprintf($lang['UserModInfo'],$a->getFullName())) ."<BR>\n"; } } else if ( $current_user->admin == 1 ) { ! echo makelink("user_new.php?id=". $a->id ,$lang['UserCreate'],sprintf($lang['UserNewInfo'],$a->getFullName())) . "<BR>\n"; } } echo "<BR>\n"; if ( $current_user->admin == 1 ) { ! echo makelink("team_new.php",$lang['TeamCreate'],$lang['TeamCreateI']) . "<BR>\n"; } ! echo makelink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo makelink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; echo "</TD></TR>"; --- 239,254 ---- $u->read($a->id); if ( $u->mod_ok() ) { ! echo menulink("user_new.php?id=". $a->id ,$lang['UserModify'],sprintf($lang['UserModInfo'],$a->getFullName())) ."<BR>\n"; } } else if ( $current_user->admin == 1 ) { ! echo menulink("user_new.php?id=". $a->id ,$lang['UserCreate'],sprintf($lang['UserNewInfo'],$a->getFullName())) . "<BR>\n"; } } echo "<BR>\n"; if ( $current_user->admin == 1 ) { ! echo menulink("team_new.php",$lang['TeamCreate'],$lang['TeamCreateI']) . "<BR>\n"; } ! echo menulink("company_new.php",$lang['CompanyCreate'],$lang['CompanyCreateInfo']) ."<BR>"; ! echo menulink("department_new.php",$lang['DepartmentCreate'],$lang['DepCreateInfo'] ) ."<BR>"; echo "</TD></TR>"; Index: app_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_new.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** app_new.php 2001/08/21 20:56:10 1.1 --- app_new.php 2001/08/22 22:11:30 1.2 *************** *** 226,240 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } ! echo makelink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { ! echo makelink("resource_overview.php",$lang['Resources'],$lang['Resources']) ."<BR>"; } echo "</TD></TR>"; --- 226,240 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; ! echo menulink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } ! echo menulink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { ! echo menulink("resource_overview.php",$lang['Resources'],$lang['Resources']) ."<BR>"; } echo "</TD></TR>"; Index: bug_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bug_new.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** bug_new.php 2001/08/11 19:11:25 1.12 --- bug_new.php 2001/08/22 22:11:30 1.13 *************** *** 9,12 **** --- 9,13 ---- include("task.pinc"); include("installation.pinc"); + include("timetrack.pinc"); /* Check if user is allowed to use it */ *************** *** 142,147 **** echo "<TABLE>"; echo "<TR><TD>"; ! echo makelink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo makelink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; if ( $b->id > 0 ) { if ( $tutos[bugdelete] == 1 ) { --- 143,148 ---- echo "<TABLE>"; echo "<TR><TD>"; ! echo menulink("bug_select.php",$lang['Search'],$lang['SearchForBug']) ."<BR>\n"; ! echo menulink("bug_new.php",$lang['NewEntry'],$lang['CreateNewBug']) ."<BR>"; if ( $b->id > 0 ) { if ( $tutos[bugdelete] == 1 ) { *************** *** 150,154 **** echo "<BR>\n"; if ( $tutos[usewatchlist] == 1 ) { ! echo makelink("watchlist_overview.php?id=".$b->id,$lang['WatchOverview'],sprintf($lang['WatchOverviewI'],$b->getFullname())) ."<BR>\n"; } } --- 151,155 ---- echo "<BR>\n"; if ( $tutos[usewatchlist] == 1 ) { ! echo menulink("watchlist_overview.php?id=".$b->id,$lang['WatchOverview'],sprintf($lang['WatchOverviewI'],$b->getFullname())) ."<BR>\n"; } } Index: company_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_new.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** company_new.php 2001/08/09 10:32:03 1.9 --- company_new.php 2001/08/22 22:11:30 1.10 *************** *** 122,126 **** echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo makelink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>"; if ( $c->del_ok() && ($c->id > 0) ) { echo confirmlink("company_del.php?id=".$c->id, $lang['Delete'],sprintf($lang['CompanyDelInfo'],$c->getFullName())) ."<BR>\n"; --- 122,126 ---- echo "<TABLE>\n"; echo "<TR><TD>\n"; ! echo menulink("address_select.php",$lang['Search'],$lang['SearchForAdr']) ."<BR>"; if ( $c->del_ok() && ($c->id > 0) ) { echo confirmlink("company_del.php?id=".$c->id, $lang['Delete'],sprintf($lang['CompanyDelInfo'],$c->getFullName())) ."<BR>\n"; *************** *** 134,140 **** echo "<TR>"; echo "<TD>"; ! echo makelink("company_new.php?id=". $c->id ."&loc_id=". $i,$lang['Change'],sprintf($lang['ChangeLocInfo'],$f, $c->getFullName())); echo "</TD><TD>\n"; ! echo makelink("location_del.php?ref=". $c->id ."&id=". $i,$lang['Delete'],sprintf($lang['DeleteLocInfo'],$f, $c->getFullName())); echo "</TD>\n"; echo "</TR>\n"; --- 134,140 ---- echo "<TR>"; echo "<TD>"; ! echo menulink("company_new.php?id=". $c->id ."&loc_id=". $i,$lang['Change'],sprintf($lang['ChangeLocInfo'],$f, $c->getFullName())); echo "</TD><TD>\n"; ! echo menulink("location_del.php?ref=". $c->id ."&id=". $i,$lang['Delete'],sprintf($lang['DeleteLocInfo'],$f, $c->getFullName())); echo "</TD>\n"; echo "</TR>\n"; *************** *** 142,146 **** DoubleTableEnd(); if ( $c->id > 0 ) { ! echo makelink("company_new.php?id=". $c->id ."&loc_id=-1",$lang['AdrLNew'],sprintf($lang['AdrLNewInfo'],$c->getFullName())) ."<BR>"; } } --- 142,146 ---- DoubleTableEnd(); if ( $c->id > 0 ) { ! echo menulink("company_new.php?id=". $c->id ."&loc_id=-1",$lang['AdrLNew'],sprintf($lang['AdrLNewInfo'],$c->getFullName())) ."<BR>"; } } Index: department_new.php ==================================================... [truncated message content] |
From: Gero K. <gok...@us...> - 2001-08-22 22:11:33
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv29145 Modified Files: Makefile.in Log Message: theme stuff changed Index: Makefile.in =================================================================== RCS file: /cvsroot/tutos/tutos/Makefile.in,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** Makefile.in 2001/08/21 21:57:11 1.55 --- Makefile.in 2001/08/22 22:11:30 1.56 *************** *** 11,14 **** --- 11,17 ---- # # $Log$ + # Revision 1.56 2001/08/22 22:11:30 gokohnert + # theme stuff changed + # # Revision 1.55 2001/08/21 21:57:11 gokohnert # prepare relaes 200108?? III *************** *** 432,435 **** --- 435,445 ---- html/help/foot1.html.de + CSSFILES = \ + html/tutos.css \ + html/blue.css \ + html/red.css \ + html/sqli.css \ + html/visual.css + # # OTHER files are distributed with all release packages *************** *** 465,468 **** --- 475,484 ---- html/tutos.css \ html/blue.css \ + html/blue/appointments.gif \ + html/blue/addresses.gif \ + html/blue/bugs.gif \ + html/blue/projects.gif \ + html/blue/teams.gif \ + html/blue/logout.gif \ html/red.css \ html/sqli.css \ *************** *** 824,833 **** # # Show the language differences (undefined fields in PHP language files) # langdiff: ${LANGFILES} - cut -f1 -d "=" php/it.p3 | grep "^.lang" > l.it - cut -f1 -d "=" php/de.p3 | grep "^.lang" > l.de cut -f1 -d "=" php/en.p3 | grep "^.lang" > l.en cut -f1 -d "=" php/es.p3 | grep "^.lang" > l.es cut -f1 -d "=" php/fr.p3 | grep "^.lang" > l.fr --- 840,869 ---- # + # Check the CSS files for missing definitions + # + cssdiff: ${CSSFILES} + cat html/tutos.css | egrep "{" > css.tutos + cat html/blue.css | egrep "{" > css.blue + cat html/red.css | egrep "{" > css.red + cat html/visual.css | egrep "{" > css.visual + cat html/sqli.css | egrep "{" > css.sqli + @echo "----------------------------------------" + -diff css.tutos css.blue + @echo "----------------------------------------" + -diff css.tutos css.red + @echo "----------------------------------------" + -diff css.tutos css.visual + @echo "----------------------------------------" + -diff css.tutos css.sqli + @echo "----------------------------------------" + -@@RM@ css.* + + # # Show the language differences (undefined fields in PHP language files) # langdiff: ${LANGFILES} cut -f1 -d "=" php/en.p3 | grep "^.lang" > l.en + cut -f1 -d "=" php/de.p3 | grep "^.lang" > l.de + cut -f1 -d "=" php/it.p3 | grep "^.lang" > l.it cut -f1 -d "=" php/es.p3 | grep "^.lang" > l.es cut -f1 -d "=" php/fr.p3 | grep "^.lang" > l.fr *************** *** 861,865 **** @echo "----------------------------------------" -diff l.en l.nl ! # # Show the language differences (undefined fields in PHP language files) --- 897,901 ---- @echo "----------------------------------------" -diff l.en l.nl ! -@@RM@ l.?? # # Show the language differences (undefined fields in PHP language files) |
From: Gero K. <gok...@us...> - 2001-08-22 22:10:11
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv28880/php Modified Files: minical.php Log Message: minical use theme now Index: minical.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/minical.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** minical.php 2001/08/09 10:32:03 1.4 --- minical.php 2001/08/22 22:10:08 1.5 *************** *** 4,8 **** --- 4,12 ---- */ include("webelements.p3"); + include("permission.p3"); + /* Check if user is allowed to use it */ + check_user(); + ReadLang($lang); *************** *** 93,103 **** $col = ""; if ($xm != $m ) { ! $col = " BGCOLOR=#DEDEDE"; } else if ($wd == 0 ) { ! $col = " BGCOLOR=#FEDEDE"; } else if ( ( $xm == $m ) && ( $xd == $d ) && ( $xy == $y ) ) { ! $col = " BGCOLOR=#DEFEDE"; } ! echo "<TD ALIGN=right $col>\n"; echo "<FONT SIZE=-1>\n"; echo "<A HREF=\"JavaScript:closeandaway(". ($xd + $n) .",". ($xm + $n) .",". ($yoff - $xy + $n) .")\">". $xxd ."</A>"; --- 97,107 ---- $col = ""; if ($xm != $m ) { ! $col = "appday"; } else if ($wd == 0 ) { ! $col = "holiday"; } else if ( ( $xm == $m ) && ( $xd == $d ) && ( $xy == $y ) ) { ! $col = "today"; } ! echo "<TD ALIGN=right CLASS=". $col .">\n"; echo "<FONT SIZE=-1>\n"; echo "<A HREF=\"JavaScript:closeandaway(". ($xd + $n) .",". ($xm + $n) .",". ($yoff - $xy + $n) .")\">". $xxd ."</A>"; |
From: Gero K. <gok...@us...> - 2001-08-22 22:09:13
|
Update of /cvsroot/tutos/tutos/html/blue In directory usw-pr-cvs1:/tmp/cvs-serv28700/html/blue Added Files: addresses.gif appointments.gif bugs.gif logout.gif projects.gif teams.gif Log Message: updated/new blue theme --- NEW FILE: addresses.gif --- GIF89a --- NEW FILE: appointments.gif --- GIF89a --- NEW FILE: bugs.gif --- GIF89a --- NEW FILE: logout.gif --- GIF89a --- NEW FILE: projects.gif --- GIF89a --- NEW FILE: teams.gif --- GIF89a |
From: Gero K. <gok...@us...> - 2001-08-22 19:27:16
|
Update of /cvsroot/tutos/tutos/html/blue In directory usw-pr-cvs1:/tmp/cvs-serv13514/blue Log Message: Directory /cvsroot/tutos/tutos/html/blue added to the repository |
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv23794 Modified Files: appointment.pinc de.p3 en.p3 es.p3 fr.p3 it.p3 ko.p3 nl.p3 pl.p3 pt-br.p3 ru.p3 tw.p3 zh.p3 Log Message: Made subject of email invitations translateable Index: appointment.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** appointment.pinc 2001/08/21 21:57:11 1.46 --- appointment.pinc 2001/08/22 17:17:51 1.47 *************** *** 754,758 **** $m = new mail(); $m->setFrom($this->creator); ! $m->setSubject("Invitation"); # $msg = $msg . count($this->participant) . "<BR>\n"; --- 754,758 ---- $m = new mail(); $m->setFrom($this->creator); ! $m->setSubject($lang['Invitation']); # $msg = $msg . count($this->participant) . "<BR>\n"; Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -r1.55 -r1.56 *** de.p3 2001/08/22 15:48:27 1.55 --- de.p3 2001/08/22 17:17:51 1.56 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "Informieren per E-mail"; $lang['InviteEmail'] = "Einladen per E-mail"; + $lang['Invitation'] = "Einladung"; $lang['IgnoreTime'] = "Obige Zeiten ignorieren"; $lang['IgnoreTime2'] = "(d.h. der Termin findet zu keiner bestimmten<BR>Uhrzeit an den Tag(en) statt)"; Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** en.p3 2001/08/21 21:23:22 1.52 --- en.p3 2001/08/22 17:17:51 1.53 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "Inform by Email"; $lang['InviteEmail'] = "Invite by Email"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "ignore above times"; $lang['IgnoreTime2'] = "(i.e. the appointment takes place<BR>at no particular time on these day(s) )"; Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** es.p3 2001/08/21 21:23:22 1.37 --- es.p3 2001/08/22 17:17:51 1.38 *************** *** 38,41 **** --- 38,42 ---- $lang['InfoEmail'] = "Informar por Email"; $lang['InviteEmail'] = "Invitar por Email"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "ignorar hora y fecha"; $lang['IgnoreTime2'] = "(si la cita no tiene lugar en una hora especifica)"; *************** *** 808,810 **** ### Local Variables: *** ### End: *** ! ?> \ No newline at end of file --- 809,811 ---- ### Local Variables: *** ### End: *** ! ?> Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** fr.p3 2001/08/21 21:23:22 1.36 --- fr.p3 2001/08/22 17:17:51 1.37 *************** *** 9,14 **** # ======================================================= # - # # $lang['content_encoding'] = "iso-8859-1"; setlocale(LC_TIME,'fr_FR'); --- 9,14 ---- # ======================================================= # # + # $lang['content_encoding'] = "iso-8859-1"; setlocale(LC_TIME,'fr_FR'); *************** *** 38,41 **** --- 38,42 ---- $lang['InfoEmail'] = "Informer par mail"; $lang['InviteEmail'] = "Inviter par Email"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "Pas d'heure"; $lang['IgnoreTime2'] = "(i.e. l'evenement n'a pas<BR>d'heure precise)"; Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -r1.45 -r1.46 *** it.p3 2001/08/21 21:23:22 1.45 --- it.p3 2001/08/22 17:17:51 1.46 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "Informa via mail"; $lang['InviteEmail'] = "Invita via Mail"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "ignore above times"; $lang['IgnoreTime2'] = "(i.e. l'appuntamento senza un orario specifico per queso/i giorno/i )"; *************** *** 806,808 **** ### Local Variables: *** ### End: *** ! ?> \ No newline at end of file --- 807,809 ---- ### Local Variables: *** ### End: *** ! ?> Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** ko.p3 2001/08/21 21:23:22 1.11 --- ko.p3 2001/08/22 17:17:51 1.12 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "E-mail·Î ¾Ë¸²"; $lang['InviteEmail'] = "Invite by E-mail"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "Á¤ÇØÁø ½Ã°£ÀÌÈÄ ¹«½Ã"; $lang['IgnoreTime2'] = "(i.e. the appointment takes place<BR>at no particular time on these day(s) )"; Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** nl.p3 2001/08/21 21:23:22 1.4 --- nl.p3 2001/08/22 17:17:51 1.5 *************** *** 38,41 **** --- 38,42 ---- $lang['InfoEmail'] = "Informeer door e-mail"; $lang['InviteEmail'] = "Nodig uit per e-mail"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "negeer bovenstaande tijden"; $lang['IgnoreTime2'] = "(i.e.; de afspraak vindt plaats<BR>op een niet bepaalde tijd op deze datum)"; Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** pl.p3 2001/08/21 21:23:22 1.8 --- pl.p3 2001/08/22 17:17:51 1.9 *************** *** 41,44 **** --- 41,45 ---- $lang['InfoEmail'] = "Informuj przez pocztê"; $lang['InviteEmail'] = "Zawiadom przez e-mail"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "zignoruj powy¿sze terminy"; $lang['IgnoreTime2'] = "(je¶li np. spotkanie ma siê odbyæ w nieokre¶lonych godzinach tego dnia)"; Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** pt-br.p3 2001/08/21 21:23:21 1.24 --- pt-br.p3 2001/08/22 17:17:51 1.25 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "Informar por e-mail"; $lang['InviteEmail'] = "Convidar por e-mail"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "Ignorar nesses horários"; $lang['IgnoreTime2'] = "(Ex.: O compromisso toma lugar<BR>em nenhum horário nesses dias)"; *************** *** 810,812 **** ### mode:iso-accents *** ### End: *** ! ?> \ No newline at end of file --- 811,813 ---- ### mode:iso-accents *** ### End: *** ! ?> Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** ru.p3 2001/08/21 21:23:22 1.31 --- ru.p3 2001/08/22 17:17:51 1.32 *************** *** 36,39 **** --- 36,40 ---- $lang['InfoEmail'] = "éÎÆÏÒÍÉÒÏ×ÁÔØ ÐÏ Email"; $lang['InviteEmail'] = "ðÒÉÇÌÁÛÅÎÉÅ ÐÏ Email"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "éÇÎÏÒÉÒÏ×ÁÔØ ×ÒÅÍÑ"; $lang['IgnoreTime2'] = "(Ô.e. ÓÔÒÅÌËÁ ÓÏÓÔÏÉÔÓÑ × ÎÅÏÐÒÅÄÅÌÅÎÎÏÅ ×ÒÅÍÑ<BR>ÜÔÏÇÏ ÄÎÑ(ÅÊ))"; Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** tw.p3 2001/08/21 21:23:22 1.31 --- tw.p3 2001/08/22 17:17:51 1.32 *************** *** 40,43 **** --- 40,44 ---- $lang['InfoEmail'] = "¥H¹q¶l³qª¾"; $lang['InviteEmail'] = "¥H¹q¶lÁܽÐ"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "¤£¥Î²z·|¥H¤W¿ï¾Ü"; $lang['IgnoreTime2'] = "(i.e. ³o·|ij¨S¦³³W©w®É¶¡)"; *************** *** 810,812 **** ### Local Variables: *** ### End: *** ! ?> \ No newline at end of file --- 811,813 ---- ### Local Variables: *** ### End: *** ! ?> Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** zh.p3 2001/08/21 21:23:22 1.31 --- zh.p3 2001/08/22 17:17:51 1.32 *************** *** 40,43 **** --- 40,44 ---- $lang['InfoEmail'] = "ÒÔµçÓÊ֪ͨ"; $lang['InviteEmail'] = "ÒÔµçÓÊÑûÇë"; + $lang['Invitation'] = "Invitation"; $lang['IgnoreTime'] = "²»ÓÃÀí»áÒÔÉÏÑ¡Ôñ"; $lang['IgnoreTime2'] = "(i.e. Õâ»áÒéûÓй涨ʱ¼ä)"; *************** *** 810,812 **** ### Local Variables: *** ### End: *** ! ?> \ No newline at end of file --- 811,813 ---- ### Local Variables: *** ### End: *** ! ?> |
From: Boris W. <bw...@us...> - 2001-08-22 15:48:30
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv16819 Modified Files: de.p3 Log Message: Some more fixes Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** de.p3 2001/08/22 15:15:49 1.54 --- de.p3 2001/08/22 15:48:27 1.55 *************** *** 164,168 **** $lang['AppFirstDate'] = "Erster Termin"; $lang['AppLastDate'] = "Letzter Termin"; ! $lang['AppNoLastDate'] = "kein Ende"; $lang['AppRepeatType'] = "Wiederholung"; $lang['AppRepeatDay'] = "Täglich"; --- 164,168 ---- $lang['AppFirstDate'] = "Erster Termin"; $lang['AppLastDate'] = "Letzter Termin"; ! $lang['AppNoLastDate'] = "Kein Ende"; $lang['AppRepeatType'] = "Wiederholung"; $lang['AppRepeatDay'] = "Täglich"; *************** *** 233,237 **** # Bugs ! $lang['Bug'] = "Bug"; $lang['BugsSearch'] = "Fehlermanagement Suche"; $lang['BugsOverview'] = "Fehlermanagement Übersicht"; --- 233,237 ---- # Bugs ! $lang['Bug'] = "Fehler"; $lang['BugsSearch'] = "Fehlermanagement Suche"; $lang['BugsOverview'] = "Fehlermanagement Übersicht"; *************** *** 266,270 **** $lang['SearchForBugExt'] = "Erweiterte Suche nach Fehlermeldung"; $lang['CreateNewBug'] = "Einen neuen Fehler eintragen"; ! $lang['BugShow'] = "Bug %s anzeigen"; $lang['BugAdditional'] = "Zusätzliche Information"; $lang['BugHistory'] = "Historie"; --- 266,270 ---- $lang['SearchForBugExt'] = "Erweiterte Suche nach Fehlermeldung"; $lang['CreateNewBug'] = "Einen neuen Fehler eintragen"; ! $lang['BugShow'] = "Fehler %s anzeigen"; $lang['BugAdditional'] = "Zusätzliche Information"; $lang['BugHistory'] = "Historie"; *************** *** 279,283 **** $lang['BugAvgSolve'] = "Durchschnittlich %.2f Stunden zum Lösen von %d Fehlermeldung(en)"; $lang['BugAvgClose'] = "Durchschnittlich %.2f Stunden zum Schliessen von %d Fehlermeldung(en)"; ! $lang['BugID'] = "Bug ID"; $lang['BugAutoID'] = "Wird automatisch vergeben"; $lang['BugAutoState'] = "Anfänglicher Status"; --- 279,283 ---- $lang['BugAvgSolve'] = "Durchschnittlich %.2f Stunden zum Lösen von %d Fehlermeldung(en)"; $lang['BugAvgClose'] = "Durchschnittlich %.2f Stunden zum Schliessen von %d Fehlermeldung(en)"; ! $lang['BugID'] = "Fehler Nr."; $lang['BugAutoID'] = "Wird automatisch vergeben"; $lang['BugAutoState'] = "Anfänglicher Status"; *************** *** 649,654 **** $lang['FileDownloadI'] = "Download Dokument %s"; $lang['FileVersionType'] = "Versionsverwaltung"; ! $lang['FileVersionTypeI']= "Das einmal gewählte System lässt sich nicht meht ändern !"; ! $lang['FileVersioning'] = "Versionshandling"; $lang['FileVersioningI'] = "Wenn oben ein Dateiname angegeben ist."; --- 649,654 ---- $lang['FileDownloadI'] = "Download Dokument %s"; $lang['FileVersionType'] = "Versionsverwaltung"; ! $lang['FileVersionTypeI']= "Das einmal gewählte System lässt sich nicht mehr ändern !"; ! $lang['FileVersioning'] = "Versionskontrolle"; $lang['FileVersioningI'] = "Wenn oben ein Dateiname angegeben ist."; *************** *** 791,795 **** $lang['Err0035'] = "E-mail wurde nicht verschickt ! Empfänger fehlen."; $lang['Err0036'] = "Es existiert bereits ein Produkt oder Projekt (%s) mit diesem Namen und dieser Versionsnummer !"; ! $lang['Err0037'] = "Email '%s' wurde nicht verschickt ! Prototyp Text (%s) fehlt !"; $lang['Err0038'] = "Ungültiges Datum im Feld %s!"; $lang['Err0039'] = "Adresseintrag existiert bereits hier (%s) !"; --- 791,795 ---- $lang['Err0035'] = "E-mail wurde nicht verschickt ! Empfänger fehlen."; $lang['Err0036'] = "Es existiert bereits ein Produkt oder Projekt (%s) mit diesem Namen und dieser Versionsnummer !"; ! $lang['Err0037'] = "E-mail '%s' wurde nicht verschickt ! Prototyp Text (%s) fehlt !"; $lang['Err0038'] = "Ungültiges Datum im Feld %s!"; $lang['Err0039'] = "Adresseintrag existiert bereits hier (%s) !"; *************** *** 797,801 **** $lang['Err0041'] = "Passwörter sind nicht gleich !"; $lang['Err0042'] = "Altes Passwort ist falsch !"; ! $lang['Err0043'] = "E-mail %s ist in keinem gültigem (xx...@ab...) E-mail format !"; $lang['Err0044'] = "Firma existiert bereits hier (%s) !"; $lang['Err0045'] = "Abteilung existiert bereits hier (%s) !"; --- 797,801 ---- $lang['Err0041'] = "Passwörter sind nicht gleich !"; $lang['Err0042'] = "Altes Passwort ist falsch !"; ! $lang['Err0043'] = "E-mail %s ist in keinem gültigen (xx...@ab...) E-mail Format !"; $lang['Err0044'] = "Firma existiert bereits hier (%s) !"; $lang['Err0045'] = "Abteilung existiert bereits hier (%s) !"; |
From: Boris W. <bw...@us...> - 2001-08-22 15:15:51
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv31737 Modified Files: de.p3 Log Message: Removed another custom installation modification (do this in de_custom.p3!) Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** de.p3 2001/08/22 15:10:11 1.53 --- de.p3 2001/08/22 15:15:49 1.54 *************** *** 455,459 **** $lang['InstModifyI'] = "Diese Installation ändern"; $lang['InstDelI'] = "Installation %s löschen"; - $lang['InstName'] = "Rechnername"; # Company --- 455,458 ---- |
From: Boris W. <bw...@us...> - 2001-08-22 15:10:15
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv28335 Modified Files: de.p3 Log Message: Removed some custom installation modifications Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** de.p3 2001/08/22 12:33:07 1.52 --- de.p3 2001/08/22 15:10:11 1.53 *************** *** 447,453 **** $lang['InstOverview'] = "Installationsübersicht"; $lang['InstalledBy'] = "Installiert von"; - $lang['InstalledOn'] = "Installationsdatum"; $lang['SoldBy'] = "Verkauft durch"; $lang['Customer'] = "Kunde/Anwender"; $lang['InstLinkI'] = "Installationen anzeigen"; $lang['InstCreateI'] = "Eine neue Installation anlegen"; --- 447,454 ---- $lang['InstOverview'] = "Installationsübersicht"; $lang['InstalledBy'] = "Installiert von"; $lang['SoldBy'] = "Verkauft durch"; $lang['Customer'] = "Kunde/Anwender"; + $lang['Money'] = "Betrag"; + $lang['Currency'] = "Währung"; $lang['InstLinkI'] = "Installationen anzeigen"; $lang['InstCreateI'] = "Eine neue Installation anlegen"; |
From: Boris W. <bw...@us...> - 2001-08-22 12:33:12
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv13832 Modified Files: de.p3 Log Message: Completely reworked translation Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -r1.51 -r1.52 *** de.p3 2001/08/21 21:23:21 1.51 --- de.p3 2001/08/22 12:33:07 1.52 *************** *** 22,53 **** $lang['LoggedIn'] = "Sie sind angemeldet. Bitte wählen Sie auf der linken Seite."; $lang['ReadOnlyAppoint'] = "Sie dürfen diesen Termin nur ansehen !"; ! $lang['StartDate'] = "Start Datum"; ! $lang['StartTime'] = "Start Uhrzeit"; $lang['AppStart'] = "Anfang"; ! $lang['AppCreatedBy'] = "erzeugt von"; ! $lang['EndDate'] = "Ende Datum"; ! $lang['EndTime'] = "Ende Uhrzeit"; $lang['AppEnd'] = "Ende"; $lang['Participants'] = "Teilnehmer"; [...1250 lines suppressed...] $lang['Err0026'] = "Anmeldung nicht möglich"; $lang['Err0027'] = "Anmeldung misslungen"; ! $lang['Err0028'] = "Es sind keine Produkte/Projekte definiert"; ! $lang['Err0029'] = "Es sind keine Produkte/Projekte sichtbar"; $lang['Err0030'] = "Fax wurde in die Warteschlange eingereiht"; $lang['Err0031'] = "Bitte eine Faxnummer angeben !"; $lang['Err0032'] = "Fax Versand ist abgeschaltet !"; ! $lang['Err0033'] = "E-mail-Versand ist abgeschaltet ! E-mail \"%s\" wurde <U>nicht</U> abgeschickt."; ! $lang['Err0034'] = "E-mail wurde nicht verschickt ! E-mailadresse des Absenders \"%s\" fehlt."; ! $lang['Err0035'] = "E-mail wurde nicht verschickt ! Empfänger fehlen."; ! $lang['Err0036'] = "Es existiert bereits ein Produkt oder Projekt (%s) mit diesem Namen und dieser Versionsnummer !"; ! $lang['Err0037'] = "Email '%s' wurde nicht verschickt ! Prototyp Text (%s) fehlt !"; $lang['Err0038'] = "Ungültiges Datum im Feld %s!"; ! $lang['Err0039'] = "Adresseintrag existiert bereits hier (%s) !"; $lang['Err0040'] = "%s nicht gefunden !"; $lang['Err0041'] = "Passwörter sind nicht gleich !"; $lang['Err0042'] = "Altes Passwort ist falsch !"; ! $lang['Err0043'] = "E-mail %s ist in keinem gültigem (xx...@ab...) E-mail format !"; $lang['Err0044'] = "Firma existiert bereits hier (%s) !"; $lang['Err0045'] = "Abteilung existiert bereits hier (%s) !"; |
From: Gero K. <gok...@us...> - 2001-08-21 21:57:13
|
Update of /cvsroot/tutos/tutos/homepage In directory usw-pr-cvs1:/tmp/cvs-serv604/homepage Modified Files: index.html Log Message: prepare relaes 200108?? III Index: index.html =================================================================== RCS file: /cvsroot/tutos/tutos/homepage/index.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** index.html 2000/10/20 21:05:57 1.8 --- index.html 2001/08/21 21:57:11 1.9 *************** *** 11,23 **** <P> <P> - <!-- - <P> - <P> - <P> - Anyone out there with a nice logo for TUTOS ? - <P> - <FONT COLOR=red SIZE=+2>T</FONT>he <FONT COLOR=red SIZE=+2>U</FONT>ltimate <FONT COLOR=red SIZE=+2>T</FONT>eam <FONT COLOR=red SIZE=+2>O</FONT>rganisation <FONT COLOR=red SIZE=+2>S</FONT>oftware - <P> - --> <IMG BORDER=0 SRC=../html/tutos.gif ALT=TUTOS> </CENTER> --- 11,14 ---- |
From: Gero K. <gok...@us...> - 2001-08-21 21:57:13
|
Update of /cvsroot/tutos/tutos In directory usw-pr-cvs1:/tmp/cvs-serv604 Modified Files: .cvsignore ChangeLog Makefile.in Log Message: prepare relaes 200108?? III Index: .cvsignore =================================================================== RCS file: /cvsroot/tutos/tutos/.cvsignore,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** .cvsignore 2001/06/14 12:33:15 1.12 --- .cvsignore 2001/08/21 21:57:11 1.13 *************** *** 22,25 **** --- 22,27 ---- l.pt l.ko + l.pl + l.nl config.pinc.???????? tutos.spec.???????? Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -r1.56 -r1.57 *** ChangeLog 2001/08/11 19:11:25 1.56 --- ChangeLog 2001/08/21 21:57:11 1.57 *************** *** 1,3 **** --- 1,15 ---- $Header$ + August 21 2001 + * renamed calendar_ files to app_.... + * fixed: remaining comment in db.p3 (Oracle only) + * fixed: permissions on note display + * new: address_show , company_show and departemt_show will display all roles in projects + August 19 2001 + * started a documentation project in order to minimize my time spent with mails :-) + (please see under [tutosdir]/documentation) + * new projects and installations will show the time summaries from subtasks and/or bugs,installations + in the detail pages + August 11 2001 + * new watchlists will sent a mail on object deletion (see html/watch_del* for prototypes) August 9 2001 * fixed Product/Project Roles are now extendable by somply adding new descriptions Index: Makefile.in =================================================================== RCS file: /cvsroot/tutos/tutos/Makefile.in,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** Makefile.in 2001/08/19 18:01:13 1.54 --- Makefile.in 2001/08/21 21:57:11 1.55 *************** *** 11,14 **** --- 11,17 ---- # # $Log$ + # Revision 1.55 2001/08/21 21:57:11 gokohnert + # prepare relaes 200108?? III + # # Revision 1.54 2001/08/19 18:01:13 gokohnert # Initial Docu Package *************** *** 190,193 **** --- 193,205 ---- php/address_tools.p3 \ php/appointment.pinc \ + php/app_del.php \ + php/app_do_vote.php \ + php/app_ins.php \ + php/app_new.php \ + php/app_new_r.php \ + php/app_show.php \ + php/app_vote.php \ + php/app_overview.php \ + php/app_select.php \ php/bug.pinc \ php/bug_del.php \ *************** *** 198,210 **** php/bug_show.php \ php/calendar.php \ ! php/calendar_del.php \ ! php/calendar_do_vote.php \ ! php/calendar_ins.php \ ! php/calendar_new.php \ ! php/calendar_new_r.php \ ! php/calendar_show.php \ ! php/calendar_vote.php \ ! php/calendar_overview.php \ ! php/calendar_select.php \ php/check.php \ php/config.pinc \ --- 210,215 ---- php/bug_show.php \ php/calendar.php \ ! php/calendar_day.php \ ! php/calendar_week.php \ php/check.php \ php/config.pinc \ *************** *** 553,556 **** --- 558,562 ---- # DOCFILES= \ + documentation/.cvsignore \ documentation/tutos.dsl \ documentation/book-decl.sgml \ *************** *** 670,691 **** book0: documentation/tutos.sgml ! @mkdir -p documentation/book0 ! (cd documentation/book0; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../tutos.sgml) @CHMOD@ 755 documentation/book0 book1: documentation/tutos_user.sgml ! @mkdir -p documentation/book1 ! (cd documentation/book1; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_user.sgml) ! @CHMOD@ 755 documentation/book1 book2: documentation/tutos_admin.sgml ! @mkdir -p documentation/book2 ! (cd documentation/book2; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_admin.sgml) ! @CHMOD@ 755 documentation/book2 book3: documentation/tutos_prog.sgml ! @mkdir -p documentation/book3 ! (cd documentation/book3; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_prog.sgml) ! @CHMOD@ 755 documentation/book3 book: book0 book1 book2 book3 --- 676,697 ---- book0: documentation/tutos.sgml ! @mkdir -p documentation/$@ ! (cd documentation/$@; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../tutos.sgml) @CHMOD@ 755 documentation/book0 book1: documentation/tutos_user.sgml ! @mkdir -p documentation/$@ ! (cd documentation/$@; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_user.sgml) ! @CHMOD@ 755 documentation/$@ book2: documentation/tutos_admin.sgml ! @mkdir -p documentation/$@ ! (cd documentation/$@; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_admin.sgml) ! @CHMOD@ 755 documentation/$@ book3: documentation/tutos_prog.sgml ! @mkdir -p documentation/$@ ! (cd documentation/$@; ${JADE} ${JADEARGS} ${CATALOGS} -D ${SGMLBASE}/docbook/docbook-dsssl-stylesheets-1.64/html -d ${DSLFILE} ../book-decl.sgml ../tutos_prog.sgml) ! @CHMOD@ 755 documentation/$@ book: book0 book1 book2 book3 *************** *** 730,735 **** # create a backup file with all neccessary files # ! backup: ${PHP} ${LANGFILES} ${OTHER} ${OTHERJ} ${OTHERP} ${SOURCE1} ${SOURCE2} ${SOURCE3} ${PROPS} ${HOMEP} ${HELP} ! tar cvIf tutos-all.tar.bz2 ${PHP} ${OTHER} ${OTHERJ} ${OTHERP} ${SOURCE1} ${SOURCE2} ${SOURCE3} ${PROPS} ${HOMEP} ${HELP} ${LANGFILES} upload.sh do-it # --- 736,741 ---- # create a backup file with all neccessary files # ! backup: ${PHP} ${LANGFILES} ${OTHER} ${OTHERJ} ${OTHERP} ${SOURCE1} ${SOURCE2} ${SOURCE3} ${PROPS} ${HOMEP} ${HELP} ${DOCFILES} ! tar cvIf tutos-all.tar.bz2 ${PHP} ${OTHER} ${OTHERJ} ${OTHERP} ${SOURCE1} ${SOURCE2} ${SOURCE3} ${PROPS} ${HOMEP} ${HELP} ${LANGFILES} ${DOCFILES} upload.sh do-it # |
From: Gero K. <gok...@us...> - 2001-08-21 21:23:24
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv20350/php Modified Files: pt-br.p3 en-us.p3 db.p3 de.p3 en.p3 es.p3 fr.p3 it.p3 ko.p3 nl.p3 pl.p3 ru.p3 tw.p3 zh.p3 Log Message: fixed a php4.0.6 setlocale warning Index: pt-br.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pt-br.p3,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** pt-br.p3 2001/08/11 19:11:25 1.23 --- pt-br.p3 2001/08/21 21:23:21 1.24 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','pt_BR'); # # Brazilian Portuguese Texts --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "pt-br_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'pt_BR'); # # Brazilian Portuguese Texts Index: en-us.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en-us.p3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** en-us.p3 2001/08/08 16:47:53 1.3 --- en-us.p3 2001/08/21 21:23:21 1.4 *************** *** 2,6 **** # $Id$ # ! setlocale('LC_TIME','en_US'); $tutos['df'] = 1; --- 2,6 ---- # $Id$ # ! setlocale(LC_TIME,'en_US'); $tutos['df'] = 1; Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -r1.39 -r1.40 *** db.p3 2001/08/21 14:56:51 1.39 --- db.p3 2001/08/21 21:23:21 1.40 *************** *** 120,123 **** --- 120,128 ---- define (right,13); + + if ( phpversion() != "4.0.6" ) { + define (LC_TIME,'LC_TIME'); + } + include "config.pinc"; *************** *** 570,576 **** Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." CUR=0|". DB_Error(),$query); } else { ! return ""; } } --- 575,581 ---- Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." CUR=0|". DB_Error(),$query); } else { ! return ""; } } *************** *** 582,588 **** Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." !PARSE|". DB_Error(),$query); } else { ! return ""; } } --- 587,593 ---- Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." !PARSE|". DB_Error(),$query); } else { ! return ""; } } *************** *** 591,597 **** Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." !EXEC|". DB_Error($cur),$query); } else { ! return ""; } } --- 596,602 ---- Ora_Close($cur); if ($showerror == 1) { ! Fatal_Error("Exec ". $conn ." !EXEC|". DB_Error($cur),$query); } else { ! return ""; } } *************** *** 599,603 **** if ( ora_numrows($cur) != 0 ) { # A Insert or Update ! echo "ROWS: $numrows COLS: $numcols | $query<BR>";flush(); Ora_Close($cur); return array(); --- 604,608 ---- if ( ora_numrows($cur) != 0 ) { # A Insert or Update ! # echo "ROWS: $numrows COLS: $numcols | $query<BR>";flush(); Ora_Close($cur); return array(); *************** *** 609,613 **** //echo "ROWS: $numrows COLS: $numcols | $query<BR>"; ! if ( ! ora_fetch($cur) ) { return array(); } --- 614,618 ---- //echo "ROWS: $numrows COLS: $numcols | $query<BR>"; ! if ( ! @ora_fetch($cur) ) { return array(); } *************** *** 622,626 **** } while ( 1 == @Ora_Fetch($cur) ); if ( $row == 0 ) { ! $result = array(); } } else { --- 627,631 ---- } while ( 1 == @Ora_Fetch($cur) ); if ( $row == 0 ) { ! $result = array(); } } else { Index: de.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/de.p3,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -r1.50 -r1.51 *** de.p3 2001/08/14 13:04:32 1.50 --- de.p3 2001/08/21 21:23:21 1.51 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','de_DE'); # # German Texts --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "de_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'de_DE'); # # German Texts *************** *** 88,92 **** $lang['lang']['ru'] = "russisch"; $lang['lang']['pt'] = "portugiesisch"; ! $lang['lang']['pl'] = "polnisch"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "niederländisch"; --- 95,99 ---- $lang['lang']['ru'] = "russisch"; $lang['lang']['pt'] = "portugiesisch"; ! $lang['lang']['pl'] = "polnisch"; $lang['lang']['ko'] = "korean"; $lang['lang']['nl'] = "niederländisch"; Index: en.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/en.p3,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -r1.51 -r1.52 *** en.p3 2001/08/11 19:11:25 1.51 --- en.p3 2001/08/21 21:23:22 1.52 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','en_GB'); # # English Texts --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "en_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'en_GB'); # # English Texts Index: es.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/es.p3,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** es.p3 2001/08/11 19:11:25 1.36 --- es.p3 2001/08/21 21:23:22 1.37 *************** *** 2,9 **** # $Id$ # # Translation by Luca Olivetti <lu...@we...> # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','es_ES'); # # Espaniol Texts --- 2,16 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "es_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # # Translation by Luca Olivetti <lu...@we...> # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'es_ES'); # # Espaniol Texts Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/fr.p3,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -r1.35 -r1.36 *** fr.p3 2001/08/11 19:11:25 1.35 --- fr.p3 2001/08/21 21:23:22 1.36 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','fr_FR'); # # French Texts --- 2,16 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "fr_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # + # + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'fr_FR'); # # French Texts Index: it.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/it.p3,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -r1.44 -r1.45 *** it.p3 2001/08/11 19:11:25 1.44 --- it.p3 2001/08/21 21:23:22 1.45 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','it_IT'); # # Testi in Italiano --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "it_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'it_IT'); # # Testi in Italiano Index: ko.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ko.p3,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** ko.p3 2001/08/11 19:11:25 1.10 --- ko.p3 2001/08/21 21:23:22 1.11 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "euc-kr"; ! setlocale('LC_TIME','ko_KR'); # # English Texts --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "ko_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "euc-kr"; ! setlocale(LC_TIME,'ko_KR'); # # English Texts Index: nl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/nl.p3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** nl.p3 2001/08/13 16:53:23 1.3 --- nl.p3 2001/08/21 21:23:22 1.4 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "iso-8859-1"; ! setlocale('LC_TIME','nl_NL'); # # Nederlandse teksten --- 2,16 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "nl_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # + # Translation by Marcel <mvisscher at mac.com> + # $lang['content_encoding'] = "iso-8859-1"; ! setlocale(LC_TIME,'nl_NL'); # # Nederlandse teksten Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/pl.p3,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** pl.p3 2001/08/11 19:11:25 1.7 --- pl.p3 2001/08/21 21:23:22 1.8 *************** *** 1,3 **** --- 1,12 ---- <? + # $Id$ + # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "pl_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # # Translated by Sergiusz Paw³owicz <se...@hy...> # (C) Max Weber (http://maxweber.net/). *************** *** 5,12 **** # All Rights Reserved. # - # $Id$ - # $lang['content_encoding'] = "iso-8859-2"; ! setlocale('LC_TIME','pl_PL'); # # Polish Texts --- 14,19 ---- # All Rights Reserved. # $lang['content_encoding'] = "iso-8859-2"; ! setlocale(LC_TIME,'pl_PL'); # # Polish Texts Index: ru.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ru.p3,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** ru.p3 2001/08/11 19:11:25 1.30 --- ru.p3 2001/08/21 21:23:22 1.31 *************** *** 2,7 **** # $Id$ # $lang['content_encoding'] = "koi8-r"; ! setlocale('LC_TIME','ru_RU'); # # English Texts --- 2,14 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "ru_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # $lang['content_encoding'] = "koi8-r"; ! setlocale(LC_TIME,'ru_RU'); # # English Texts Index: tw.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/tw.p3,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** tw.p3 2001/08/11 19:11:25 1.30 --- tw.p3 2001/08/21 21:23:22 1.31 *************** *** 2,5 **** --- 2,12 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "tw_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # # Translation by "Keith Tsao" <kei...@va...> # *************** *** 7,11 **** #$lang['content_encoding'] = "gb2312"; $lang['content_encoding'] = "Big5"; ! setlocale('LC_TIME','zh_TW'); # # Traditional Chinese Texts --- 14,18 ---- #$lang['content_encoding'] = "gb2312"; $lang['content_encoding'] = "Big5"; ! setlocale(LC_TIME,'zh_TW'); # # Traditional Chinese Texts Index: zh.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/zh.p3,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** zh.p3 2001/08/11 19:11:25 1.30 --- zh.p3 2001/08/21 21:23:22 1.31 *************** *** 2,5 **** --- 2,12 ---- # $Id$ # + # ========================= NOTE ======================== + # Please put site specific extensions and changes + # to TUTOS language files in a file called "zh_custom.p3" + # or "lang_custom.p3" (for all languages) + # using the same format like here + # ======================================================= + # # Translation by "Keith Tsao" <kei...@va...> # *************** *** 7,11 **** #$lang['content_encoding'] = "Big5"; $lang['content_encoding'] = "gb2312"; ! setlocale('LC_TIME','zh_CN'); # # Traditional Chinese Texts --- 14,18 ---- #$lang['content_encoding'] = "Big5"; $lang['content_encoding'] = "gb2312"; ! setlocale(LC_TIME,'zh_CN'); # # Traditional Chinese Texts |
From: Gero K. <gok...@us...> - 2001-08-21 21:21:18
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv19633/php Removed Files: calendar_new_r.php Log Message: renamed to app_.... --- calendar_new_r.php DELETED --- |
From: Gero K. <gok...@us...> - 2001-08-21 20:59:28
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv11536/php Removed Files: calendar_del.php calendar_do_vote.php calendar_ins.php calendar_new.php calendar_overview.php calendar_select.php calendar_show.php calendar_vote.php Log Message: renamed to app_.... --- calendar_del.php DELETED --- --- calendar_do_vote.php DELETED --- --- calendar_ins.php DELETED --- --- calendar_new.php DELETED --- --- calendar_overview.php DELETED --- --- calendar_select.php DELETED --- --- calendar_show.php DELETED --- --- calendar_vote.php DELETED --- |
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv10540/php Added Files: app_del.php app_do_vote.php app_ins.php app_new.php app_new_r.php app_overview.php app_select.php app_show.php Log Message: renamed calendar_ files to app_ files --- NEW FILE: app_del.php --- <? /* * Copyright 1999/2000 by Gero Kohnert * */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); include("note.pinc"); include("resource.pinc"); include("url.pinc"); /* Check if user is allowed to use it */ check_user(); $msg = ""; $a = new appointment($conn); if ( !isset($id) ) { $msg .= sprintf($lang['Err0040'],$lang[$a->getType()]) ."<BR>"; } else { $a->read($id); $a->read_participants(); } /* Check for existance and rights */ if ( ! $a->del_ok() ) { $msg .= sprintf($lang['Err0023'],$lang[$a->getType()]) ."<BR>"; if ( $a->repeat != 0 ) { $gotourl = "app_new_r.php?id=".$id."&msg=". urlencode($msg); } else { $gotourl = "app_new.php?id=".$id."&msg=". urlencode($msg); } } if ( $msg == "" ) { $gotourl = "calendar.php?t=". $a->start->getYYYYMMDD(); $msg .= $a->delete(); } $gotourl = addSessionKey($gotourl); Header("Status: 302 Moved Temporarily"); Header("Location: ". $gotourl); DB_Close($conn); /* * CVS Info: $Id: app_del.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ * $Author: gokohnert $ */ ?> --- NEW FILE: app_do_vote.php --- <? /* * Copyright 1999 by Gero Kohnert * */ include("webelements.p3"); include("permission.p3"); /* Check if user is allowed to use it */ check_user(); /* Check the input */ $msg = ""; if ( ! isset($id) ) { $msg .= "Missing Appointment ID<BR>"; $gotourl = $HTTP_REFERER; } else { $gotourl = "calendar.php"; $gotourl= addUrlParameter($gotourl,"id=".$id); } if ( ! isset($adr_id) ) { $msg .= "Missing User ID<BR>"; } if ( ! isset($vote) ) { $msg .= "Missing Vote<BR>"; } if ( $msg == "" ) { $q = "UPDATE participants SET state = ". $vote ." WHERE app_id = ". $id ." AND adr_id = ". $adr_id; $r = @DB_Exec($conn,$q); } $gotourl= addUrlParameter($gotourl,"msg=". UrlEncode($msg)); /* Go back to calendar */ Header("Status: 302 Moved Temporarily"); Header("Location: ". $gotourl); DB_Close($conn); /* * CVS Info: $Id: app_do_vote.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ * $Author: gokohnert $ */ ?> --- NEW FILE: app_ins.php --- <? /* * Copyright 1999/2000 by Gero Kohnert */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); include("resource.pinc"); /* Check if user is allowed to use it */ check_user(); if ( ! isset($gotourl) ) { $gotourl="calendar_new.php"; } $msg = ""; $a = new appointment($conn); # # ID # if ( isset($id) ) { $gotourl= addUrlParameter($gotourl,"id=".$id); $a->read($id); } # Clear Visitor Address $a->visitor = new tutos_address($conn); if ( isset($notime) ) { $a->notime = 1; } else { $a->notime = 0; $notime = 0; } if ( isset($r_ignore) ) { $a->r_ignore = $r_ignore; } else { $a->r_ignore = 0; $notime = 0; } $gotourl= addUrlParameter($gotourl,"notime=".$notime); $gotourl= addUrlParameter($gotourl,"repeat=".$repeat); $gotourl= addUrlParameter($gotourl,"r_ignore=".$a->r_ignore); # Set the Start and End time $a->start->setDateTimeF("start"); if ( 1 != $a->start->checkDMY() ) { $msg .= sprintf($lang['Err0038'],$lang['StartDate']) ."<BR>"; } else { $gotourl= addUrlParameter($gotourl,"start=".$a->start->getYYYYMMDDHHMM() ); } $a->end->setDateTimeF("end"); if ( 1 != $a->end->checkDMY() ) { $msg .= sprintf($lang['Err0038'],$lang['EndDate']) ."<BR>"; } else { $gotourl= addUrlParameter($gotourl,"end=".$a->end->getYYYYMMDDHHMM() ); } # # Checks # if ( ($a->start->ts > $a->end->ts) && ($a->r_ignore == 0) ) { # Start after End $msg .= $lang['Err0002'] ."<BR>"; } if ( !isset($people) || (count($people) < 1)) { # No Participants $msg .= $lang['Err0001'] ."<BR>"; } else { $cnt = 0; @reset($people); while ( list ($i,$f) = @each ($people) ) { if ( $f != "" ) { $gotourl= addUrlParameter($gotourl,"people[]=".$f ); $cnt++; } } if ( $cnt == 0 ) { $msg .= $lang['Err0001'] ."<BR>"; } } if ( !isset($mod_allow) ) { $msg .= "Missing mod_allow<BR>"; } else { $gotourl= addUrlParameter($gotourl,"mod_allow=".$mod_allow ); $a->mod_allow = $mod_allow; } if ( !isset($creator) ) { $msg .= "Missing creator<BR>"; } # # TRACE # if ( !isset($trace) ) { $trace = 0; } $a->trace = $trace; $gotourl= addUrlParameter($gotourl,"trace=".$trace ); # # EMAIL # if ( !isset($email) ) { $email = 0; } $a->email = $email; $gotourl= addUrlParameter($gotourl,"email=".$email ); # # OUTSIDE # if ( !isset($outside) ) { $outside = 0; } $a->outside = $outside; $gotourl= addUrlParameter($gotourl,"outside=".$outside ); # # REPAT # $a->repeat = $repeat; if ( $a->repeat == 0 ) { $a->r_arg = ""; } if ( $a->repeat == 1 ) { $a->r_arg = Date("w",$a->start->GetTimeStamp()); } if ( $a->repeat == 2 ) { $a->r_arg = Date("j",$a->start->GetTimeStamp()); } if ( $a->repeat == 3 ) { $a->r_arg = Date("j/n",$a->start->GetTimeStamp()); } if ( $a->repeat == 4 ) { $a->r_arg = ""; } # # REMEMBER # if ( !isset($remember) ) { $remember = 0; } $a->remember = $remember; $gotourl= addUrlParameter($gotourl,"remember=".$remember ); # # DESCRIPTION # if ( !isset($descr) || empty($descr) ) { $msg .= $lang['Err0003'] ."<BR>"; } else { $gotourl="$gotourl&descr=". UrlEncode($descr); $a->descr = AddSlashes(trim($descr));; } # # VISITOR # if ( isset($vfn) && !empty($vfn) ) { $a->visitor = check_visitor($vfn); } else { if ( isset($vid) && !empty($vid) ) { if ( $vid != -1 ) { $a->visitor = getObject($vid); } } } # # PRODUCT # if ( isset($pfn) && !empty($pfn) ) { $a->product = check_product($pfn); } else { if ( isset($pid) && !empty($pid) ) { if ( $pid != -1 ) { $a->product->read($pid); } } } # # Resources # if ( isset($res) && (count($res) > 0)) { @reset($res); while ( list ($i,$f) = @each ($res) ) { $gotourl= addUrlParameter($gotourl,"res[]=".$f ); } $a->res = $res; } else { $a->res = array(); } ################################################## # End of Checks ################################################## if ( $msg == "" ) { $a->creator = new tutos_user($conn); $a->creator->read($creator); if (! isset($id) ) { $a->id = -1; } else { $a->id = $id; } @reset($people); while ( list ($i,$f) = @each ($people) ) { $obj = new tutos_user($conn); $obj->read($f); if ( $obj->id == -1 ) { $obj = new team($conn); $obj->read($f); } if ( $obj->id == $f ) { $a->participant[$f] = $obj; } } $msg .= $a->save(); /* Go back to calendar */ $gotourl = "calendar.php"; $gotourl= addUrlParameter($gotourl,"id=".$a->id); } $gotourl = addUrlParameter($gotourl,"msg=".UrlEncode($msg)); $gotourl = addSessionKey($gotourl); Header("Status: 302 Moved Temporarily"); Header("Location: ". $gotourl); DB_Close($conn); /* * * CVS Info: $Id: app_ins.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ * $Author: gokohnert $ * */ ?> --- NEW FILE: app_new.php --- <? /* * Copyright 1999/2000 by Gero Kohnert * * Editing of "normal" (not repeatig) appointments */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); include("resource.pinc"); /* Check if user is allowed to use it */ check_user(); /* --------------------------------------------------------------------------- * */ Function info(&$a) { global $tutos, $lang, $current_user; @reset($lang['AppLoc']); while ( list ($i,$f) = @each ($lang['AppLoc']) ) { $outside_checked[$i] = ""; } $outside_checked[$a->outside] = " SELECTED "; if ( $a->trace == 1 ) { $trace_checked = "CHECKED"; } else { $trace_checked = ""; } if ( $a->email == 1 ) { $email_checked = "CHECKED"; } else { $email_checked = ""; } if ($a->notime == 1 ) { $notime_checked = "CHECKED"; } else { $notime_checked = ""; } $a_checked[0] = ""; $a_checked[1] = ""; $a_checked[2] = ""; $a_checked[3] = ""; $a_checked[$a->mod_allow] = "CHECKED"; if ( $a->allowed == 0 ) { echo "<B>". $lang['ReadOnlyAppoint'] ."</B><BR>\n"; } echo "<FORM action=\"app_ins.php\" method=\"POST\">\n"; hiddenFormElements(); echo "<INPUT type=\"hidden\" value=0 name=\"repeat\">\n"; echo "<INPUT type=\"hidden\" value=0 name=\"r_ignore\">\n"; if ( $a->id > 0 ) { echo "<INPUT type=\"hidden\" value=". $a->id ." name=\"id\">\n"; } DoubleTableStart(1); echo "<TR>\n"; echo "<TH BGCOLOR=\"#AAAACC\" COLSPAN=6>"; if ( $a->id > 0 ) { echo $lang['ModOldAppoint']; echo "</TH>\n"; echo "</TR><TR>\n"; echo "<TD COLSPAN=6> <B>". $lang['AppCreatedBy'] ."</B> ". $a->creator->getLink(); echo " <B>". $lang['atDateTime'] ."</B> ". $a->creation->getDateTime() ."</TD>\n"; echo "</TR>\n"; } else { echo $lang['CreateAppoint']; echo "</TH>\n"; } echo "<INPUT type=\"hidden\" value=". $a->creator->id ." name=\"creator\">\n"; # START echo "<TR>"; echo "<TD VALIGN=middle> <B>". $lang['StartDate'] ."</B> </TD>\n"; echo "<TD COLSPAN=2>"; $a->start->EnterDate("start"); echo "</TD>"; echo "<TD VALIGN=top> <B>". $lang['StartTime'] ."</B> <BR> <FONT SIZE=-1>(HH:MM)</FONT></TD>\n"; echo "<TD COLSPAN=2>"; $a->start->EnterTime("start"); echo "</TD>\n"; # END echo "</TR><TR>\n"; echo "<TD VALIGN=middle> <B>". $lang['EndDate'] ."</B> </TD>\n"; echo "<TD COLSPAN=2>"; $a->end->EnterDate("end"); echo "</TD>\n"; echo "<TD VALIGN=top> <B>". $lang['EndTime'] ."</B> <BR> <FONT SIZE=-1>(HH:MM)</FONT></TD>\n"; echo "<TD COLSPAN=2>"; $a->end->EnterTime("end"); echo "</TD>\n"; echo "</TR><TR>\n"; # LOCATION echo " <TD> <B>". $lang['Location2'] ."</B></TD>"; echo " <TD COLSPAN=2>\n"; echo " <SELECT name=outside>\n"; for ( $i = 0 ; $i < count($lang['AppLoc']); $i++ ) { echo " <OPTION VALUE=". $i ." ". $outside_checked[$i] .">". $lang['AppLoc'][$i] ."</OPTION>\n"; } echo " </SELECT>\n"; echo " </TD>\n"; # Ignore times echo " <TD COLSPAN=3 VALIGN=top>\n"; echo $lang['IgnoreTime']; echo "<INPUT type=\"checkbox\" name=\"notime\" value=1 $notime_checked><BR>\n"; echo "<FONT SIZE=-1>". $lang['IgnoreTime2'] ."</FONT>"; echo " </TD>\n"; echo "</TR><TR>\n"; echo " <TD VALIGN=top> <B>". $lang['Description'] ." </B><FONT COLOR=red>(*)</FONT></TD>"; echo " <TD COLSPAN=5><TEXTAREA wrap=virtual rows=3 cols=40 name=\"descr\">". $a->descr ."</TEXTAREA>\n"; echo " </TD>\n"; echo "</TR><TR>\n"; # Customer/Visitor name echo " <TD><B>". $lang['VisitAt'] ."<BR>". $lang['VisitFrom'] ."</B></TD>"; echo " <TD COLSPAN=1>"; select_from_array_or_input($a,"v",$a->visitor,1); echo " </TD>\n"; if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { echo " <TD COLSPAN=1 ROWSPAN=2 VALIGN=top>"; echo " <B>". $lang['Resource'] ."</B></TD>"; # echo " </TD>\n"; echo " <TD COLSPAN=3 ROWSPAN=2 VALIGN=top>"; echo ResAskUse($a,0,0); echo " </TD>\n"; } else { echo " <TD COLSPAN=4 ROWSPAN=2> </TD>\n"; } if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { echo "</TR><TR>\n"; echo " <TD> <B>". $lang['Product'] ."</B></TD>\n"; echo " <TD COLSPAN=1>\n"; select_from_array_or_input($a,"p",$a->product,1); echo " </TD>\n"; } else { echo "</TR><TR>\n"; echo " <TD COLSPAN=2> </TD>\n"; } echo "</TR><TR>\n"; echo " <TD ROWSPAN=2 VALIGN=top> <B>". $lang['Participants'] ."</B> <FONT COLOR=red>(*)</FONT></TD>"; echo " <TD ROWSPAN=2 VALIGN=top>\n"; echo "". $current_user->askPeople("people[]",$a->people,1) ."\n"; echo " </TD>\n"; echo " <TD COLSPAN=1>\n"; echo $lang['tracestate']; echo " <INPUT type=\"checkbox\" name=\"trace\" value=1 $trace_checked>\n"; echo "<BR><FONT SIZE=-1>". $lang['tracestate_desc'] ."</FONT>"; echo " </TD>\n"; echo " <TD COLSPAN=3> <B>". $lang['AppChangeOrDel'] ."</B> <BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=2 ". $a_checked[2] .">". $lang['only'] ." ". $a->creator->getLink() ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=1 ". $a_checked[1] .">". $lang['Participants'] ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=0 ". $a_checked[0] .">". $lang['everybody'] ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=3 ". $a_checked[3] .">". $lang['AppPrivate'] ."<BR>\n"; echo " </TD>\n"; echo "</TR><TR>\n"; echo " <TD COLSPAN=1>\n"; if ( $a->id > 0 ) { echo $lang['InfoEmail']; } else { echo $lang['InviteEmail']; } echo " <INPUT type=\"checkbox\" name=\"email\" value=1 $email_checked>\n"; 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"; if ( $a->allowed != 0 ) { echo "</TR><TR>\n"; if ( $a->id > 0 ) { submit_reset(0,1,2,1,2,0); } else { submit_reset(0,-1,2,1,2,0); } } echo "</TR>\n"; DoubleTableEnd(); echo "</FORM>\n"; echo $lang['FldsRequired'] ."\n"; } /* --------------------------------------------------------------------------- * */ Function navigate($a) { global $tutos, $lang, $current_user; echo "<TABLE>"; echo "<TR><TD>"; echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } echo makelink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { echo makelink("resource_overview.php",$lang['Resources'],$lang['Resources']) ."<BR>"; } echo "</TD></TR>"; HTML_Select(); } if ( isset($id) ) { HTML_Header($lang['AppointModify']); } else { HTML_Header($lang['AppointCreate']); } $a = new appointment($conn); if ( isset($id) ) { $a->read($id); $a->read_participants(); /* only the owner may change */ if ( $current_user->id == $a->creator->id ) { $a->allowed = 2; } if ( $a->visitor->id != -1 ) { $a->xfn['v'] = $a->visitor->getFullName(); } if ( $a->product->id != -1 ) { $a->xfn['p'] = $a->product->getFullName(); } @reset($a->participant); while ( list ($i,$f) = @each ($a->participant) ) { $p[$i] = 2; } } else { /* New event */ if (isset($t)) { $a->start->setDateTime($t); $a->end->setDateTime($t); } $p[$current_user->id] = 2; } # Set available Parameters if ( isset($descr) ) { $a->descr = $descr; } if ( isset($trace) ) { $a->trace = $trace; } if ( isset($email) ) { $a->email = $email; } if ( isset($mod_allow) ) { $a->mod_allow = $mod_allow; } if ( isset($start) ) { $a->start->setDateTime($start); } if ( isset($end) ) { $a->end->setDateTime($end); } if ( isset($remember) ) { $a->remember = $remember; } if ( isset($notime) ) { $a->notime = $notime; } if ( isset($vfn) ) { $a->xfn['v'] = $vfn; } if ( isset($vid) ) { $a->visitor = getObject($vid); } if ( isset($vl) ) { @reset($vl); while ( list ($i,$f) = @each ($vl) ) { $x = new tutos_address($conn); $x->read($f); if ( $x->id == -1 ) { $x = new company($conn); $x->read($f); } if ( $x->id == -1 ) { $x = new department($conn); $x->read($f); } $a->xl['v'][$f] = $x; } } if ( isset($pfn) ) { $a->xfn['p'] = $pfn; } if ( isset($pid) ) { $a->product->read($pid); } if ( isset($pl) ) { @reset($pl); while ( list ($i,$f) = @each ($pl) ) { $x = new product($conn); $x->read($f); $a->xl['p'][$f] = $x; } } if ( isset($people) ) { @reset($people); while ( list ($i,$f) = @each ($people) ) { $p[$f] = 2; } } $a->people = $p; if ( isset($outside) ) { $a->outside = $outside; } $a->allowed = $a->mod_ok(); readRes($a); if ( isset($res) ) { unset($a->resuselist); @reset($res); while ( list ($i,$f) = @each ($res) ) { $a->resuselist[$f] = $a->reslist[$f]; } } if ( ! $a->mod_ok() ) { $msg .= sprintf($lang['Err0024'],$lang[$a->getType()]); $msg .= "<BR>". $a->creator->id ." ". $current_user->id ." ". $a->mod_ok(); } HTML_Base1(); navigate($a); HTML_Base2($msg); if ( $a->mod_ok() ) { info($a); } HTML_Base3(); DB_Close($conn); ?> <!-- CVS Info: $Id: app_new.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ $Author: gokohnert $ --> --- NEW FILE: app_new_r.php --- <? /* * Copyright 1999/2000 by Gero Kohnert * * Editing of "repeating" appointments */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); include("resource.pinc"); /* Check if user is allowed to use it */ check_user(); /* --------------------------------------------------------------------------- * */ Function info($a) { global $tutos, $lang, $current_user; @reset($lang['AppLoc']); while ( list ($i,$f) = @each ($lang['AppLoc']) ) { $outside_checked[$i] = ""; } $outside_checked[$a->outside] = " SELECTED "; if ($a->notime == 1 ) { $notime_checked = "CHECKED"; } else { $notime_checked = ""; } if ($a->r_ignore == 1 ) { $ri_checked = "CHECKED"; } else { $ri_checked = ""; } $a_checked[0] = ""; $a_checked[1] = ""; $a_checked[2] = ""; $a_checked[3] = ""; $a_checked[$a->mod_allow] = "CHECKED"; $r_checked[1] = ""; $r_checked[2] = ""; $r_checked[3] = ""; $r_checked[4] = ""; $r_checked[$a->repeat] = "CHECKED"; if ( $a->allowed == 0 ) { echo "<B>". $lang['ReadOnlyAppoint'] ."</B><BR>\n"; } echo "<FORM action=\"app_ins.php\" method=\"POST\">\n"; hiddenFormElements(); echo "<INPUT type=\"hidden\" value=0 name=\"repeat\">\n"; echo "<INPUT type=\"hidden\" value=\"app_new_r.php\" name=\"gotourl\">\n"; if ( $a->id > 0 ) { echo "<INPUT type=\"hidden\" value=". $a->id ." name=\"id\">\n"; } DoubleTableStart(1); echo "<TR>\n"; echo "<TH BGCOLOR=\"#AAAACC\" COLSPAN=6>"; if ( $a->id > 0 ) { echo $lang['ModOldAppoint'] ."(repeat)"; echo "</TH>\n"; echo "</TR><TR>\n"; echo "<TD COLSPAN=3> <B>". $lang['AppCreatedBy'] ."</B> ". $a->creator->getLink() ."</TD>\n"; echo "<TD COLSPAN=3> <B>". $lang['atDateTime'] ."</B> ". $a->creation->getDateTime() ."</TD>\n"; echo "</TR>\n"; } else { echo $lang['CreateAppoint'] ." (repeat)"; echo "</TH>\n"; } echo "<INPUT type=\"hidden\" value=". $a->creator->id ." name=\"creator\">\n"; # START echo "<TR>"; echo " <TD VALIGN=top> <B>". $lang['AppFirstDate'] ."</B> <BR> <FONT SIZE=-1>(DD.MM.YYYY)</FONT>"; echo " </TD>\n"; echo " <TD COLSPAN=2>"; $a->start->EnterDate("start"); echo "</TD>"; echo " <TD VALIGN=top> <B>". $lang['StartTime'] ."</B> <BR> <FONT SIZE=-1>(HH:MM)</FONT></TD>\n"; echo " <TD COLSPAN=2>"; $a->start->EnterTime("start"); echo " </TD>\n"; # END echo "</TR><TR>\n"; echo " <TD VALIGN=top> <B>". $lang['AppLastDate'] ."</B> <BR> <FONT SIZE=-1>(DD.MM.YYYY)</FONT>"; echo " </TD>\n"; echo "<TD COLSPAN=2>"; $a->end->EnterDate("end"); echo "<BR>". $lang['AppNoLastDate']; echo "<INPUT type=checkbox name=r_ignore value=1 $ri_checked>"; echo "</TD>\n"; echo "<TD VALIGN=top> <B>". $lang['EndTime'] ."</B> <BR> <FONT SIZE=-1>(HH:MM)</FONT></TD>\n"; echo "<TD COLSPAN=2>"; $a->end->EnterTime("end"); echo "</TD>\n"; echo "</TR><TR>\n"; # REPEAT TYPE echo " <TD VALIGN=top> <B>". $lang['AppRepeatType'] ."</B></TD>"; echo " <TD COLSPAN=2>\n"; echo " <INPUT TYPE=radio name=repeat value=4 $r_checked[4]> ". $lang['AppRepeatDay'] ."<BR>"; echo " <INPUT TYPE=radio name=repeat value=1 $r_checked[1]> ". $lang['AppRepeatWeek'] ."<BR>"; echo " <INPUT TYPE=radio name=repeat value=2 $r_checked[2]> ". $lang['AppRepeatMonth'] ."<BR>"; echo " <INPUT TYPE=radio name=repeat value=3 $r_checked[3]> ". $lang['AppRepeatYear'] ."<BR>"; echo " </TD>\n"; # Ignore times echo " <TD COLSPAN=3 VALIGN=top>\n"; echo $lang['IgnoreTime']; echo "<INPUT type=\"checkbox\" name=\"notime\" value=1 $notime_checked><BR>\n"; echo "<FONT SIZE=-1>". $lang['IgnoreTime2'] ."</FONT>"; echo " </TD>\n"; echo "</TR><TR>\n"; # LOCATION echo " <TD> <B>". $lang['Location2'] ."</B></TD>"; echo " <TD COLSPAN=5>\n"; echo " <SELECT name=outside>\n"; for ( $i = 0 ; $i < count($lang['AppLoc']); $i++ ) { echo " <OPTION VALUE=". $i ." ". $outside_checked[$i] .">". $lang['AppLoc'][$i] ."</OPTION>\n"; } echo " </SELECT>\n"; echo " </TD>\n"; echo "</TR><TR>\n"; echo " <TD VALIGN=top> <B>". $lang['Description'] ." </B><FONT COLOR=red>(*)</FONT></TD>"; echo " <TD COLSPAN=5><TEXTAREA wrap=virtual rows=3 cols=40 name=\"descr\">". $a->descr ."</TEXTAREA>\n"; echo " </TD>\n"; echo "</TR><TR>\n"; # Customer/Visitor name echo " <TD><B>". $lang['VisitAt'] ."<BR>". $lang['VisitFrom'] ."</B></TD>"; echo " <TD COLSPAN=5>"; select_from_array_or_input($a,"v",$a->visitor,1); echo " </TD>\n"; if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { echo "</TR><TR>\n"; echo " <TD> <B>". $lang['Product'] ."</B></TD>\n"; echo " <TD COLSPAN=5>\n"; select_from_array_or_input($a,"p",$a->product,1); echo " </TD>\n"; } echo "</TR><TR>\n"; echo " <TD ROWSPAN=2 VALIGN=top> <B>". $lang['Participants'] ."</B> <FONT COLOR=red>(*)</FONT></TD>"; echo " <TD ROWSPAN=2 VALIGN=top>\n"; echo "". $current_user->askPeople("people[]",$a->people,1) ."\n"; echo " </TD>\n"; echo " <TD COLSPAN=1> \n"; echo " </TD>\n"; echo " <TD COLSPAN=3> <B>". $lang['AppChangeOrDel'] ."</B> <BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=2 ". $a_checked[2] .">". $lang['only'] ." ". $a->creator->getLink() ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=1 ". $a_checked[1] .">". $lang['Participants'] ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=0 ". $a_checked[0] .">". $lang['everybody'] ."<BR>\n"; echo " <INPUT type=\"radio\" name=\"mod_allow\" value=3 ". $a_checked[3] .">". $lang['AppPrivate'] ."<BR>\n"; echo " </TD>\n"; echo "</TR><TR>\n"; echo " <TD COLSPAN=1> \n"; echo " </TD>\n"; echo " <TD COLSPAN=3> "; echo " </TD>\n"; if ( $a->mod_ok() ) { echo "</TR><TR>\n"; if ( $a->id > 0 ) { submit_reset(0,1,2,1,2,0); } else { submit_reset(0,-1,2,1,2,0); } } echo "</TR>\n"; DoubleTableEnd(); echo "</FORM>\n"; echo $lang['FldsRequired'] ."\n"; } /* --------------------------------------------------------------------------- * */ Function navigate($a) { global $tutos,$lang; echo "<TABLE>"; echo "<TR><TD>"; echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( $a->id > 0 ) { if ( $a->del_ok() ) { echo confirmlink("app_del.php?id=". $a->id ,$lang['Delete'],$lang['AppDelInfo']) ."<BR>"; } echo makelink("app_show.php?id=". $a->id ,$lang['AppSeeEntry'],$lang['AppSeeEntryI']) . "<BR>"; } echo " <BR>"; echo "</TD></TR>"; HTML_Select(); } if ( isset($id) ) { HTML_Header($lang['AppointModify']); } else { HTML_Header($lang['AppointCreate']); } $a = new appointment($conn); if ( isset($id) ) { $a->read($id); $a->read_participants(); /* only the owner may change */ if ( $current_user->id == $a->creator->id ) { $a->allowed = 2; } if ( $a->visitor->id != -1 ) { $a->xfn['v'] = $a->visitor->getFullName(); } if ( $a->product->id != -1 ) { $a->xfn['p'] = $a->product->getFullName(); } @reset($a->participant); while ( list ($i,$f) = @each ($a->participant) ) { $p[$i] = 2; } } else { /* New event */ if (isset($t)) { $a->start->setDateTime($t); $a->end->setDateTime($t); } $a->repeat = 1; $p[$current_user->id] = 2; } # Set available Parameters if ( isset($descr) ) { $a->descr = $descr; } if ( isset($trace) ) { $a->trace = $trace; } if ( isset($email) ) { $a->email = $email; } if ( isset($mod_allow) ) { $a->mod_allow = $mod_allow; } if ( isset($start) ) { $a->start->setDateTime($start); } if ( isset($end) ) { $a->end->setDateTime($end); } if ( isset($remember) ) { $a->remember = $remember; } if ( isset($notime) ) { $a->notime = $notime; } if ( isset($vfn) ) { $a->xfn['v'] = $vfn; } if ( isset($vid) ) { $a->visitor = getObject($vid); } if ( isset($vl) ) { @reset($vl); while ( list ($i,$f) = @each ($vl) ) { $x = new tutos_address($conn); $x->read($f); if ( $x->id == -1 ) { $x = new company($conn); $x->read($f); } if ( $x->id == -1 ) { $x = new department($conn); $x->read($f); } $a->xl['v'][$f] = $x; } } if ( isset($pfn) ) { $a->xfn['p'] = $pfn; } if ( isset($pid) ) { $a->product->read($pid); } if ( isset($pl) ) { @reset($pl); while ( list ($i,$f) = @each ($pl) ) { $x = new product($conn); $x->read($f); $a->xl['p'][$f] = $x; } } if ( isset($people) ) { @reset($people); while ( list ($i,$f) = @each ($people) ) { $p[$f] = 2; } } $a->people = $p; if ( isset($outside) ) { $a->outside = $outside; } $a->allowed = $a->mod_ok(); if ( ! $a->mod_ok() ) { $msg .= sprintf($lang['Err0024'],$lang[$a->getType()]); } HTML_Base1(); navigate($a); HTML_Base2($msg); if ( $a->mod_ok() ) { info($a); } HTML_Base3(); DB_Close($conn); ?> <!-- CVS Info: $Id: app_new_r.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ $Author: gokohnert $ --> --- NEW FILE: app_overview.php --- <? /* * Copyright 1999/2000 by Gero Kohnert */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("bug.pinc"); include("product.pinc"); /* Check if user is allowed to use it */ check_user(); /* --------------------------------------------------------------------------- * */ Function info(&$conn,&$result,$start = 0) { global $lang,$tutos,$link1; $n = DB_NumRows($result); if ( 0 == $n) { echo $lang['Err0048']; return; } echo "<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; echo " <TH>ID</TH>\n"; echo order_header("a_start",$lang['AppStart']); echo order_header("a_end",$lang['AppEnd']); echo order_header("","®"); echo order_header("description",$lang['Description']); echo order_header("product",$lang['ProductP']); echo "</TR>\n"; $a = $start; $end = $start + $tutos[maxshow]; while ( ($a < $n) && ($a < $end) ) { $f = new appointment($conn); $f->read_result($result,$a); $a++; if ( ! $f->see_ok() ) { continue; } echo "<TR>\n"; echo " <TD ALIGN=right>". $f->getLink($a) ."</TD>\n"; if ( $f->notime != 1) { if ( $f->start->getDateTime() == $f->end->getDateTime() ) { echo " <TD COLSPAN=2 ALIGN=left>". $f->start->getDateTime() ."</TD>\n"; } else { echo " <TD>". $f->start->getDateTime() ."</TD>\n"; echo " <TD>". $f->end->getDateTime() ."</TD>\n"; } } else { if ( $f->start->getDate() == $f->end->getDate() ) { echo " <TD COLSPAN=2 ALIGN=left>". $f->start->getDate() ."</TD>\n"; } else { echo " <TD>". $f->start->getDate() ."</TD>\n"; echo " <TD>". $f->end->getDate() ."</TD>\n"; } } if ( $f->repeat ) { echo " <TD>®</TD>\n"; } else { echo " <TD> </TD>\n"; } echo " <TD>". $f->descr ."</TD>\n"; if ( $f->product->id > 0 ) { echo " <TD>". $f->product->getLink() ."</TD>\n"; } else { echo " <TD> </TD>\n"; } echo "</TR>\n"; } if ( ( $a < $n ) || ( $start != 0 ) ) { echo "<TR>\n"; echo " <TH COLSPAN=7>\n"; if ( $start > 0 ) { $l = addUrlParameter($link1,"start=0"); echo makelink($l ,$lang['NavFirst'],$lang['NavFirst']); } echo " "; if ( $start != 0 ) { $l = addUrlParameter($link1,"start=".($start - $tutos[maxshow])); echo makelink($l ,$tutos[image][left] ." ".$lang['NavBack'],$lang['NavBack']); } echo " "; if ( $a < $n ) { $l = addUrlParameter($link1,"start=".$a); echo makelink($l ,$lang['NavNext'] ." ". $tutos[image][right],$lang['NavNext']); } echo " "; if ( $start < ($n - $tutos[maxshow]) ) { $l = addUrlParameter($link1,"start=".($n - $tutos[maxshow])); echo makelink($l ,$lang['NavLast'],$lang['NavLast']); } echo " </TH>\n"; echo "</TR>\n"; } echo "</TABLE>\n"; } /* --------------------------------------------------------------------------- * */ Function navigate() { global $lang; echo "<TABLE>"; echo "<TR><TD>"; echo makelink("app_select.php" ,$lang['Search'],$lang['SearchForApp']) . "<BR>"; echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; echo "</TD></TR>"; HTML_Select(); } HTML_Header($lang['AppointOverview']); $pre = " WHERE"; $q = "SELECT * from calendar"; $qarg = ""; $link1 = "app_overview.php"; $link2 = "app_overview.php"; $filter = array(); # # Text Search # if ( isset($name) && !empty($name) ) { $q .= " " . $pre ."(". DB_Like("description",$name) .")"; $pre = " AND"; $qarg .= "&name=". urlencode($name); $link1 = addUrlParameter($link1,"name=". urlencode($name)); $link2 = addUrlParameter($link2,"name=". urlencode($name)); } # # # if ( isset($link_id) ) { $obj = getObject($link_id); if ( $obj->id > 0 ) { if ( $obj->getType() == "product" ) { $q .= $pre . " product = ". $link_id; $pre = " AND"; } else { $q .= $pre . " visitor = ". $link_id; $pre = " AND"; } } $qarg .= "&link_id=". $link_id; $link1 = addUrlParameter($link1,"link_id=".$link_id); $link2 = addUrlParameter($link2,"link_id=".$link_id); } # Start Date for search $from = new DateTime(0); if ( isset($fd) ) { $from->setDateTime($fd); } else { $from->setDateTimeF("f"); # remember this $appsearchfrom = $from->getYYYYMMDD(); session_register('appsearchfrom'); } if ( $from->notime != 1 ) { $q .= $pre ."(a_start >= ". $from->DB_Date() .")"; $pre = "AND "; $qarg .= "&fd=". $from->getYYYYMMDD(); $link1 = addUrlParameter($link1,"fd=".$from->getYYYYMMDD()); $link2 = addUrlParameter($link2,"fd=".$from->getYYYYMMDD()); $filter['from'] = $from; } # End Date for search $to = new DateTime(0); if ( isset($td) ) { $to->setDateTime($td); } else { $to->setDateTimeF("t"); # remember this $appsearchto = $to->getYYYYMMDD(); session_register('appsearchto'); } if ( $to->notime != 1 ) { $q .= $pre ."(a_end <= ". $to->DB_Date() .")"; $pre = "AND "; $qarg .= "&td=". $to->getYYYYMMDD(); $link1 = addUrlParameter($link1,"td=".$to->getYYYYMMDD()); $link2 = addUrlParameter($link2,"td=".$to->getYYYYMMDD()); $filter['to'] = $to; } # # 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"; } if (! isset($start) ) { $start = 0; } $result = @DB_Exec($conn,$q); HTML_Base1(); navigate(); HTML_Base2($msg); info($conn,$result,$start); HTML_Base3(); DB_Close($conn); ?> <!-- CVS Info: $Id: app_overview.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ $Author: gokohnert $ --> --- NEW FILE: app_select.php --- <? /* * Copyright 1999/2000/2001 by Gero Kohnert * * CVS Info: $Id: app_select.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ * $Author: gokohnert $ * */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); /* Check if user is allowed to use it */ check_user(); /* --------------------------------------------------------------------------- * */ Function info($ext = 0) { global $lang,$tutos; echo "<BR><BR><CENTER>\n"; echo "<FORM action=\"calendar_overview.php\">\n"; hiddenFormElements(); DoubleTableStart(); echo "<TR>\n"; if ( $ext == 0 ) { echo "<TH COLSPAN=3>". $lang['SearchForApp'] ."</TH>\n"; echo "</TR><TR>\n"; echo "</TR><TR>\n"; showfieldc($lang['AdrName']); echo " <TD><CENTER> <INPUT type=\"text\" value=\"\" name=\"name\"></CENTER></TD>\n"; echo " <TD><CENTER>\n"; echo " <input type=\"submit\" value=\"". $lang['Search'] ."\"></CENTER></TD>\n"; echo "</TR><TR>\n"; echo " <TD COLSPAN=2><CENTER><FONT SIZE=-1>". $lang['AppSelInfo'] ."</FONT></CENTER></TD>\n"; echo " <TD><CENTER>". makelink("app_select.php?ext=1",$lang['extended']) ."</CENTER></TD>\n"; } else { echo "<TH COLSPAN=3>". $lang['SearchForAppExt'] ."</TH>\n"; echo "</TR><TR>\n"; echo "</TR><TR>\n"; showfieldc($lang['AdrName']); echo " <TD> <INPUT type=\"text\" value=\"\" name=\"name\">"; echo " </TD>\n"; echo " <TD><CENTER><input type=\"submit\" value=\"". $lang['Search'] ."\"></CENTER></TD>\n"; echo "</TR><TR>\n"; echo " <TD ROWSPAN=2> <B>". $lang['TimetrackBetween'] ."</B> </TD>\n"; echo " <TD COLSPAN=2> "; $tutos['asfd']->EnterDate("f",1); echo " </TD>\n"; echo "</TR><TR>\n"; echo " <TD COLSPAN=2> "; $tutos['astd']->EnterDate("t",1); echo " </TD>\n"; } echo "</TR>\n"; DoubleTableEnd(); echo "</FORM>\n"; echo "</CENTER>\n"; } /* --------------------------------------------------------------------------- * */ Function navigate() { global $lang; echo "<TABLE>"; echo "<TR><TD>"; echo makelink("app_new.php",$lang['NewEntry'],$lang['NewAppointInfo']) ."<BR>"; echo "</TD></TR>"; HTML_Select(); } HTML_Header($lang['AppsSearch']); # Defaults for search $tutos['asfd'] = new DateTime(0); $tutos['astd'] = new DateTime(0); if ( isset($appsearchfrom) ) { $tutos['asfd']->setDateTime($appsearchfrom); } if ( isset($appsearchto) ) { $tutos['astd']->setDateTime($appsearchto); } if ( ! isset($ext) ) { $ext = 0; } HTML_Base1(); navigate(); HTML_Base2($msg); info($ext); HTML_Base3(); DB_Close($conn); ?> --- NEW FILE: app_show.php --- <? /* * Copyright 1999/2000 by Gero Kohnert * */ include("webelements.p3"); include("permission.p3"); include("appointment.pinc"); include("product.pinc"); include("note.pinc"); include("resource.pinc"); /* --------------------------------------------------------------------------- * */ Function info($a) { global $tutos,$current_user,$lang; echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0>\n"; echo "<TR>\n"; echo "<TH COLSPAN=4>". $lang['Calendar'] ."</TH>\n"; echo "</TR>\n"; echo "<TR>\n"; echo " <TD COLSPAN=2>". $lang['AppCreatedBy'] ."\n"; echo " ". $a->creator->getLink() ."</TD>\n"; echo " <TD COLSPAN=2>". $lang['atDateTime'] ."\n"; echo " ". $a->creation->getLinkDateTime() ."</TD>\n"; echo "</TR>\n"; echo "<TR>\n"; if ( $a->repeat == 0 ) { showfield($lang['StartDate']); } else { showfield($lang['AppFirstDate']); } $dinfo = GetDaysInfo( $a->start->getTimeStamp() ); echo " <TD COLSPAN=2>"; if ( ($a->notime == 1) || ($a->repeat != 0) ) { echo $a->start->getDate(); } else { echo $a->start->getDateTime(); } echo "</TD>\n"; echo "<TD>". $dinfo[Desc] ."</TD>\n"; echo "</TR>\n"; echo "<TR>\n"; if ( $a->repeat == 0 ) { showfield($lang['EndDate']); } else { showfield($lang['AppLastDate']); } $dinfo = GetDaysInfo( $a->end->getTimeStamp() ); echo " <TD COLSPAN=2>"; if ( ($a->notime == 1) || ($a->repeat != 0) ) { if ( ($a->repeat != 0) && ($a->r_ignore == 1) ) { echo $lang['AppNoLastDate']; } else { echo $a->end->getDate(); } } else { echo $a->end->getDateTime(); } echo "</TD>\n"; echo "<TD>". $dinfo[Desc] ."</TD>\n"; echo "</TR>\n"; if ( $a->repeat != 0 ) { if ( $a->notime != 1 ) { echo "<TR>\n"; showfield($lang['StartTime']); echo " <TD>". $a->start->getTime() ."</TD>\n"; showfield($lang['EndTime']); echo " <TD>". $a->end->getTime() ."</TD>\n"; echo "</TR>\n"; } echo "<TR>\n"; showfield($lang['AppRepeatType']); echo " <TD COLSPAN=3>\n"; if ( $a->repeat == 1 ) { $wd = strftime("Day%w",$a->start->getTimeStamp()); echo sprintf($lang['AppRepeatInfo1'],$lang[$wd]); } if ( $a->repeat == 2 ) { echo strftime($lang['AppRepeatInfo2'],$a->start->getTimeStamp()); } if ( $a->repeat == 3 ) { echo strftime($lang['AppRepeatInfo3'],$a->start->getTimeStamp()); } if ( $a->repeat == 4 ) { echo $lang['AppRepeatInfo4']; } echo " </TD>\n"; echo "</TR>\n"; } echo "<TR>\n"; showfield($lang['Location2']); echo " <TD COLSPAN=3>"; echo $a->getLocation(); echo " </TD>\n"; echo "</TR>\n"; echo "<TR>\n"; showfield($lang['Description']); echo " <TD COLSPAN=3>". $a->descr ." </TD>\n"; echo "</TR>\n"; echo "<TR>\n"; showfield($lang['Participants']); echo " <TD COLSPAN=3>"; @reset($a->participant); while ( list ($i,$f) = @each ($a->participant) ) { echo $f->getLink() ; echo "<BR>" ; } echo " </TD>\n"; echo "</TR>\n"; if ( $a->visitor->id != -1 ) { echo "<TR>\n"; if ( $a->outside ) { showfield($lang['VisitAt']); } else { showfield($lang['VisitFrom']); } echo " <TD COLSPAN=3>". $a->visitor->getLink() ."</TD>\n"; echo "</TR>\n"; } if ( ($current_user->p[useprojects] == 1) && ($tutos[useprojects] == 1) ) { if ( $a->product->id != -1 ) { echo "<TR>\n"; showfield($lang['ProductP']); echo " <TD COLSPAN=3>". $a->product->getLink() ."</TD>\n"; echo "</TR>\n"; } } # # Resources # if ( ($current_user->p[useresource] == 1) && ($tutos[useresource] == 1) ) { $a->readRes(); if ( count($a->resuselist) > 0 ) { @reset($a->reslist); echo "<TR>\n"; echo " <TD VALIGN=top><B>". $lang['Resources'] ."</B></TD>\n"; echo " <TD VALIGN=top COLSPAN=3>\n"; showResources($a,0); echo " </TD>"; echo "</TR>\n"; } } # # Notes # if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { $a->readNotes(); if ( count($a->notelist) > 0 ) { @reset($a->notelist); echo "<TR>\n"; echo " <TD VALIGN=top><B>". $lang['AppNotes'] ."</B></TD>\n"; echo " <TD VALIGN=top COLSPAN=3>\n"; showNotes($a,0); echo " </TD>"; echo "</TR>\n"; } } echo "</TABLE>\n"; } /* --------------------------------------------------------------------------- * */ Function navigate($a) { global $tutos, $lang , $current_user; echo "<TABLE>"; echo "<TR><TD>"; echo makelink("app_new.php" ,$lang['NewEntry'],$lang['NewAppointInfo']) . "<BR>"; echo makelink("app_new_r.php" ,$lang['NewAppointR'],$lang['NewAppointInfoR']) . "<BR>"; if ( ($a->id > 0) && $a->mod_ok() ) { if ( $a->repeat == 0 ) { echo makelink("app_new.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } else { echo makelink("app_new_r.php?id=$a->id" ,$lang['Change'],$lang['Change']) . "<BR>"; } } if ( $a->see_ok() && ($a->id > 0) ) { echo "<BR>\n"; if ( ($current_user->p[usenotes] == 1) && ($tutos[usenotes] == 1) ) { echo makelink("note_new.php?link_id=". $a->id ,$lang['NoteCreate'],sprintf($lang['NoteCreateInfo'],$a->descr)) ." <BR>\n"; } echo makelink("app_show.php?id=". $a->id ."&format=ical" ,$lang['AppGetIcal'],"get this appointment as Ical file") . "<BR>"; } echo "</TD></TR>"; HTML_Select(); } /* --------------------------------------------------------------------------- */ /* Check if user is allowed to use it */ check_user(); if ( ! isset($format) ) { $format = ""; } if ( $format == "ical" ) { # set content to text/calendar Header("Content-type: text/calendar"); } else { HTML_Header($lang['AppointDetail']); } $a = new appointment($conn); $a->read($id); if ( ! isset($msg) ) { $msg = ""; } if ( ! $a->see_ok() ) { $msg .= sprintf($lang['Err0022'],$lang[$a->getType()]); } else { if ( $a->id < 0 ) { $msg .= sprintf($lang['Err0040'],$lang[$a->getType()]); } } $a->read_participants(); if ( ($format == "ical") && (!isset($msg) || ($msg == "")) ) { echo $a->getIcal(); } else { HTML_Base1(); navigate($a); HTML_Base2($msg); if ( $a->see_ok() && ($a->id != -1) ) { info($a); } HTML_Base3(); } DB_Close($conn); ?> <!-- * CVS Info: $Id: app_show.php,v 1.1 2001/08/21 20:56:10 gokohnert Exp $ * $Author: gokohnert $ --> |
From: Gero K. <gok...@us...> - 2001-08-21 14:57:37
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv18390/php Modified Files: department.pinc Log Message: Added initialization for location handling Index: department.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/department.pinc,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** department.pinc 2001/08/11 19:11:25 1.20 --- department.pinc 2001/08/21 14:57:34 1.21 *************** *** 21,24 **** --- 21,26 ---- $this->name = ""; $this->creation = new DateTime(); + $this->rl1 = 0; + $this->rl2 = 0; } |
From: Gero K. <gok...@us...> - 2001-08-21 14:56:54
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv17846/php Modified Files: db.p3 Log Message: removed forgotten comment Index: db.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/db.p3,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** db.p3 2001/08/11 19:11:25 1.38 --- db.p3 2001/08/21 14:56:51 1.39 *************** *** 577,581 **** # Parse will fail on nonexitant tables $p = ora_parse($cur,$query); ! echo "P: ".$p ." ". getType($p)." ". $query ."<BR>";flush(); if ( false == $p ) { --- 577,581 ---- # Parse will fail on nonexitant tables $p = ora_parse($cur,$query); ! # echo "P: ".$p ." ". getType($p)." ". $query ."<BR>";flush(); if ( false == $p ) { |
From: Gero K. <gok...@us...> - 2001-08-21 14:53:37
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv15282/php Modified Files: product_overview.php Log Message: fix display by sales person only (i.e. sid arg) Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** product_overview.php 2001/08/09 10:32:03 1.13 --- product_overview.php 2001/08/21 14:53:34 1.14 *************** *** 858,861 **** --- 858,862 ---- $a = 0; $pre1 = ""; + $x = ""; while ($a < $n) { $x .= $pre1 . DB_Result($r,$a, "pro_id"); |
From: Gero K. <gok...@us...> - 2001-08-21 14:52:22
|
Update of /cvsroot/tutos/tutos/php In directory usw-pr-cvs1:/tmp/cvs-serv14052/php Modified Files: team_show.php department_show.php company_show.php Log Message: fix display order Index: team_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_show.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** team_show.php 2001/08/11 19:11:25 1.6 --- team_show.php 2001/08/21 14:52:19 1.7 *************** *** 166,180 **** $qa = "SELECT * from addresses a , adrteam t where a.id = t.adr_id and t.team_id = ". $t->id; ! if ( isset($af) && isset($ao) ) { ! $qa = " $qa ORDER by " . $af; ! if ( $ao == 1 ) { ! $qa = $qa . " ASC "; } else { ! $qa = $qa . " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"af=".UrlEncode($af)); ! $atool['link1'] = addUrlParameter($atool['link1'],"ao=".$ao); } else { ! $qa = $qa . " ORDER by l_name"; } --- 166,180 ---- $qa = "SELECT * from addresses a , adrteam t where a.id = t.adr_id and t.team_id = ". $t->id; ! if ( isset($xf) && isset($xo) ) { ! $qa .= " ORDER by " . $xf; ! if ( $xo == 1 ) { ! $qa .= " ASC "; } else { ! $qa .= " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"xf=".UrlEncode($xf)); ! $atool['link1'] = addUrlParameter($atool['link1'],"xo=".$xo); } else { ! $qa .= " ORDER by l_name"; } Index: department_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/department_show.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** department_show.php 2001/08/11 19:11:25 1.8 --- department_show.php 2001/08/21 14:52:19 1.9 *************** *** 181,195 **** $qa = "SELECT distinct(a.id),a.* FROM addresses a, location l, adrloc r WHERE l.d_id = ". $d->id ." AND a.id = r.adr_id AND r.loc_id = l.id "; ! if ( isset($af) && isset($ao) ) { ! $qa = " $qa ORDER by " . $af; ! if ( $ao == 1 ) { ! $qa = $qa . " ASC "; } else { ! $qa = $qa . " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"af=".UrlEncode($af)); ! $atool['link1'] = addUrlParameter($atool['link1'],"ao=".$ao); } else { ! $qa = " $qa ORDER by l_name"; } --- 181,195 ---- $qa = "SELECT distinct(a.id),a.* FROM addresses a, location l, adrloc r WHERE l.d_id = ". $d->id ." AND a.id = r.adr_id AND r.loc_id = l.id "; ! if ( isset($xf) && isset($xo) ) { ! $qa .= " ORDER by " . $xf; ! if ( $xo == 1 ) { ! $qa .= " ASC "; } else { ! $qa .= " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"xf=".UrlEncode($xf)); ! $atool['link1'] = addUrlParameter($atool['link1'],"xo=".$xo); } else { ! $qa .= " ORDER by l_name"; } Index: company_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_show.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** company_show.php 2001/08/11 19:11:25 1.11 --- company_show.php 2001/08/21 14:52:19 1.12 *************** *** 214,228 **** $qa = "SELECT distinct(a.id) , a.* FROM addresses a, location l, adrloc r WHERE l.c_id = ". $c->id ." AND a.id = r.adr_id AND r.loc_id = l.id AND ( l.d_id is null OR l.d_id = -1 ) "; ! if ( isset($af) && isset($ao) ) { ! $qa = " $qa ORDER by " . $af; ! if ( $ao == 1 ) { ! $qa = $qa . " ASC "; } else { ! $qa = $qa . " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"af=".UrlEncode($af)); ! $atool['link1'] = addUrlParameter($atool['link1'],"ao=".$ao); } else { ! $qa = " $qa ORDER by l_name"; } --- 214,228 ---- $qa = "SELECT distinct(a.id) , a.* FROM addresses a, location l, adrloc r WHERE l.c_id = ". $c->id ." AND a.id = r.adr_id AND r.loc_id = l.id AND ( l.d_id is null OR l.d_id = -1 ) "; ! if ( isset($xf) && isset($xo) ) { ! $qa .= " ORDER by " . $xf; ! if ( $xo == 1 ) { ! $qa .= " ASC "; } else { ! $qa .= " DESC "; } ! $atool['link1'] = addUrlParameter($atool['link1'],"xf=".UrlEncode($xf)); ! $atool['link1'] = addUrlParameter($atool['link1'],"xo=".$xo); } else { ! $qa .= " ORDER by l_name"; } |