tutos-commits Mailing List for TUTOS
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
| 2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
| 2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
| 2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
| 2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
| 2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
| 2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
| 2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
| 2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
| 2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
| 2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
| 2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
| 2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
| 2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(9) |
2
|
3
(1) |
4
|
|
5
|
6
|
7
|
8
(14) |
9
|
10
|
11
|
|
12
(3) |
13
(3) |
14
(7) |
15
(5) |
16
(1) |
17
(2) |
18
(11) |
|
19
|
20
(5) |
21
(3) |
22
|
23
(1) |
24
(14) |
25
(2) |
|
26
(5) |
27
|
28
(2) |
29
|
30
(11) |
31
(2) |
|
|
From: Gero K. <gok...@us...> - 2003-01-31 05:47:32
|
Update of /cvsroot/tutos/tutos/php/db
In directory sc8-pr-cvs1:/tmp/cvs-serv23129/php/db
Modified Files:
db_oci.pinc db_ora.pinc
Log Message:
fixes
Index: db_oci.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/db/db_oci.pinc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- db_oci.pinc 23 Dec 2002 10:01:37 -0000 1.13
+++ db_oci.pinc 31 Jan 2003 05:47:29 -0000 1.14
@@ -526,6 +526,9 @@
/* ---------------------------------------------------------------------------
*/
function numrows() {
+ if ( ! isset($this->result) ) {
+ return 0;
+ }
return count($this->result);
}
/* ---------------------------------------------------------------------------
Index: db_ora.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/db/db_ora.pinc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- db_ora.pinc 31 Dec 2002 14:33:42 -0000 1.13
+++ db_ora.pinc 31 Jan 2003 05:47:29 -0000 1.14
@@ -551,7 +551,7 @@
function numrows() {
if ( ! isset($this->result) ) {
return 0;
- }
+ }
return count($this->result);
}
/* ---------------------------------------------------------------------------
|
|
From: Gero K. <gok...@us...> - 2003-01-31 05:47:32
|
Update of /cvsroot/tutos/tutos/php
In directory sc8-pr-cvs1:/tmp/cvs-serv23129/php
Modified Files:
appointment.pinc gantt_png.php
Log Message:
fixes
Index: appointment.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- appointment.pinc 8 Jan 2003 12:08:27 -0000 1.131
+++ appointment.pinc 31 Jan 2003 05:47:29 -0000 1.132
@@ -619,6 +619,7 @@
*/
function setRemember($value) {
$this->setIntField("remember",$value,"AppEmailRemind");
+ $this->remembered = 0;
}
/**
* set the Product
@@ -1504,7 +1505,7 @@
}
# Update the remembered field
- $q = "UPDATE ". $user->dbconn->prefix ."calendar SET remembered = ". ($app->remembered + 1) ." WHERE ID = ". $app->id;
+ $q = "UPDATE ". $user->dbconn->prefix ."calendar SET remembered = ". ($app->remembered + 1) .",remember = 0 WHERE ID = ". $app->id;
$r2 = $user->dbconn->Exec($q);
$r2->free();
}
Index: gantt_png.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/gantt_png.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- gantt_png.php 31 Dec 2002 14:33:38 -0000 1.16
+++ gantt_png.php 31 Jan 2003 05:47:29 -0000 1.17
@@ -96,7 +96,7 @@
$graph->scale->year->SetFont(FF_ARIAL,FS_BOLD,12);
$count = 0;
- $graph = addTasks(&$parent, &$graph, $count, 0);
+ $graph = addTasks($parent, $graph, $count, 0);
// Add a vertical line for the current day
$vline = new GanttVLine(strftime("%Y-%m-%d", time()));
|
|
From: Sergiusz P. <se...@us...> - 2003-01-30 22:07:36
|
Update of /cvsroot/tutos/tutos/php/resource In directory sc8-pr-cvs1:/tmp/cvs-serv18069 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource/pl.p3,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pl.p3 5 Nov 2002 19:46:46 -0000 1.4 +++ pl.p3 30 Jan 2003 22:07:31 -0000 1.5 @@ -23,5 +23,5 @@ $lang['ResDelI'] = "Usuñ zasób %s"; $lang['perm'][useresource] = "u¿ywanie zasobów"; -$lang['resource'] = &$lang['Resource']; +$lang['resource'] = &$lang['Zasób']; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 22:06:52
|
Update of /cvsroot/tutos/tutos/php/phpweather In directory sc8-pr-cvs1:/tmp/cvs-serv17789 Added Files: pl.p3 Log Message: - update. --- NEW FILE: pl.p3 --- <?php $lang['WeatherReport'] = "Raport pogodowy"; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:55:25
|
Update of /cvsroot/tutos/tutos/php/note In directory sc8-pr-cvs1:/tmp/cvs-serv13054 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/note/pl.p3,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- pl.p3 5 Nov 2002 19:46:52 -0000 1.5 +++ pl.p3 30 Jan 2003 21:55:17 -0000 1.6 @@ -9,32 +9,32 @@ # ======================================================= # Notes -$lang['Note'] = "Notka"; +$lang['Note'] = "Notatka"; $lang['Notes'] = "Notes"; -$lang['NoteCreate'] = "Utwórz notkê"; -$lang['NoteCreateInfo'] = "Utwórz now± notkê dla %s"; -$lang['NoteDelete'] = "Skasuj niniejsz± notkê"; +$lang['NoteCreate'] = "Utwórz notatkê"; +$lang['NoteCreateInfo'] = "Utwórz now± notatkê dla %s"; +$lang['NoteDelete'] = "Skasuj niniejsz± notatkê"; $lang['NoteDescription'] = "Opis"; $lang['NoteRemember'] = "Przypomnij:"; $lang['NoteName'] = "Tytu³"; -$lang['NoteDetail'] = "Wy¶wietlanie notki"; -$lang['NoteOverview'] = "Przegl±d notek"; -$lang['NoteCreation'] = "Utworzenie notki"; -$lang['NoteMod'] = "Modyfikacja notki"; +$lang['NoteDetail'] = "Wy¶wietlanie notatki"; +$lang['NoteOverview'] = "Przegl±d notatek"; +$lang['NoteCreation'] = "Utworzenie notatki"; +$lang['NoteMod'] = "Modyfikacja notatki"; $lang['NoteReference'] = "Odniesienie"; -$lang['ModOldNote'] = "Zmieñ star± notkê"; +$lang['ModOldNote'] = "Zmieñ star± notatkê"; $lang['NoteCreator'] = "utworzona przez"; -$lang['NoteLinkInfo'] = "notka z %s"; -$lang['NoteSearch'] = "Poszukiwanie notek"; -$lang['SearchForNote'] = "Poszukiwanie notki"; -$lang['SearchForNoteExt'] = "Rozszerzone przeszukiwanie notek"; -$lang['NoteSelInfo'] = "(pozostaw puste by zobaczyæ wszystkie notki)"; +$lang['NoteLinkInfo'] = "notatka z %s"; +$lang['NoteSearch'] = "Poszukiwanie notatek"; +$lang['SearchForNote'] = "Poszukiwanie notatki"; +$lang['SearchForNoteExt'] = "Rozszerzone przeszukiwanie notatek"; +$lang['NoteSelInfo'] = "(pozostaw puste by zobaczyæ wszystkie notatki)"; $lang['NoteRefType'] = "Rodzaj odniesienia"; $lang['NoteRefName'] = "Nazwa odniesienia"; $lang['NoteBetween'] = "Utworzone pomiêdzy"; -$lang['NotesOverview'] = "Przegl±d notek"; -$lang['EmailRememberNote'] = "Pamiêtaj: Notka: %s w TUTOSIE "; +$lang['NotesOverview'] = "Przegl±d notatek"; +$lang['EmailRememberNote'] = "Pamiêtaj: Notatka: %s w TUTOSIE "; -$lang['perm'][usenotes] = "u¿ywanie notek"; -$lang['note'] = &$lang['Note']; +$lang['perm'][usenotes] = "u¿ywanie notatek"; +$lang['note'] = &$lang['Notatka']; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:53:14
|
Update of /cvsroot/tutos/tutos/php/merge In directory sc8-pr-cvs1:/tmp/cvs-serv12080 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/merge/pl.p3,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pl.p3 5 Nov 2002 19:46:41 -0000 1.4 +++ pl.p3 30 Jan 2003 21:53:10 -0000 1.5 @@ -23,6 +23,6 @@ $lang['Err0050'] = "Nie zaznaczy³e¶ szablonu !"; -$lang['perm'][usemerge] = "use merge"; +$lang['perm'][usemerge] = "u¿ywaj ³±czenia"; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:52:25
|
Update of /cvsroot/tutos/tutos/php/mailbox In directory sc8-pr-cvs1:/tmp/cvs-serv11667 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/mailbox/pl.p3,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pl.p3 7 Dec 2002 16:51:53 -0000 1.1 +++ pl.p3 30 Jan 2003 21:52:14 -0000 1.2 @@ -48,6 +48,6 @@ $lang['MailActionDel'] = "usuñ"; $lang['MailActionGoto'] = "Zmieñ folder:"; -$lang['mailbox'] = &$lang['Mailbox']; +$lang['mailbox'] = &$lang['Skrzynka']; $lang['perm'][usemailboxes] = "u¿ywanie skrzynek"; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:51:28
|
Update of /cvsroot/tutos/tutos/php/ldap In directory sc8-pr-cvs1:/tmp/cvs-serv11241 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/ldap/pl.p3,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- pl.p3 27 Nov 2002 17:54:57 -0000 1.2 +++ pl.p3 30 Jan 2003 21:51:24 -0000 1.3 @@ -10,15 +10,15 @@ # LDAP $lang['SearchLdapAdr'] = "Szukaj w internecie"; -$lang['LDAPOverview'] = "LDAP Searchresult"; -$lang['LDAPDetail'] = "LDAP Entry"; -$lang['LDAPSearchFor'] = "Searching for %s on %s"; -$lang['LDAPFound'] = "Entries returned: %s"; +$lang['LDAPOverview'] = "Rezultat poszukiwañ LDAP"; +$lang['LDAPDetail'] = "Pozycja LDAP"; +$lang['LDAPSearchFor'] = "Szukaj %s na %s"; +$lang['LDAPFound'] = "Znaleziono pozycji: %s"; $lang['LDAPServer'] = "Serwer"; -$lang['LDAPNotSynced'] = "Entry is not synced with TUTOS"; +$lang['LDAPNotSynced'] = "Pozycja nie jest zsynchronizowana z TUTOSem"; $lang['LDAPImport'] = "Import"; -$lang['LDAPUpdate'] = "Update"; -$lang['LDAP_Err001'] = "LDAP Error: No Connection possible"; +$lang['LDAPUpdate'] = "Uaktualnienie"; +$lang['LDAP_Err001'] = "B³±d LDAP: po³±cznie niemo¿liwe"; $lang['perm'][useldap] = "u¿ywanie LDAP"; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:48:48
|
Update of /cvsroot/tutos/tutos/php/invoice In directory sc8-pr-cvs1:/tmp/cvs-serv10173 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/invoice/pl.p3,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pl.p3 5 Nov 2002 19:47:13 -0000 1.4 +++ pl.p3 30 Jan 2003 21:48:43 -0000 1.5 @@ -16,7 +16,7 @@ $lang['InvoiceStates'] = array(); $lang['InvDateSent'] = array(); $lang['InvDateDue'] = array(); -$lang['invoice'] = &$lang['Invoice']; +$lang['invoice'] = &$lang['Faktura']; $lang['perm'][useinvoice] = "u¿ywanie faktur"; $lang['Invoice'] = "Faktura"; |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:47:54
|
Update of /cvsroot/tutos/tutos/php/installation In directory sc8-pr-cvs1:/tmp/cvs-serv9832 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/installation/pl.p3,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pl.p3 30 Nov 2002 19:04:47 -0000 1.4 +++ pl.p3 30 Jan 2003 21:47:49 -0000 1.5 @@ -24,5 +24,5 @@ $lang['InstDelI'] = "usuñ instalacjê %s"; $lang['perm'][useinstmanagement] = "u¿ywanie instalacji"; -$lang['installation']= &$lang['Installation']; +$lang['installation']= &$lang['Instalacja']; ?> |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:47:12
|
Update of /cvsroot/tutos/tutos/php/file In directory sc8-pr-cvs1:/tmp/cvs-serv9496 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/file/pl.p3,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pl.p3 17 Dec 2002 21:08:35 -0000 1.1 +++ pl.p3 30 Jan 2003 21:47:06 -0000 1.2 @@ -48,7 +48,7 @@ $lang['SearchForFileExt']= "Rozszerzone poszukiwanie dokumentu"; $lang['perm'][usedocmanagement] = "u¿ywanie zarz±dcy dokumentów"; -$lang['file'] = &$lang['File'] +$lang['file'] = &$lang['Dokument'] ### Local Variables: *** ### End: *** |
|
From: Sergiusz P. <se...@us...> - 2003-01-30 21:44:17
|
Update of /cvsroot/tutos/tutos/php/localization In directory sc8-pr-cvs1:/tmp/cvs-serv8425 Modified Files: pl.p3 Log Message: - update. Index: pl.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/localization/pl.p3,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- pl.p3 31 Dec 2002 14:33:47 -0000 1.18 +++ pl.p3 30 Jan 2003 21:44:11 -0000 1.19 @@ -9,7 +9,8 @@ # ======================================================= # # Translated by Sergiusz Paw³owicz <se...@it...> -# (C) Max Weber (http://maxweber.net/). +# (C) Max Weber http://maxweber.net/. +# (C) IT ZONE http://it-zone.org/ # Released under GPL: http://www.gnu.org/copyleft/gpl.html # All Rights Reserved. # @@ -96,7 +97,7 @@ $lang['lang']['fr'] = "francuski"; $lang['lang']['es'] = "hiszpañski"; $lang['lang']['es-MX'] = "hiszpañski/Meksyk"; -$lang['lang']['es-NI'] = "hiszpañski/Nicaragua"; +$lang['lang']['es-NI'] = "hiszpañski/Nikaragua"; $lang['lang']['it'] = "w³oski"; $lang['lang']['tw'] = "chiñski tradycyjny"; $lang['lang']['zh'] = "chiñski uproszczony"; @@ -249,7 +250,7 @@ $lang['UserLanguage'] = "Jêzyk"; $lang['UserTimezone'] = "Strefa czasowa"; $lang['UserTheme'] = "Temat"; -$lang['UserLayout'] = "Layout"; +$lang['UserLayout'] = "uk³ad graficzny"; $lang['UserHoliday'] = "Urlop"; $lang['UserNamedays'] = "Imieniny"; $lang['UserWorkdays'] = "Dni robocze"; @@ -326,7 +327,7 @@ $lang['ProdProdNew'] = "nowe powi±zanie"; $lang['ProdRoles'] = "Rola"; $lang['ProdFunc'] = "Funkcja"; -$lang['ProdRoleDesc'] = "Description"; +$lang['ProdRoleDesc'] = "Opis"; $lang['ProdRolesNew'] = "Nowa rola"; $lang['ProdRole'][1] = "Kierownik"; $lang['ProdRole'][2] = "Kierownik handlowy"; |
|
From: Gero K. <gok...@us...> - 2003-01-30 21:00:26
|
Update of /cvsroot/tutos/tutos/php
In directory sc8-pr-cvs1:/tmp/cvs-serv21681
Modified Files:
Tag: BRANCH-1-0
appointment.pinc db_oci.pinc db_ora.pinc gantt_png.php
webelements.p3
Log Message:
fixes
Index: appointment.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v
retrieving revision 1.93.2.12
retrieving revision 1.93.2.13
diff -u -r1.93.2.12 -r1.93.2.13
--- appointment.pinc 26 Jan 2003 18:38:00 -0000 1.93.2.12
+++ appointment.pinc 30 Jan 2003 20:59:58 -0000 1.93.2.13
@@ -697,6 +697,7 @@
*/
function setRemember($value) {
$this->setIntField("remember",$value,"AppEmailRemind");
+ $this->remembered = 0;
}
/**
* set the Product
@@ -1364,7 +1365,7 @@
}
# Update the remembered field
- $q = "UPDATE calendar SET remembered = ". ($app->remembered + 1) ." WHERE ID = ". $app->id;
+ $q = "UPDATE calendar SET remembered = ". ($app->remembered + 1) .",remember = 0 WHERE ID = ". $app->id;
$r2 = $user->dbconn->Exec($q);
$r2->free();
}
Index: db_oci.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/Attic/db_oci.pinc,v
retrieving revision 1.7.2.4
retrieving revision 1.7.2.5
diff -u -r1.7.2.4 -r1.7.2.5
--- db_oci.pinc 25 Nov 2002 20:57:40 -0000 1.7.2.4
+++ db_oci.pinc 30 Jan 2003 21:00:00 -0000 1.7.2.5
@@ -446,7 +446,7 @@
function numrows() {
if ( ! isset($this->result) ) {
return 0;
- }
+ }
return count($this->result);
}
/* ---------------------------------------------------------------------------
Index: db_ora.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/Attic/db_ora.pinc,v
retrieving revision 1.12.2.6
retrieving revision 1.12.2.7
diff -u -r1.12.2.6 -r1.12.2.7
--- db_ora.pinc 25 Nov 2002 20:57:41 -0000 1.12.2.6
+++ db_ora.pinc 30 Jan 2003 21:00:02 -0000 1.12.2.7
@@ -476,7 +476,7 @@
function numrows() {
if ( ! isset($this->result) ) {
return 0;
- }
+ }
return count($this->result);
}
/* ---------------------------------------------------------------------------
Index: gantt_png.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/gantt_png.php,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -u -r1.8.2.4 -r1.8.2.5
--- gantt_png.php 9 Nov 2002 13:24:07 -0000 1.8.2.4
+++ gantt_png.php 30 Jan 2003 21:00:04 -0000 1.8.2.5
@@ -88,7 +88,7 @@
$graph->scale->year->SetFont(FF_ARIAL,FS_BOLD,12);
$count = 0;
- $graph = addTasks(&$parent, &$graph, $count, 0);
+ $graph = addTasks($parent, $graph, $count, 0);
// Add a vertical line for the current day
$vline = new GanttVLine(strftime("%Y-%m-%d", time()));
Index: webelements.p3
===================================================================
RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v
retrieving revision 1.138.2.19
retrieving revision 1.138.2.20
diff -u -r1.138.2.19 -r1.138.2.20
--- webelements.p3 25 Nov 2002 20:58:12 -0000 1.138.2.19
+++ webelements.p3 30 Jan 2003 21:00:06 -0000 1.138.2.20
@@ -583,7 +583,7 @@
if ( isset($tutos[logolink]) ) {
echo "<A TARGET=url HREF=\"". (ereg("^http",$tutos[logolink]) ? "":$tutos['base']."/" ) . $tutos[logolink] ."\">";
}
- echo "<IMG HEIGHT=40 BORDER=0 SRC=\"". (ereg("^http",$tutos[logo]) ? "":$tutos['base']."/" ). $tutos[logo] ."\" ALT=\"LOGO\" ALIGN=middle>";
+ echo "<IMG BORDER=0 SRC=\"". (ereg("^http",$tutos[logo]) ? "":$tutos['base']."/" ). $tutos[logo] ."\" ALT=\"LOGO\" ALIGN=middle>";
if ( isset($tutos[logolink]) ) {
echo "</A>";
}
|
|
From: Gero K. <gok...@us...> - 2003-01-28 19:36:38
|
Update of /cvsroot/tutos/tutos/php/localization In directory sc8-pr-cvs1:/tmp/cvs-serv15157/php/localization Modified Files: holiday_au.pinc Added Files: holiday_be.pinc Log Message: updated holiday files --- NEW FILE: holiday_be.pinc --- <?php /* * Copyright 2003 contributed by Puuter * * CVS Info: $Id: holiday_be.pinc,v 1.1 2003/01/28 19:36:32 gokohnert Exp $ * $Author: gokohnert $ * see (https://sourceforge.net/forum/forum.php?thread_id=801872&forum_id=25073) * Type = 0 day is displayed but not marked * Type = 1 marks the day red in the calendar */ $tutos[cal][] = array( array( Date => "01-01", type => 1, Desc => "Nieuwjaar (B)"), array( Date => "06-01", type => 0, Desc => "Driekoningen (B)"), array( Date => "14-02", type => 0, Desc => "St.Valentijn (B)"), array( Date => "CARNAVALMON", type => 0, Desc => "Carnaval (B)"), array( Date => "CARNAVALTUE", type => 0, Desc => "Carnaval (B)"), array( Date => "CARNAVALWED", type => 0, Desc => "Aswoensdag (B)"), array( Date => "GOODFRIDAY", type => 0, Desc => "Goede Vrijdag (B)"), array( Date => "EASTERSUNDAY", type => 1, Desc => "Pasen (B)"), array( Date => "EASTERMONDAY", type => 1, Desc => "Paasmaandag (B)"), array( Date => "1-04", type => 0, Desc => "1 april!! (B)"), array( Date => "01-05", type => 1, Desc => "Dag van de Arbeid (B)"), array( Date => "MOTHERDAY", type => 0, Desc => "Moederkesdag (B)"), array( Date => "FATHERDAY", type => 0, Desc => "Vaderdag (B)"), array( Date => "11-07" type => 0, Desc => "Vlaamse Gemeenschap (B)"), array( Date => "21-07" type => 1, Desc => "Nationale Feestdag (B)"), array( Date => "ASCENSIONDAY", type => 1, Desc => "Hemelvaartsdag (B)"), array( Date => "WHITSUNDAY", type => 1, Desc => "Pinksteren (B)"), array( Date => "WHITMONDAY", type => 1, Desc => "Pinkstermaandag (B)"), array( Date => "27-09" type => 0, Desc => "Franse Gemeenschap (B)"), array( Date => "1-11" type => 1, Desc => "Allerheiligen (B)"), array( Date => "2-11" type => 0, Desc => "Allerzielen (B)"), array( Date => "11-11" type => 1, Desc => "Wapenstilstand 1918 (B)"), array( Date => "6-12", type => 0, Desc => "Sinterklaas (B)"), array( Date => "25-12", type => 1, Desc => "Kerstmis (B)"), array( Date => "26-12", type => 1, Desc => "Tweede Kerstdag (B)"), array( Date => "31-12", type => 0, Desc => "Oudejaarsavond (B)"), ); ?> Index: holiday_au.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/localization/holiday_au.pinc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- holiday_au.pinc 5 Nov 2002 19:47:19 -0000 1.2 +++ holiday_au.pinc 28 Jan 2003 19:36:31 -0000 1.3 @@ -4,6 +4,7 @@ * * CVS Info: $Id$ * $Author$ + * contributed by "Hugh Blandford" <hugh at island.net.au> * * Type = 0 day is displayed but not marked * Type = 1 marks the day red in the calendar @@ -12,21 +13,21 @@ $tutos[cal][] = array( array( Date => "01-01", type => 1, Desc => "New Year's Day (AU)"), array( Date => "26-01", type => 1, Desc => "Australia Day (AU)"), - array( Date => "28-01", type => 1, Desc => "Australia Day Holiday(AU ex NSW,Vic)"), - array( Date => "04-03", type => 0, Desc => "Labour Day (AU WA)"), - array( Date => "11-03", type => 0, Desc => "Labour Day (AU Vic)"), - array( Date => "11-03", type => 0, Desc => "8 Hours Day (AU Tas)"), - array( Date => "18-03", type => 0, Desc => "Canberra Day (AU ACT)"), + array( Date => "27-01", type => 1, Desc => "Australia Day Holiday(AU ex Vic)"), + array( Date => "03-03", type => 0, Desc => "Labour Day (AU WA)"), + array( Date => "10-03", type => 0, Desc => "Labour Day (AU Vic)"), + array( Date => "10-03", type => 0, Desc => "8 Hours Day (AU Tas)"), + array( Date => "17-03", type => 0, Desc => "Canberra Day (AU ACT)"), array( Date => "25-04", type => 1, Desc => "Anzac Day (AU)"), - array( Date => "06-05", type => 0, Desc => "Labour Day (AU Qld)"), - array( Date => "06-05", type => 0, Desc => "May Day (AU NT)"), - array( Date => "20-05", type => 0, Desc => "Adelaide Cup (AU SA)"), - array( Date => "03-06", type => 0, Desc => "Foundation Day (AU WA)"), - array( Date => "10-06", type => 1, Desc => "Queen's Birthday (AU ex-WA)"), - array( Date => "05-08", type => 0, Desc => "Picnic Day (AU NT)"), - array( Date => "30-09", type => 0, Desc => "Queen's Birthday (AU WA)"), - array( Date => "07-10", type => 0, Desc => "Labour Day (AU ACT,NSW,SA)"), - array( Date => "05-11", type => 0, Desc => "Melbourne Cup (AU Vic)"), + array( Date => "05-05", type => 0, Desc => "Labour Day (AU Qld)"), + array( Date => "05-05", type => 0, Desc => "May Day (AU NT)"), + array( Date => "19-05", type => 0, Desc => "Adelaide Cup (AU SA)"), + array( Date => "02-06", type => 0, Desc => "Foundation Day (AU WA)"), + array( Date => "09-06", type => 1, Desc => "Queen's Birthday (AU ex-WA)"), + array( Date => "04-08", type => 0, Desc => "Picnic Day (AU NT)"), + array( Date => "29-09", type => 0, Desc => "Queen's Birthday (AU WA)"), + array( Date => "06-10", type => 0, Desc => "Labour Day (AU ACT,NSW,SA)"), + array( Date => "04-11", type => 0, Desc => "Melbourne Cup (AU Vic)"), array( Date => "25-12", type => 1, Desc => "Christmas Day (AU)"), array( Date => "26-12", type => 1, Desc => "Boxing Day (AU ex-SA)"), array( Date => "26-12", type => 1, Desc => "Proclamation Day (AU SA)"), |
|
From: Gero K. <gok...@us...> - 2003-01-28 16:33:11
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs1:/tmp/cvs-serv24039 Modified Files: config_default.pinc Log Message: fix Index: config_default.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config_default.pinc,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- config_default.pinc 24 Jan 2003 20:50:35 -0000 1.44 +++ config_default.pinc 28 Jan 2003 16:33:06 -0000 1.45 @@ -456,6 +456,9 @@ $tutos[applocdesc][1] = 1; $tutos[applocdesc][2] = 0; $tutos[applocdesc][3] = 0; +$tutos[applocdesc][4] = 0; +$tutos[applocdesc][5] = 0; +$tutos[applocdesc][6] = 0; # # Project roles # Define where to search for given names |
|
From: Gero K. <gok...@us...> - 2003-01-26 20:15:18
|
Update of /cvsroot/tutos/tutos/php/group
In directory sc8-pr-cvs1:/tmp/cvs-serv24088/php/group
Added Files:
Tag: BRANCH-1-0
cs.p3
Log Message:
new
--- NEW FILE: cs.p3 ---
<?php
# $Id: cs.p3,v 1.1.2.1 2003/01/26 20:15:08 gokohnert Exp $
#
# ========================= NOTE ========================
# Please put site specific extensions and changes
# to TUTOS language files in a file called "cs_custom.p3"
# or "lang_custom.p3" (for all languages)
# using the same format like here
# =======================================================
#
#
# Czech Texts for this module
#
$lang['Group'] = "CRM skupina";
$lang['Groups'] = "CRM skupiny";
$lang['GroupCreate'] = "Vytvoøit CRM skupinu";
$lang['GroupModify'] = "Zmìnit CRM skupinu";
$lang['GroupModifyI'] = "Zmìnit CRM skupinu %s";
$lang['GroupName'] = "Název";
$lang['GroupDesc'] = "Popis";
$lang['GroupShow'] = "Zobrazit CRM skupinu %s";
$lang['GroupDetail'] = "Podrobnosti CRM skupiny";
$lang['GroupOverview'] = "Pøehled CRM skupiny";
$lang['GroupMember'] = "Èlen";
$lang['group'] = &$lang['Group'];
?>
|
|
From: Gero K. <gok...@us...> - 2003-01-26 20:14:36
|
Update of /cvsroot/tutos/tutos/php/localization In directory sc8-pr-cvs1:/tmp/cvs-serv23786/php/localization Modified Files: cs.p3 Log Message: fixes Index: cs.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/localization/cs.p3,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- cs.p3 31 Dec 2002 14:33:46 -0000 1.16 +++ cs.p3 26 Jan 2003 20:14:26 -0000 1.17 @@ -443,7 +443,7 @@ $lang['TaskSched'] = "Naplánováno"; $lang['TaskReal'] = "Skuteèný"; $lang['TaskLinkInfo'] = "Zobrazit úlohu %s"; -$lang['TaskCompleted'] = "Dokonèeno %3.2f %"; +$lang['TaskCompleted'] = "Dokonèeno %3.2f %%"; $lang['Completed'] = "Dokonèeno"; $lang['Reschedule'] = "Pøeplánováno"; $lang['Reschedule_s'] = "Pøeplánovaný start"; |
|
From: Gero K. <gok...@us...> - 2003-01-26 20:14:29
|
Update of /cvsroot/tutos/tutos In directory sc8-pr-cvs1:/tmp/cvs-serv23786 Modified Files: ChangeLog Log Message: fixes Index: ChangeLog =================================================================== RCS file: /cvsroot/tutos/tutos/ChangeLog,v retrieving revision 1.92 retrieving revision 1.93 diff -u -r1.92 -r1.93 --- ChangeLog 16 Dec 2002 20:40:19 -0000 1.92 +++ ChangeLog 26 Jan 2003 20:14:25 -0000 1.93 @@ -1,14 +1,16 @@ $Header$ Sometimes + * new handler (factbook/phpweather/fax/sms) for displayed infos * new changing the task reference * new changing the bug reference - * new history opf last visited objects + * new history of last visited objects * new backreferences from related products * change moved installations to a module * change moved url management to a module * change moved document management to a module * enhance complete bug overview in products * enhance complete timetrack overview in products + * massupdate for object acl/permissions September 5 2002 * new support of database prefixes (add something like $tutos[dbprefix][0] + "FOO_"; to your config.pinc) |
|
From: Gero K. <gok...@us...> - 2003-01-26 20:14:29
|
Update of /cvsroot/tutos/tutos/php
In directory sc8-pr-cvs1:/tmp/cvs-serv23786/php
Modified Files:
login.pinc
Log Message:
fixes
Index: login.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/login.pinc,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- login.pinc 8 Jan 2003 12:08:35 -0000 1.19
+++ login.pinc 26 Jan 2003 20:14:26 -0000 1.20
@@ -23,14 +23,26 @@
foreach ($_GET as $i => $f) {
if ( ($i != "uname") && ($i != "pw") && ($i != "db") && ($i != "login") && ($i != "TUTOS") ) {
# $this->addHidden($i,$f);
- $this->gotourl= addUrlParameter($this->gotourl,$i."=".UrlEncode($f));
+ if (!is_array($f)) {
+ $this->gotourl= addUrlParameter($this->gotourl,$i."=".UrlEncode($f));
+ } else {
+ foreach ($f as $i2 => $f2) {
+ $this->gotourl = addUrlParameter($this->gotourl,$i."[]=".UrlEncode($f2));
+ }
+ }
}
}
}
if ( count($_POST) ) {
foreach ($_POST as $i => $f) {
if ( ($i != "uname") && ($i != "pw") && ($i != "db") && ($i != "login") && ($i != "TUTOS") ) {
- $this->addHidden($i,$f);
+ if (!is_array($f)) {
+ $this->addHidden($i,$f);
+ } else {
+ foreach ($f as $i2 => $f2) {
+ $this->addHidden($i."[]",$f2);
+ }
+ }
}
}
}
|
|
From: Gero K. <gok...@us...> - 2003-01-26 18:38:04
|
Update of /cvsroot/tutos/tutos/php
In directory sc8-pr-cvs1:/tmp/cvs-serv8597/php
Modified Files:
Tag: BRANCH-1-0
appointment.pinc config_default.pinc cs.p3 permission.p3
Log Message:
fixes
Index: appointment.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/appointment.pinc,v
retrieving revision 1.93.2.11
retrieving revision 1.93.2.12
diff -u -r1.93.2.11 -r1.93.2.12
--- appointment.pinc 11 Nov 2002 16:29:24 -0000 1.93.2.11
+++ appointment.pinc 26 Jan 2003 18:38:00 -0000 1.93.2.12
@@ -862,7 +862,7 @@
$m->addBody($body,"text/plain",$lang['NewAppoint'],"",$f->lg['content_encoding']);
if ( $tutos[useical] == 1 ) {
- $m->addBody($this->getIcal(),"text/calendar","ICal Entry");
+ $m->addBody($this->getIcal(),"text/calendar","ICalEntry.vcs","attachment; filename=ICalEntry.vcs");
}
if ( $current_user->feature_ok(usevcard,PERM_SEE) ) {
$m->addBody($this->creator->getIcard(),"text/x-vcard",sprintf($lang['MailCard'], $this->creator->getFullName()),"attachment; filename=\"". $this->creator->l_name .".vcf\"" );
@@ -1353,7 +1353,7 @@
$m->addBody($body,"text/plain",$lang['NewAppoint'],"",$f->lg['content_encoding']);
if ( $tutos[useical] == 1 ) {
- $m->addBody($app->getIcal(),"text/calendar","ICal Entry");
+ $m->addBody($app->getIcal(),"text/calendar","ICalEntry.vcs","attachment; filename=ICalEntry.vcs");
}
if ( $tutos[usevcard] == 1 ) {
$m->addBody($app->creator->getIcard(),"text/x-vcard",sprintf($lang['MailCard'], $app->creator->getFullName()) );
Index: config_default.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/config_default.pinc,v
retrieving revision 1.3.2.20
retrieving revision 1.3.2.21
diff -u -r1.3.2.20 -r1.3.2.21
--- config_default.pinc 27 Nov 2002 17:39:48 -0000 1.3.2.20
+++ config_default.pinc 26 Jan 2003 18:38:00 -0000 1.3.2.21
@@ -530,6 +530,7 @@
# Height will be resized to 40 pixels !
# logo and logolink are either relative to [tutosdir] or should start with "http:"
# NOTE: a value in the database entry will override these settings !!
+# call adminpage -> select DB Name -> Modify -> change -> save
#
#$tutos[logo] = "html/tutos_small.gif";
$tutos[logo] = "http://sourceforge.net/sflogo.php?group_id=8047&type=1";
Index: cs.p3
===================================================================
RCS file: /cvsroot/tutos/tutos/php/Attic/cs.p3,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -r1.1.2.6 -r1.1.2.7
--- cs.p3 18 Dec 2002 14:26:08 -0000 1.1.2.6
+++ cs.p3 26 Jan 2003 18:38:00 -0000 1.1.2.7
@@ -472,7 +472,7 @@
$lang['TaskSched'] = "Naplánováno";
$lang['TaskReal'] = "Skuteèný";
$lang['TaskLinkInfo'] = "Zobrazit úlohu %s";
-$lang['TaskCompleted'] = "Dokonèeno %3.2f %";
+$lang['TaskCompleted'] = "Dokonèeno %3.2f %%";
$lang['Completed'] = "Dokonèeno";
$lang['Reschedule'] = "Pøeplánováno";
$lang['Reschedule_s'] = "Pøeplánovaný start";
Index: permission.p3
===================================================================
RCS file: /cvsroot/tutos/tutos/php/permission.p3,v
retrieving revision 1.78.2.15
retrieving revision 1.78.2.16
diff -u -r1.78.2.15 -r1.78.2.16
--- permission.p3 15 Jan 2003 09:37:57 -0000 1.78.2.15
+++ permission.p3 26 Jan 2003 18:38:00 -0000 1.78.2.16
@@ -147,7 +147,13 @@
@reset($HTTP_GET_VARS);
while ( list ($i,$f) = @each ($HTTP_GET_VARS) ) {
if ( ($i != "uname") && ($i != "pw") && ($i != "db") && ($i != "login") ) {
- $gotourl= addUrlParameter($gotourl,$i."=".UrlEncode($f));
+ if (!is_array($f)) {
+ $gotourl= addUrlParameter($gotourl,$i."=".UrlEncode($f));
+ } else {
+ foreach ($f as $i2 => $f2) {
+ $gotourl= addUrlParameter($gotourl,$i."[]=".UrlEncode($f2));
+ }
+ }
# echo "<INPUT type=hidden name=\"". $i ."\" value=\"". $f ."\">";
}
}
@@ -160,7 +166,13 @@
@reset($HTTP_POST_VARS);
while ( list ($i,$f) = @each ($HTTP_POST_VARS) ) {
if ( ($i != "uname") && ($i != "pw") && ($i != "db") && ($i != "login") ) {
- echo "<INPUT type=hidden name=\"". $i ."\" value=\"". $f ."\">";
+ if (!is_array($f)) {
+ echo "<INPUT type=hidden name=\"". $i ."\" value=\"". $f ."\">";
+ } else {
+ foreach ($f as $i2 => $f2) {
+ echo "<INPUT type=hidden name=\"". $i ."[]\" value=\"". $f2 ."\">";
+ }
+ }
}
}
}
|
|
From: Gero K. <gok...@us...> - 2003-01-25 18:15:12
|
Update of /cvsroot/tutos/tutos/php
In directory sc8-pr-cvs1:/tmp/cvs-serv26223/php
Modified Files:
acl.pinc acl_ins.php acl_new.php acl_overview.php
bug_overview.php permission.p3 product_overview.php
Log Message:
mass update of permissions/acl
Index: acl.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/acl.pinc,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- acl.pinc 24 Jan 2003 20:47:28 -0000 1.47
+++ acl.pinc 25 Jan 2003 18:15:07 -0000 1.48
@@ -490,4 +490,16 @@
echo $layout->OverviewRowEnd($line++);
}
}
+
+/**
+ * build a massupdate acl link
+ */
+function acl_action() {
+ # edit permissions in another dialog
+ $url = "acl_new.php";
+ foreach ($_GET['mark'] as $key => $val) {
+ $url = addUrlParameter($url,"id[]=". $val);
+ }
+ return $url;
+}
?>
Index: acl_ins.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/acl_ins.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- acl_ins.php 31 Dec 2002 14:33:34 -0000 1.21
+++ acl_ins.php 25 Jan 2003 18:15:09 -0000 1.22
@@ -8,11 +8,6 @@
*/
include_once 'webelements.p3';
include_once 'permission.p3';
- include_once 'product.pinc';
- include_once 'task.pinc';
- include_once 'bug.pinc';
- include_once 'appointment.pinc';
- include_once 'timetrack.pinc';
/* Check if user is allowed to use it */
check_user();
@@ -20,41 +15,58 @@
/* Check Input */
$msg = "";
+ $obj = array();
+
if ( !isset($_POST['id']) ) {
$msg .= "Missing ID<br>";
$gotourl = "mytutos.php";
} else {
- $obj = getObject($dbconn,$_POST['id']);
- if (!$current_user->isadmin() && ($obj->del_ok() == 0) ) {
- $msg .= "Not allowed !<br>";
- $gotourl = $obj->getURL();
+ if (! is_Array($_POST['id'])) {
+ $id[0] = $_POST['id'];
+ } else {
+ $id = $_POST['id'];
+ }
+ foreach($id as $val) {
+ $x = getObject($dbconn,$val);
+ if ( $x == -1 ) {
+ $msg .= sprintf($lang['Err0040'],"Object ". $val);
+ } else if ( ! $current_user->isadmin() && ! $x->del_ok() ) {
+ # we need delete permissions but talk about modify !
+ $msg .= sprintf($lang['Err0024'],$lang[$x->getType()]);
+ $gotourl = $val->getURL();
+ } else {
+ $obj[] = &$x;
+ }
+ unset($x);
}
}
if ( $msg == "" ) {
- unset($obj->acl);
- if ( isset($_POST['r']) ) {
- @reset($_POST['r']) ;
- while ( list ($i,$f) = @each ($_POST['r']) ) {
- acl_raise($obj,$f,$tutos[seeok]);
+ $dbconn->Begin("WORK");
+ foreach($obj as $val) {
+ unset($val->acl);
+ if ( isset($_POST['r']) ) {
+ @reset($_POST['r']) ;
+ while ( list ($i,$f) = @each ($_POST['r']) ) {
+ acl_raise($val,$f,$tutos[seeok]);
+ }
}
- }
- if ( isset($_POST['m']) ) {
- @reset($_POST['m']) ;
- while ( list ($i,$f) = @each ($_POST['m']) ) {
- acl_raise($obj,$f,$tutos[modok]);
+ if ( isset($_POST['m']) ) {
+ @reset($_POST['m']) ;
+ while ( list ($i,$f) = @each ($_POST['m']) ) {
+ acl_raise($val,$f,$tutos[modok]);
+ }
}
- }
- if ( isset($_POST['d']) ) {
- @reset($_POST['d']) ;
- while ( list ($i,$f) = @each ($_POST['d']) ) {
- acl_raise($obj,$f,$tutos[delok]);
+ if ( isset($_POST['d']) ) {
+ @reset($_POST['d']) ;
+ while ( list ($i,$f) = @each ($_POST['d']) ) {
+ acl_raise($val,$f,$tutos[delok]);
+ }
}
+ $msg .= acl_save($val);
+ $gotourl = $val->getURL();
}
- $dbconn->Begin("WORK");
- $msg .= acl_save($obj);
$dbconn->Commit("WORK");
- $gotourl = $obj->getURL();
}
$gotourl= addUrlParameter($gotourl,"msg=". UrlEncode($msg));
Index: acl_new.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/acl_new.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- acl_new.php 23 Dec 2002 10:01:33 -0000 1.27
+++ acl_new.php 25 Jan 2003 18:15:09 -0000 1.28
@@ -29,15 +29,17 @@
$nr["d"] = 2;
$js = "";
echo " <select multiple size=\"". min(count($this->user->parties),$tutos[maxshow]) ."\" name=\"". $name ."[]\" ". $js .">\n";
- @reset ($this->user->parties);
- while ( list ($i,$fn) = @each ($this->user->parties) ) {
- if ( isset($this->obj->acl[$i]) ) {
- $l = $this->obj->acl[$i];
- } else {
- $l = 0;
+ foreach ($this->user->parties as $i => $fn) {
+
+ $l = 0;
+ foreach($this->obj as $val) {
+ if ( isset($val->acl[$i]) ) {
+ $l = max($l,$val->acl[$i]);
+ }
}
- if ( ($l < $max) && ($l >= $min) ) {
- echo " <option value=\"". $i ."\" selected > ". $fn ." </option>\n";
+
+ if ( ($l < $max) && ($l >= $min) ) {
+ echo " <option value=\"". $i ."\" selected> ". $fn ." </option>\n";
} else {
echo " <option value=\"". $i ."\" > ". $fn ." </option>\n";
}
@@ -50,27 +52,6 @@
Function info() {
global $lang,$tutos;
- $this->user->readKnownParties();
- $this->user->parties[0] = $lang['everybody'];
- # Add Used but missing parties
- @reset ($this->obj->acl);
- while ( list ($i,$f) = @each ($this->obj->acl) ) {
- if ( ! isset($this->user->parties[$i]) || ($this->user->parties[$i] == "") ) {
- $x = getObject($this->obj->dbconn,$i);
- if ( $x == -1 ) {
- continue;
- }
- $pre = "";
- if ( method_exists($x,"gettype") && ($x->gettype() == "team") ) {
- $pre = $lang['team'] ." ";
- }
- if ( method_exists($x,"getFullName") ) {
- $this->user->parties[$i] = $pre . $x->getFullName();
- }
- unset($x);
- }
- }
-
echo "<script LANGUAGE='JavaScript'>\n";
echo " function deselect (obj,nr) { \n";
echo " var x = obj.elements[0]; \n";
@@ -93,17 +74,46 @@
echo " }\n";
echo " }\n";
echo "</script>\n";
-
echo "<form name=\"acl\" action=\"acl_ins.php\" method=\"POST\">\n";
- if ( $this->obj->gettype() == "user" ) {
- $this->addHidden("id",$this->obj->uid);
- } else {
- $this->addHidden("id",$this->obj->id);
+
+ $this->user->readKnownParties();
+ $this->user->parties[0] = $lang['everybody'];
+ foreach($this->obj as $val) {
+ # Add Used but missing parties
+ foreach ($val->acl as $i => $f) {
+ if ( ! isset($this->user->parties[$i]) || ($this->user->parties[$i] == "") ) {
+ $x = getObject($this->dbconn,$i);
+ if ( $x == -1 ) {
+ continue;
+ }
+ $pre = "";
+ if ( method_exists($x,"gettype") && ($x->gettype() == "team") ) {
+ $pre = $lang['team'] ." ";
+ }
+ if ( method_exists($x,"getFullName") ) {
+ $this->user->parties[$i] = $pre . $x->getFullName();
+ }
+ unset($x);
+ }
+ }
+ if ( $val->gettype() == "user" ) {
+ $this->addHidden("id[]",$val->uid);
+ } else {
+ $this->addHidden("id[]",$val->id);
+ }
+# echo $val->getFullName() ." ". $val->id ."<br>";
}
+
echo $this->DataTableStart();
echo " <tr><th colspan=\"6\">";
- echo sprintf($lang['AclModifyI'],$lang[$this->obj->getType()] ." ". menulink($this->obj->getURL(),myentities($this->obj->getFullName())));
+ if (count($this->obj) == 1) {
+ $title = $lang[$this->obj[0]->getType()] ." ". $this->obj[0]->getFullName();
+ echo sprintf($lang['AclModifyI'],menulink($this->obj[0]->getURL(),myentities($title)));
+ } else {
+ $title = count($this->obj) . " Objects";
+ echo sprintf($lang['AclModifyI'],$title);
+ }
echo "</th></tr>\n";
echo "<tr valign=\"top\">\n";
@@ -112,32 +122,32 @@
echo " <th width=\"30%\" colspan=\"2\">". $lang['ACLread'] ."<br>". $lang['ACLmodify'] ."<br>". $lang['ACLdelete'] ."</th>\n";
echo "</tr>\n";
- if ( ($this->obj->gettype() == "user") || ($this->obj->gettype() == "team") ) {
- echo "<tr valign=\"top\">\n";
- echo " <td colspan=\"6\"><font size=\"-1\">(other users/teams need at least the see permission for ". $this->obj->getFullName()." to appear in selection lists)</font></td>\n";
- echo "</tr>\n";
- }
- if ( $this->obj->gettype() == "file" ) {
- echo "<tr valign=\"top\">\n";
- echo " <td colspan=\"6\"><font size=\"-1\">(need at least the modify permission for ". $this->obj->getFullName()." to download or show documents)</font></td>\n";
- echo "</tr>\n";
- }
+// if ( ($this->obj->gettype() == "user") || ($this->obj->gettype() == "team") ) {
+// echo "<tr valign=\"top\">\n";
+// echo " <td colspan=\"6\"><font size=\"-1\">(other users/teams need at least the see permission for ". $this->obj->getFullName()." to appear in selection lists)</font></td>\n";
+// echo "</tr>\n";
+// }
+// if ( $this->obj->gettype() == "file" ) {
+// echo "<tr valign=\"top\">\n";
+// echo " <td colspan=\"6\"><font size=\"-1\">(need at least the modify permission for ". $this->obj->getFullName()." to download or show documents)</font></td>\n";
+// echo "</tr>\n";
+// }
echo "<tr>\n";
- echo " <td colspan=\"2\"><center>\n";
+ echo " <td colspan=\"2\" align=\"center\">\n";
$this->acl_select(1,$tutos[modok],"r");
- echo " </center></td>\n";
- echo " <td colspan=\"2\"><center>\n";
+ echo " </td>\n";
+ echo " <td colspan=\"2\" align=\"center\">\n";
$this->acl_select($tutos[modok],$tutos[delok],"m");
- echo " </center></td>\n";
- echo " <td colspan=\"2\"><center>\n";
+ echo " </td>\n";
+ echo " <td colspan=\"2\" align=\"center\">\n";
$this->acl_select($tutos[delok],99,"d");
- echo " </center></td>\n";
+ echo " </td>\n";
echo "</tr>\n";
echo "<tr>\n";
- echo " <td colspan=\"2\"> ". sprintf($lang['ACLreadI'],myentities($this->obj->getFullName())) ." </td>\n";
- echo " <td colspan=\"2\"> ". sprintf($lang['ACLmodI'] ,myentities($this->obj->getFullName())) ." </td>\n";
- echo " <td colspan=\"2\"> ". sprintf($lang['ACLdelI'] ,myentities($this->obj->getFullName())) ." </td>\n";
+ echo " <td colspan=\"2\"> ". sprintf($lang['ACLreadI'],myentities($title)) ." </td>\n";
+ echo " <td colspan=\"2\"> ". sprintf($lang['ACLmodI'] ,myentities($title)) ." </td>\n";
+ echo " <td colspan=\"2\"> ". sprintf($lang['ACLdelI'] ,myentities($title)) ." </td>\n";
echo "</tr>\n";
echo "<tr>\n";
@@ -167,13 +177,26 @@
$this->stop = true;
return;
}
- $this->obj = getObject($this->dbconn,$_GET['id']);
- if ( $this->obj == -1 ) {
- $msg .= sprintf($lang['Err0040'],"Object");
- $this->stop = true;
- } else if ( ! $current_user->isadmin() && ! $this->obj->del_ok() ) {
- $msg .= sprintf($lang['Err0023'],$lang[$this->obj->getType()]);
- $this->stop = true;
+ $this->obj = array();
+
+ if (! is_Array($_GET['id'])) {
+ $id[0] = $_GET['id'];
+ } else {
+ $id = $_GET['id'];
+ }
+ foreach($id as $val) {
+ $x = getObject($this->dbconn,$val);
+ if ( $x == -1 ) {
+ $msg .= sprintf($lang['Err0040'],"Object ". $val);
+ $this->stop = true;
+ } else if ( ! $current_user->isadmin() && ! $x->del_ok() ) {
+ # we need delete permissions but talk about modify !
+ $msg .= sprintf($lang['Err0024'],$lang[$x->getType()]);
+ $this->stop = true;
+ } else {
+ $this->obj[] = &$x;
+ }
+ unset($x);
}
}
}
Index: acl_overview.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/acl_overview.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- acl_overview.php 31 Dec 2002 14:33:34 -0000 1.38
+++ acl_overview.php 25 Jan 2003 18:15:09 -0000 1.39
@@ -180,8 +180,7 @@
echo "<select name=\"action\">\n";
echo " <option value=\"-1\" selected>". $lang['ActionNil'] ."</option>\n";
echo " <option value=\"-2\">". $lang['Delete'] ." Objects</option>\n";
- echo " <option value=\"-3\">". "remove all permissions" ."</option>\n";
-# echo " <option value=\"-4\">". "add permission" ."</option>\n";
+ echo " <option value=\"-4\">". $lang['AclModify'] ."</option>\n";
echo "</select>\n";
echo $this->UpdateRowEnd(2);
}
@@ -244,42 +243,9 @@
unset($b);
}
$this->dbconn->Commit("WORK");
- } else if ( $_GET['action'] == -3 ) {
- # remove all permissions
- $this->dbconn->Begin("WORK");
- foreach ($_GET['mark'] as $key => $val) {
- $b = getObject($this->dbconn,$val);
- if ( ! is_subclass_of($b,'tutos_base') ) {
- $msg .= "Unknown object: ". $val;
- continue;
- }
- if ( $b->id != $val ) {
- $msg .= "Missing object: ". $val;
- continue;
- }
- $b->acl = array();
- $msg .= acl_save($b);
- unset($b);
- }
- $this->dbconn->Commit("WORK");
} else if ( $_GET['action'] == -4 ) {
- # add everybody see permissions
- $this->dbconn->Begin("WORK");
- foreach ($_GET['mark'] as $key => $val) {
- $b = getObject($this->dbconn,$val);
- if ( ! is_subclass_of($b,'tutos_base') ) {
- $msg .= "Unknown object: ". $val;
- continue;
- }
- if ( $b->id != $val ) {
- continue;
- }
- acl_raise($b,0,$tutos[seeok]);
- $msg .= acl_save($b);
- unset($b);
- }
- $this->dbconn->Commit("WORK");
- }
+ $this->redirect = acl_action();
+ }
}
/**
* prepare
Index: bug_overview.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/bug_overview.php,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- bug_overview.php 23 Dec 2002 10:01:34 -0000 1.69
+++ bug_overview.php 25 Jan 2003 18:15:09 -0000 1.70
@@ -147,6 +147,7 @@
while ( list ($f,$i) = @each ($lang['BugStates']) ) {
echo " <option value=\"S". $f ."\">". sprintf($lang['SetTo'],$lang['BugState'],$i) ."</option>\n";
}
+ echo " <option value=\"-4\">". $lang['AclModify'] ."</option>\n";
echo "</select>\n";
echo $this->UpdateRowEnd(2);
}
@@ -455,6 +456,8 @@
unset($p);
}
$this->dbconn->Commit("WORK");
+ } else if ( $_GET['action'] == -4 ) {
+ $this->redirect = acl_action();
} else if ( ereg("^([SC])(.*)",$_GET['action'],$a) ) {
# Setting State or Class
Index: permission.p3
===================================================================
RCS file: /cvsroot/tutos/tutos/php/permission.p3,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- permission.p3 24 Jan 2003 20:50:36 -0000 1.113
+++ permission.p3 25 Jan 2003 18:15:09 -0000 1.114
@@ -237,7 +237,7 @@
$action = "";
}
- if ( isset($tutos['SESSID']) && ($_SESSION['userid'] != -1) ) {
+ if ( isset($tutos['SESSID']) && (isset($_SESSION['userid']) && $_SESSION['userid'] != -1) ) {
// there is a session
session_id($tutos['SESSID']);
if ( isset ($_SESSION['userid']) ) {
Index: product_overview.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- product_overview.php 8 Jan 2003 12:08:38 -0000 1.83
+++ product_overview.php 25 Jan 2003 18:15:09 -0000 1.84
@@ -446,6 +446,7 @@
while ( list ($f,$i) = @each ($ar) ) {
echo " <option value=\"". $i ."\">". sprintf($lang['SetTo'],$lang['ProdState'],$lang['ProdStates'][$i]) ."</option>\n";
}
+ echo " <option value=\"-4\">". $lang['AclModify'] ."</option>\n";
echo "</select>\n";
echo $this->UpdateRowEnd(1);
}
@@ -761,6 +762,8 @@
unset($p);
}
$this->dbconn->Commit("WORK");
+ } else if ( $_GET['action'] == -4 ) {
+ $this->redirect = acl_action();
} else {
$this->dbconn->Begin("WORK");
while (list ($key,$val) = @each ($_GET['mark'])) {
|
|
From: Gero K. <gok...@us...> - 2003-01-25 18:15:12
|
Update of /cvsroot/tutos/tutos/php/layout
In directory sc8-pr-cvs1:/tmp/cvs-serv26223/php/layout
Modified Files:
classic_base.pinc layout_base.pinc
Log Message:
mass update of permissions/acl
Index: classic_base.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/layout/classic_base.pinc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- classic_base.pinc 8 Jan 2003 12:08:44 -0000 1.28
+++ classic_base.pinc 25 Jan 2003 18:15:09 -0000 1.29
@@ -196,8 +196,8 @@
*/
Function getHidden() {
$r = "";
- foreach ($this->hidden as $name => $value ) {
- $r .= "<input id=\"". $name ."\" type=\"hidden\" name=\"". $name ."\" value=\"". $value ."\">\n";
+ foreach ($this->hidden as $v ) {
+ $r .= "<input id=\"". $v[0] ."\" type=\"hidden\" name=\"". $v[0] ."\" value=\"". $v[1] ."\">\n";
}
$this->hidden = array();
return $r;
Index: layout_base.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/layout/layout_base.pinc,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- layout_base.pinc 24 Jan 2003 20:50:37 -0000 1.18
+++ layout_base.pinc 25 Jan 2003 18:15:09 -0000 1.19
@@ -212,7 +212,7 @@
* add a hidden field for a form
*/
Function addHidden($fld,$value) {
- $this->hidden[$fld] = $value;
+ $this->hidden[] = array($fld,$value);
}
/**
* get all hidden fields (plus reset)
|
|
From: Gero K. <gok...@us...> - 2003-01-24 20:50:41
|
Update of /cvsroot/tutos/tutos/php/note
In directory sc8-pr-cvs1:/tmp/cvs-serv4999/php/note
Modified Files:
note.pinc
Log Message:
more flexible auth modules
Index: note.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/note/note.pinc,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- note.pinc 8 Jan 2003 12:08:47 -0000 1.27
+++ note.pinc 24 Jan 2003 20:50:38 -0000 1.28
@@ -370,7 +370,7 @@
if ( count($obj->notelist) == 0 ) {
return;
}
- echo "<tr>";
+ echo "<tr>\n";
echo $user->layout->showfield($lang['Notes']);
echo " <td valign=\"top\" colspan=".($cols-1).">\n";
if ( $format == "paper" ) {
@@ -378,8 +378,8 @@
} else {
showNotes($user,$obj,0);
}
- echo "</td>";
- echo "</tr>";
+ echo " </td>\n";
+ echo "</tr>\n";
}
/**
* create a smalllist of notes attached to the given object
|
|
From: Gero K. <gok...@us...> - 2003-01-24 20:50:41
|
Update of /cvsroot/tutos/tutos/php/mailbox
In directory sc8-pr-cvs1:/tmp/cvs-serv4999/php/mailbox
Modified Files:
mailbox.pinc
Log Message:
more flexible auth modules
Index: mailbox.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/mailbox/mailbox.pinc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mailbox.pinc 8 Jan 2003 12:08:47 -0000 1.4
+++ mailbox.pinc 24 Jan 2003 20:50:37 -0000 1.5
@@ -468,24 +468,26 @@
if ( $obj == -1 ) return;
if (! is_object($obj) ) return;
+ if ( $obj->id < 1000 ) return;
+
if ( ! $user->feature_ok(usemailboxes,PERM_SEE) ) {
return;
}
-
mailbox::obj_read($obj);
+ if ( count($obj->mboxlist) == 0 ) {
+ return;
+ }
- if ( count($obj->mboxlist) > 0 ) {
- echo "<tr>\n";
- echo $user->layout->showfield($lang['mailbox']);
- echo " <td valign=\"top\" colspan=\"".($cols-1)."\">\n";
- $pre = "";
- foreach ($obj->mboxlist as $i => $f) {
- echo $pre. $f->getLink();
- $pre = "<br>";
- }
- echo " </td>\n";
- echo "</tr>\n";
+ echo "<tr>\n";
+ echo $user->layout->showfield($lang['mailbox']);
+ echo " <td valign=\"top\" colspan=\"".($cols-1)."\">\n";
+ $pre = "";
+ foreach ($obj->mboxlist as $i => $f) {
+ echo $pre. $f->getLink();
+ $pre = "<br>";
}
+ echo " </td>\n";
+ echo "</tr>\n";
}
/**
* Return Info about connected mailboxes to an object
|
|
From: Gero K. <gok...@us...> - 2003-01-24 20:50:41
|
Update of /cvsroot/tutos/tutos/php/invoice
In directory sc8-pr-cvs1:/tmp/cvs-serv4999/php/invoice
Modified Files:
invoice.pinc
Log Message:
more flexible auth modules
Index: invoice.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/invoice/invoice.pinc,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- invoice.pinc 8 Jan 2003 12:08:43 -0000 1.30
+++ invoice.pinc 24 Jan 2003 20:50:37 -0000 1.31
@@ -859,22 +859,27 @@
function infolist (&$user,&$obj,$cols,$format = "html") {
global $lang;
+ if ( $obj == -1 ) return;
+ if (! is_object($obj) ) return;
+ if ( $obj->id < 1000 ) return;
+
if ( ! $user->feature_ok(useinvoice,PERM_SEE) ) {
return;
}
invoice::obj_read($obj);
- if ( count($obj->invlist) > 0 ) {
- echo "<tr>\n";
- echo $user->layout->showfield($lang['Invoices']);
- echo " <td valign=\"top\" colspan=\"".($cols-1)."\">\n";
- if ( $format == "paper" ) {
- showInvoice($user,$obj,0,-1);
- } else {
- showInvoice($user,$obj,0);
- }
- echo " </td>\n";
- echo "</tr>\n";
+ if ( count($obj->invlist) == 0 ) {
+ return;
+ }
+ echo "<tr>\n";
+ echo $user->layout->showfield($lang['Invoices']);
+ echo " <td valign=\"top\" colspan=\"".($cols-1)."\">\n";
+ if ( $format == "paper" ) {
+ showInvoice($user,$obj,0,-1);
+ } else {
+ showInvoice($user,$obj,0);
}
+ echo " </td>\n";
+ echo "</tr>\n";
}
/**
* create a link where a invoice for the given object could be added
|