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
(3) |
12
|
13
|
14
(5) |
15
|
16
|
17
|
18
|
19
(2) |
20
|
21
|
22
(2) |
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
From: Emmanuel D. <ede...@us...> - 2006-09-22 13:44:21
|
Update of /cvsroot/tutos/tutos/php/bugtracking In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8058/php/bugtracking Modified Files: Tag: BRANCH-2-0 bug_overview.php Log Message: Bugfix: link with mantis module when change status in massupdate Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bugtracking/bug_overview.php,v retrieving revision 1.8.2.30 retrieving revision 1.8.2.31 diff -u -r1.8.2.30 -r1.8.2.31 --- bug_overview.php 19 Jan 2006 10:34:52 -0000 1.8.2.30 +++ bug_overview.php 22 Sep 2006 13:44:16 -0000 1.8.2.31 @@ -12,6 +12,7 @@ include_once 'permission.p3'; include_once 'product.pinc'; include_once 'timetrack.pinc'; + include_once 'mantis/mantis.pinc'; require_once 'layout/layout.pinc'; @@ -19,7 +20,7 @@ check_user(); loadmodules("bugtracking","overview"); loadmodule("bugtracking"); - + /** * show a overview of bugs */ @@ -468,7 +469,7 @@ * action via massupdate */ Function action() { - global $lang,$msg; + global $tutos,$lang,$msg; if ( $_GET['action'] == -2 ) { /** @@ -530,6 +531,14 @@ if ( $a[1] == "S" ) { $lmsg .= $b->getLink() ." ". $lang['BugState']." = ".$lang['BugStates'][$a[2]]."<br>"; $h->state = $a[2]; + + // * + // * Adding notif mantis bug + // * + if ( $tutos[usemantisbug] ) { + mantisExportBugStatus($b, $h); + } + } else if ( $a[1] == "C" ) { $lmsg .= $b->getLink() ." ". $lang['BugClass'] ." = ". $lang['BugClasses'][$a[2]]."<br>"; |
From: Gero K. <gok...@us...> - 2006-09-22 07:02:11
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4693 Modified Files: Tag: BRANCH-1-3 product_role_new.php Log Message: fix Index: product_role_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_role_new.php,v retrieving revision 1.7.2.1 retrieving revision 1.7.2.2 diff -u -r1.7.2.1 -r1.7.2.2 --- product_role_new.php 19 Sep 2006 07:02:35 -0000 1.7.2.1 +++ product_role_new.php 22 Sep 2006 07:02:06 -0000 1.7.2.2 @@ -114,6 +114,8 @@ $rdesc = 'r'.($i+1).'desc'; if ( isset($_GET[$rdesc]) ) { $this->desc[$i+1] = $_GET[$rdesc]; + } else { + $this->desc[$i+1] = ''; } $this->addRoleInput($this->rid[$i], $i+1); } |
From: Gero K. <gok...@us...> - 2006-09-19 07:02:41
|
Update of /cvsroot/tutos/tutos/php/bugtracking In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11123/bugtracking Modified Files: Tag: BRANCH-1-3 bug.pinc Log Message: fixes Index: bug.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/bugtracking/bug.pinc,v retrieving revision 1.39 retrieving revision 1.39.2.1 diff -u -r1.39 -r1.39.2.1 --- bug.pinc 11 Jul 2006 06:55:36 -0000 1.39 +++ bug.pinc 19 Sep 2006 07:02:35 -0000 1.39.2.1 @@ -497,7 +497,10 @@ if ( ! empty($m) ) { return $lang['BugMediums'][$m]; } - return $lang['BugMediums'][$this->medium]; + if ( ! empty($this->medium) ) { + return $lang['BugMediums'][$this->medium]; + } + return ""; } /** --------------------------------------------------------------------------- */ |
From: Gero K. <gok...@us...> - 2006-09-19 07:02:40
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11123 Modified Files: Tag: BRANCH-1-3 product_role_ins.php product_role_new.php Log Message: fixes Index: product_role_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_role_ins.php,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -r1.3 -r1.3.2.1 --- product_role_ins.php 19 Jul 2004 19:08:44 -0000 1.3 +++ product_role_ins.php 19 Sep 2006 07:02:35 -0000 1.3.2.1 @@ -49,29 +49,33 @@ $nbadd = $_POST['nbadd']; -for($i=1; $i<=$nbadd; $i++) { - $rid = 'r'.$i.'id'; - $fn = 'r'.$i.'fn'; - $l = 'r'.$i.'l'; - $role = 'role'.$i; - $rdesc = 'r'.$i.'desc'; + for($i=1; $i<=$nbadd; $i++) { + $rid = 'r'.$i.'id'; + $fn = 'r'.$i.'fn'; + $l = 'r'.$i.'l'; + $role = 'role'.$i; + $rdesc = 'r'.$i.'desc'; - if ( isset($_POST[$fn]) ) { - $m = check_field(StripSlashes($_POST[$fn]), $fn, $l, + if ( isset($_POST[$fn]) ) { + $m = check_field(StripSlashes($_POST[$fn]), $fn, $l, $tutos[rolecheck][$_POST[$role]]); - if ( $m->id > 0 ) { - $p->setRole($m,$_POST[$role], StripSlashes($_POST[$rdesc])); + if ( $m->id > 0 ) { + $p->setRole($m,$_POST[$role], StripSlashes($_POST[$rdesc])); + } } + if ( isset($_POST[$rid]) ) { + $m = getObject($dbconn, $_POST[$rid]); + if (! $m->use_ok()) { + $msg .= sprintf($lang['Err0001'],$lang[$m->getType()],$m->getFullname()) ."<br />"; + } else { + $p->setRole($m, $_POST[$role], StripSlashes($_POST[$rdesc])); + } + } + $gotourl= addUrlParameter($gotourl, $role."=". $_POST[$role], true); + $gotourl= addUrlParameter($gotourl, $rdesc."=".UrlEncode($_POST[$rdesc]),true); + $gotourl= addUrlParameter($gotourl, "rid[]=".UrlEncode($_POST[$rid]),true); } - if ( isset($_POST[$rid]) ) { - $m = getObject($dbconn, $_POST[$rid]); - $p->setRole($m, $_POST[$role], StripSlashes($_POST[$rdesc])); - } - $gotourl= addUrlParameter($gotourl, $role."=". $_POST[$role], true); - $gotourl= addUrlParameter($gotourl, - $rdesc."=".UrlEncode($_POST[$rdesc]),true); -} if ( $msg == "" ) { $dbconn->Begin("WORK"); @@ -92,4 +96,4 @@ * CVS Info: $Id$ * $Author$ */ -?> \ No newline at end of file +?> Index: product_role_new.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_role_new.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -u -r1.7 -r1.7.2.1 --- product_role_new.php 27 Oct 2004 07:27:47 -0000 1.7 +++ product_role_new.php 19 Sep 2006 07:02:35 -0000 1.7.2.1 @@ -49,10 +49,10 @@ $worker = getObject($this->dbconn,$rid); echo " <td>". $worker->getLink() ."</td>\n"; - echo " <input type=\"hidden\" id=\"r".$count."\" ". - "name=\"r".$count."fn\" value=\"".$worker->getFullName()."\">\n"; +# echo " <input type=\"hidden\" id=\"r".$count."\" ". "name=\"r".$count."fn\" value=\"".$worker->getFullName()."\">\n"; + echo ' <input type="hidden" id="r'.$count.'" name="r'.$count.'id" value="'.$worker->id."\">\n"; - echo " <td><input id=\"r".$count."desc\" name=\"r".$count."desc\" value=\"". myentities($this->r1desc). "\" size=\"". min(30,$table['product2']['description'][size])."\" maxlength=\"". $table['product2']['description'][size] ."\"></td>\n"; + echo ' <td><input id="r'.$count.'desc" name="r'.$count.'desc" value="'. myentities($this->desc[$count]). '" size="'. min(30,$table['product2']['description'][size]).'" maxlength="'. $table['product2']['description'][size] ."\"></td>\n"; echo "</tr>\n"; } @@ -110,9 +110,13 @@ } # Add input boxes for new selected people - for($i=0; $i < count($this->rid); $i++) + for($i=0; $i < count($this->rid); $i++) { + $rdesc = 'r'.($i+1).'desc'; + if ( isset($_GET[$rdesc]) ) { + $this->desc[$i+1] = $_GET[$rdesc]; + } $this->addRoleInput($this->rid[$i], $i+1); - + } echo "<tr>\n"; if ( $this->obj->id != -1 ) { submit_reset(0,1,1,1,1,1); @@ -141,8 +145,7 @@ $this->name = $lang['Product']; $this->obj = new product($this->dbconn); - $this->r1desc = ""; - $this->r2desc = ""; + $this->desc = array(); $this->template = false; @@ -176,7 +179,7 @@ $rid = $_GET['rid']; if( is_array($rid) ) - $this->rid = $rid; + $this->rid = $rid; $this->obj->r1 = new tutos_user($this->dbconn); $this->obj->r1 = $this->obj->r1->read($this->rid[0],$this->obj->r1); |
From: Gero K. <gok...@us...> - 2006-09-14 18:10:00
|
Update of /cvsroot/tutos/tutos In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13947 Modified Files: Makefile Log Message: release Index: Makefile =================================================================== RCS file: /cvsroot/tutos/tutos/Makefile,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- Makefile 25 Jul 2006 07:15:32 -0000 1.81 +++ Makefile 14 Sep 2006 18:09:57 -0000 1.82 @@ -15,6 +15,9 @@ # # # $Log$ +# Revision 1.82 2006/09/14 18:09:57 gokohnert +# release +# # Revision 1.81 2006/07/25 07:15:32 gokohnert # fixes # @@ -291,7 +294,7 @@ # # Primary Version -VERSION = 1.3beta +VERSION = 1.3 # # The full Version is VERSION.DATE # |
From: Gero K. <gok...@us...> - 2006-09-14 18:10:00
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13947/php Modified Files: config_default.pinc Log Message: release Index: config_default.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/config_default.pinc,v retrieving revision 1.109 retrieving revision 1.110 diff -u -r1.109 -r1.110 --- config_default.pinc 16 Jul 2006 11:10:42 -0000 1.109 +++ config_default.pinc 14 Sep 2006 18:09:57 -0000 1.110 @@ -791,6 +791,6 @@ # # The TUTOS Version number # -$tutos[version] = '1.3beta.20060701'; +$tutos[version] = '1.3.20060914'; # ?> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2006-09-14 10:17:07
|
Update of /cvsroot/tutos/tutos/php/db In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8480/php/db Modified Files: db_pg.pinc table.pinc Log Message: fixes Index: db_pg.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/db/db_pg.pinc,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- db_pg.pinc 3 Apr 2005 18:32:13 -0000 1.31 +++ db_pg.pinc 14 Sep 2006 10:16:59 -0000 1.32 @@ -587,7 +587,10 @@ */ function createsequence(&$seq) { $q = "create sequence ". $this->prefix . $seq[name] ." start ". $seq['start']; - return $this->Exec($q,0); + $r = $this->Exec($q,0); + $q = "COMMENT ON SEQUENCE ". $this->prefix . $seq[name] ." is '". $seq[Desc]."'"; + $this->Exec($q,0); + return $r; } /** * get the phrase to limit a selection to a specific range @@ -686,4 +689,4 @@ } } -?> \ No newline at end of file +?> Index: table.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/db/table.pinc,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- table.pinc 16 Jul 2006 11:10:42 -0000 1.35 +++ table.pinc 14 Sep 2006 10:16:59 -0000 1.36 @@ -213,8 +213,8 @@ $tableidx['appointment11'] = array( name => "cal_rep_idx1", table => "calendar", - column => array("repeat"), - Desc => "ref cal - repeat", + column => array("repeat_type"), + Desc => "ref cal - repeat_type", ); $tableidx['appointment12'] = array( name => "cal_rep_idx2", |
From: Gero K. <gok...@us...> - 2006-09-14 10:17:07
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8480/php Modified Files: webelements.p3 Log Message: fixes Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.303 retrieving revision 1.304 diff -u -r1.303 -r1.304 --- webelements.p3 25 Jul 2006 11:19:56 -0000 1.303 +++ webelements.p3 14 Sep 2006 10:16:58 -0000 1.304 @@ -543,7 +543,7 @@ if (isset($_SERVER['REMOTE_ADDR'])) { echo "<b>Called by:</b> ". $_SERVER['REMOTE_ADDR'] ."<br />\n"; } - echo "<a href=\"phpinfo.php\">PHP Info Page</a><br />\n"; + echo "<a href=\"admin/phpinfo.php\">PHP Info Page</a><br />\n"; echo "<b>Included Files:<br />\n"; $included_files = get_included_files(); |
From: Gero K. <gok...@us...> - 2006-09-14 10:17:07
|
Update of /cvsroot/tutos/tutos/php/bugtracking In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8480/php/bugtracking Modified Files: bug_overview.php Log Message: fixes Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bugtracking/bug_overview.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- bug_overview.php 24 Jul 2006 15:34:07 -0000 1.24 +++ bug_overview.php 14 Sep 2006 10:16:59 -0000 1.25 @@ -103,6 +103,9 @@ $worksheet1->set_column($c,$c,20); # Solver $worksheet1->write_string($x,$c++, $lang['BugAssignedTo'],$format1); + $worksheet1->set_column($c,$c,20); # Creator + $worksheet1->write_string($x,$c++, $lang['BugCreator'],$format1); + $x = 2; foreach ($this->blist as $i => $z) { $b = &$this->blist[$i]; @@ -128,6 +131,11 @@ } else { $worksheet1->write_string($x,$c++,$lang['HistoryDeleted'],$format2); } + if ($b->creator->id > 0) { + $worksheet1->write_string($x,$c++, $b->creator->getShortname(),$format2); + } else { + $worksheet1->write_string($x,$c++,$lang['HistoryDeleted'],$format2); + } $x++; unset($b); } |
From: Emmanuel D. <ede...@us...> - 2006-09-11 12:35:38
|
Update of /cvsroot/tutos/tutos/templates/classic In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32253/templates/classic Modified Files: Tag: BRANCH-2-0 product_show.tpl Log Message: CHANG: dynamic view off child product in product_show Index: product_show.tpl =================================================================== RCS file: /cvsroot/tutos/tutos/templates/classic/Attic/product_show.tpl,v retrieving revision 1.1.2.19 retrieving revision 1.1.2.20 diff -u -r1.1.2.19 -r1.1.2.20 --- product_show.tpl 16 Aug 2006 14:17:03 -0000 1.1.2.19 +++ product_show.tpl 11 Sep 2006 12:35:31 -0000 1.1.2.20 @@ -6,6 +6,19 @@ We will display informations in little boxes, and as I don't know how to obtain the wanted layout with css positionning, I use a surrouding table. *} +{literal} +<script type="text/javascript" language="JavaScript"> +<!-- +function toggleDisplay(elt) { + if ( elt.style.display != 'block') { + elt.style.display = 'block'; + } else { + elt.style.display = 'none'; + } +} +//--> +</script> +{/literal} <table> <colgroup> <col width="30%"> @@ -51,15 +64,27 @@ {/if} <tr> -<td class="desc" valign="top">{$SubProjects.label}</td> -{if count($SubProjects.value) == 0} +<td class="desc" valign="top">{$SubProjects.label} +{if count($SubProjects.valueoff) > 0} + <span title="{$SubProjects.title}" style="cursor:pointer;" > + <img src="{$base}/html/classic/projects.png" alt="projectsclosed" /> + </span> +{/if} +</td> +{if $SubProjects.count == 0} <td colspan="3"> </td> {else} <td colspan="3" class="data"> -{foreach from=$SubProjects.value item=s name=sp} -<a href="{$base}/php/{$s.link}" title="{$s.title}">{$s.name}</a> -{if not $smarty.foreach.sp.last}<br>{/if} +{foreach from=$SubProjects.valueon item=s1 name=sp1} +<a href="{$base}/php/{$s1.link}" title="{$s1.title}">{$s1.name}</a> +{if not $smarty.foreach.sp1.last}<br>{/if} +{/foreach} +<p id="subpoff" style="margin:0; display:none;"> +{foreach from=$SubProjects.valueoff item=s0 name=sp0} +<a href="{$base}/php/{$s0.link}" title="{$s0.title}"><i>{$s0.name}</i></a> +{if not $smarty.foreach.sp0.last}<br>{/if} {/foreach} +</p> </td> {/if} </tr> |
From: Emmanuel D. <ede...@us...> - 2006-09-11 12:35:37
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32253/php Modified Files: Tag: BRANCH-2-0 product_show.php Log Message: CHANG: dynamic view off child product in product_show Index: product_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_show.php,v retrieving revision 1.90.2.28 retrieving revision 1.90.2.29 diff -u -r1.90.2.28 -r1.90.2.29 --- product_show.php 16 Aug 2006 14:17:02 -0000 1.90.2.28 +++ product_show.php 11 Sep 2006 12:35:31 -0000 1.90.2.29 @@ -114,16 +114,29 @@ /** * Sub Projects */ - $sps = array(); + $spson = array(); + $spsoff = array(); foreach( $this->obj->getSubProjects() as $sp ) { - $sps[] = array('name' => $sp->getFullName(), + $sptmp = array('name' => $sp->getFullName(), 'title' => $sp->getFullName(), - 'link' => $sp->getUrl()); + 'link' => $sp->getUrl(), + 'state' => $sp->state + ); + if ($sp->state == PROD_STATE_AQ || $sp->state == PROD_STATE_RUN || $sp->state == PROD_STATE_QRUN) { + $spson[] = $sptmp; + } else { + $spsoff[] = $sptmp; + } } $this->assign("SubProjects", array('label' => $lang['SubProjects'], - 'value' => $sps)); + 'title' => $lang['SubProjectsClosed'], + 'count' => count($spson) + count($spsoff), + 'valueon' => $spson, + 'valueoff' => $spsoff + ) + ); if( in_array($this->obj->state, array(0, 4, 5)) && ( $this->obj->probability != "" ) ) |
From: Emmanuel D. <ede...@us...> - 2006-09-11 12:35:37
|
Update of /cvsroot/tutos/tutos/php/localization In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32253/php/localization Modified Files: Tag: BRANCH-2-0 fr.p3 Log Message: CHANG: dynamic view off child product in product_show Index: fr.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/localization/fr.p3,v retrieving revision 1.40.2.36 retrieving revision 1.40.2.37 diff -u -r1.40.2.36 -r1.40.2.37 --- fr.p3 16 Aug 2006 14:17:03 -0000 1.40.2.36 +++ fr.p3 11 Sep 2006 12:35:31 -0000 1.40.2.37 @@ -346,6 +346,7 @@ $lang['ProdRoleAddT'] = "Add a role in %s"; $lang['SubProject'] = "Sous-projet"; $lang['SubProjects'] = "Sous-projets"; +$lang['SubProjectsClosed'] = "Voir les sous-projets terminés"; $lang['ProdSubNew'] = "Nouveau sous-projet"; $lang['ProdVolEstimate'] = "Estimation de charge"; |