tutos-commits Mailing List for TUTOS
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
(1) |
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
From: <gok...@us...> - 2021-03-12 14:02:31
|
Revision: 1341 http://sourceforge.net/p/tutos/code/1341 Author: gokohnert Date: 2021-03-12 14:02:29 +0000 (Fri, 12 Mar 2021) Log Message: ----------- fix stc problem Modified Paths: -------------- trunk/php/stc/mtable.pinc trunk/php/stc/stc.pinc Modified: trunk/php/stc/mtable.pinc =================================================================== --- trunk/php/stc/mtable.pinc 2021-02-02 15:56:41 UTC (rev 1340) +++ trunk/php/stc/mtable.pinc 2021-03-12 14:02:29 UTC (rev 1341) @@ -33,15 +33,15 @@ ); -$table['stc_states'][name] = 'stc_state'; -$table['stc_states'][Desc] = 'TUTOS STC State'; -$table['stc_states']['id'] = array(type => 'ID_TYPE', constraints => 'PK', Desc => 'stc state ID'); -$table['stc_states']['stc_id'] = array(type => 'ID_TYPE', constraints => 'NN', Desc => 'parent ID'); -$table['stc_states']['stc_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'state ID'); -$table['stc_states']['color'] = array(type => 'VARCHAR', size => 30, constraints => '', Desc => 'color for visualization'); -$table['stc_states']['lang_array'] = array(type => 'VARCHAR', size => 30, constraints => '', Desc => 'arrayname with translation'); -$table['stc_states']['creator'] = array(type => 'ID_TYPE', constraints => '', Desc => 'creator ID'); -$table['stc_states']['creation'] = array(type => 'TS_TYPE', constraints => '', Desc => 'creation date'); +$table['stcstate'][name] = 'stc_state'; +$table['stcstate'][Desc] = 'TUTOS STC State'; +$table['stcstate']['id'] = array(type => 'ID_TYPE', constraints => 'PK', Desc => 'stc state ID'); +$table['stcstate']['stc_id'] = array(type => 'ID_TYPE', constraints => 'NN', Desc => 'parent ID'); +$table['stcstate']['stc_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'state ID'); +$table['stcstate']['color'] = array(type => 'VARCHAR', size => 30, constraints => '', Desc => 'color for visualization'); +$table['stcstate']['lang_array'] = array(type => 'VARCHAR', size => 30, constraints => '', Desc => 'arrayname with translation'); +$table['stcstate']['creator'] = array(type => 'ID_TYPE', constraints => '', Desc => 'creator ID'); +$table['stcstate']['creation'] = array(type => 'TS_TYPE', constraints => '', Desc => 'creation date'); $tableidx['stc2'] = array( name => "stc_idx2", @@ -51,14 +51,14 @@ ); -$table['stc_trans'][name] = 'stc_trans'; -$table['stc_trans'][Desc] = 'TUTOS STC Transition'; -$table['stc_trans']['id'] = array(type => 'ID_TYPE', constraints => 'PK', Desc => 'stc trans ID'); -$table['stc_trans']['stc_id'] = array(type => 'ID_TYPE', constraints => 'NN', Desc => 'stc ID'); -$table['stc_trans']['stc_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'state ID'); -$table['stc_trans']['next_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'target state ID'); -$table['stc_trans']['creator'] = array(type => 'ID_TYPE', constraints => '', Desc => 'creator ID'); -$table['stc_trans']['creation'] = array(type => 'TS_TYPE', constraints => '', Desc => 'creation date'); +$table['stctrans'][name] = 'stc_trans'; +$table['stctrans'][Desc] = 'TUTOS STC Transition'; +$table['stctrans']['id'] = array(type => 'ID_TYPE', constraints => 'PK', Desc => 'stc trans ID'); +$table['stctrans']['stc_id'] = array(type => 'ID_TYPE', constraints => 'NN', Desc => 'stc ID'); +$table['stctrans']['stc_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'state ID'); +$table['stctrans']['next_state'] = array(type => 'ID_TYPE', constraints => '', Desc => 'target state ID'); +$table['stctrans']['creator'] = array(type => 'ID_TYPE', constraints => '', Desc => 'creator ID'); +$table['stctrans']['creation'] = array(type => 'TS_TYPE', constraints => '', Desc => 'creation date'); $tableidx['stc3'] = array( name => "stc_idx3", Modified: trunk/php/stc/stc.pinc =================================================================== --- trunk/php/stc/stc.pinc 2021-02-02 15:56:41 UTC (rev 1340) +++ trunk/php/stc/stc.pinc 2021-03-12 14:02:29 UTC (rev 1341) @@ -29,8 +29,8 @@ if($dbconn == null) return; - $this->tablename = $this->dbconn->prefix.$table['stc_states'][name]; - $this->tablename3 = $this->dbconn->prefix.$table['stc_trans'][name]; + $this->tablename = $this->dbconn->prefix.$table['stcstate'][name]; + $this->tablename3 = $this->dbconn->prefix.$table['stctrans'][name]; $this->run_postinit_hook(); } @@ -74,7 +74,7 @@ */ function getColorBlock () { return '<span style="font-size:0.8em;background:'.$this->getColor().';">  </span> '; - } + } /** * save the stc state data to the database @@ -88,8 +88,8 @@ $q->setTable($this->tablename); $q->addFV('stc_state',$this->stc_state,'INT'); $q->addFV('stc_id',$this->stc_id,'INT'); - $q->addFV('color',$this->color,'STRING',$table['stc_states']['color'][size]); - $q->addFV('lang_array',$this->lang_array,'STRING',$table['stc_states']['lang_array'][size]); + $q->addFV('color',$this->color,'STRING',$table['stcstate']['color'][size]); + $q->addFV('lang_array',$this->lang_array,'STRING',$table['stcstate']['lang_array'][size]); $this->save_custom_fields($q); if ( $this->id < 0 ) { @@ -168,7 +168,7 @@ $obj->states = array(); - $q = 'SELECT * from '.$obj->dbconn->prefix.$table['stc_states'][name].' where stc_id = '. $obj->id .' order by stc_state'; + $q = 'SELECT * from '.$obj->dbconn->prefix.$table['stcstate'][name].' where stc_id = '. $obj->id .' order by stc_state'; $r = $obj->dbconn->Exec($q); $n = $r->numrows(); $a = 0; @@ -198,7 +198,7 @@ $this->stc = null; $this->stc_state = null; $this->next_state = null; - $this->tablename = $this->dbconn->prefix .$table['stc_trans'][name]; + $this->tablename = $this->dbconn->prefix .$table['stctrans'][name]; $this->run_postinit_hook(); } @@ -467,7 +467,7 @@ $obj->trans = array(); - $q = 'SELECT * from '. $obj->dbconn->prefix.$table['stc_trans'][name].' where stc_id = '. $obj->id .' order by stc_state'; + $q = 'SELECT * from '. $obj->dbconn->prefix.$table['stctrans'][name].' where stc_id = '. $obj->id .' order by stc_state'; $r = $obj->dbconn->Exec($q); $n = $r->numrows(); $a = 0; @@ -518,8 +518,8 @@ $this->stateowner = null; // the class that uses this stc if($dbconn == null) return; $this->tablename = $this->dbconn->prefix .$table['stc'][name]; - $this->tablename2 = $this->dbconn->prefix .$table['stc_states'][name]; - $this->tablename3 = $this->dbconn->prefix .$table['stc_trans'][name]; + $this->tablename2 = $this->dbconn->prefix .$table['stcstate'][name]; + $this->tablename3 = $this->dbconn->prefix .$table['stctrans'][name]; $this->run_postinit_hook(); } @@ -833,7 +833,7 @@ global $table; $tablename = $obj->dbconn->prefix .$table['stc'][name]; - $tablename2 = $obj->dbconn->prefix .$table['stc_states'][name]; + $tablename2 = $obj->dbconn->prefix .$table['stcstate'][name]; $q = 'SELECT distinct a.* FROM '. $tablename .' a,'.$tablename2 .' b WHERE b.lang_array = \''. $la .'\' AND a.id = b.stc_id'; $r = $obj->dbconn->Exec($q); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |