7 Apr 21:12
legalcase/inc inc_obj_case.php,1.31,1.32
From: Mathieu Lutfy <mlutfy <at> users.sourceforge.net>
Subject: legalcase/inc inc_obj_case.php,1.31,1.32
Newsgroups: gmane.comp.crm.lcm.cvs
Date: 2008-04-07 19:14:20 GMT
Subject: legalcase/inc inc_obj_case.php,1.31,1.32
Newsgroups: gmane.comp.crm.lcm.cvs
Date: 2008-04-07 19:14:20 GMT
Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv982
Modified Files:
inc_obj_case.php
Log Message:
added a bit of info for the history of stage changes
Index: inc_obj_case.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_case.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** inc_obj_case.php 1 Feb 2008 21:07:30 -0000 1.31
--- inc_obj_case.php 7 Apr 2008 19:14:08 -0000 1.32
***************
*** 3,7 ****
/*
This file is part of the Legal Case Management System (LCM).
! (C) 2004-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
--- 3,7 ----
/*
This file is part of the Legal Case Management System (LCM).
! (C) 2004-2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
***************
*** 411,414 ****
--- 411,437 ----
$admin = allowed($this->data['case'], 'a');
+ //
+ // Show various stages info
+ //
+ $q = "SELECT * FROM lcm_stage WHERE id_case = " . $this->data['case'] . " ORDER BY date_creation DESC";
+ $result = lcm_query($q);
+
+ echo '<div style="float: right; width: 180px;">';
+ show_page_subtitle(_T('case_subtitle_stage'), 'cases_intro');
+ echo '<ul>';
+
+ while (($row = lcm_fetch_array($result))) {
+ echo '<li>'
+ . format_date($row['date_creation'], 'date_short') . ': <br/>'
+ . _Tkw('stage', $row['kw_case_stage'])
+ . '</li>';
+ }
+
+ echo "</ul>\n";
+ echo "</div>\n";
+
+ //
+ // Show case info
+ //
echo '<ul class="info">';
***************
*** 645,648 ****
--- 668,674 ----
echo "</li>\n";
echo "</ul>\n";
+
+ // clear the right column with stage info
+ echo "<div style='clear: right;'></div>\n";
}
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed