<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.crm.lcm.cvs">
    <title>gmane.comp.crm.lcm.cvs</title>
    <link>http://blog.gmane.org/gmane.comp.crm.lcm.cvs</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/524"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/523"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/522"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/521"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/520"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/519"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/518"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/517"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/516"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/515"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/514"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/513"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/512"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/511"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/510"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/509"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/508"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/507"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/506"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/505"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/524">
    <title>[SPAM] Marketing for your business - 281072</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/524</link>
    <description></description>
    <dc:creator>Ryan</dc:creator>
    <dc:date>2008-09-26T07:52:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/523">
    <title>legalcase/inc inc_obj_client.php,1.18,1.19</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/523</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5481

Modified Files:
inc_obj_client.php 
Log Message:
fix for list of cases

Index: inc_obj_client.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_client.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** inc_obj_client.php1 Feb 2008 20:40:58 -00001.18
--- inc_obj_client.php7 Apr 2008 19:25:31 -00001.19
***************
*** 136,142 ****
  
  $ret = array_shift($this-&gt;cases);
  
! if ($this-&gt;getCaseDone())
  $this-&gt;loadCases($this-&gt;case_start_from + $prefs['page_rows']);
  
  return $ret;
--- 136,147 ----
  
  $ret = array_shift($this-&gt;cases);
+ $this-&gt;case_start_from++;
  
! if ($this-&gt;getCaseDone()) {
! lcm_debug('not done, reloading: ' . count($this-&gt;cases));
  $this-&gt;loadCases($this-&gt;case_start_from + $prefs['page_rows']);
+ }
+ 
+ lcm_debug("getCaseIterator " . count($this-&gt;cases));
  
  return $ret;
***************
*** 412,415 ****
--- 417,422 ----
  
  function printCases($find_case_string = '') {
+ global $prefs;
+ 
  $cpt = 0;
  $my_list_pos = intval(_request('list_pos', 0));
***************
*** 420,424 ****
  show_listcase_start();
  
! for ($cpt = 0, $this-&gt;getCaseStart(); (! $this-&gt;getCaseDone()); $cpt++) {
  $item = $this-&gt;getCaseIterator();
  show_listcase_item($item, $cpt, $find_case_string, 'javascript:;', 'onclick="getCaseInfo(' . $item['id_case'] . ')"');
--- 427,431 ----
  show_listcase_start();
  
! for ($cpt = 0, $this-&gt;getCaseStart(); (! $this-&gt;getCaseDone()) &amp;&amp; ($cpt &lt; $prefs['page_rows']); $cpt++) {
  $item = $this-&gt;getCaseIterator();
  show_listcase_item($item, $cpt, $find_case_string, 'javascript:;', 'onclick="getCaseInfo(' . $item['id_case'] . ')"');


-------------------------------------------------------------------------
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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:25:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/522">
    <title>legalcase/inc inc_db_upgrade.php, 1.77,1.78 inc_db_create.php, 1.64, 1.65</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/522</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4718

Modified Files:
inc_db_upgrade.php inc_db_create.php 
Log Message:
drop the idx_case_stage key

Index: inc_db_upgrade.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_db_upgrade.php,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** inc_db_upgrade.php1 Feb 2008 20:23:54 -00001.77
--- inc_db_upgrade.php7 Apr 2008 19:24:03 -00001.78
***************
*** 1285,1288 ****
--- 1285,1304 ----
  }
  
+ if ($lcm_db_version_current &lt; 56) {
+ // should have been done a long time ago
+ lcm_query("ALTER TABLE lcm_case
+ DROP id_court_archive", true);
+ 
+ upgrade_db_version(56);
+ }
+ 
+ if ($lcm_db_version_current &lt; 57) {
+ // should have been done a long time ago
+ lcm_query("ALTER TABLE lcm_stage
+ DROP key idx_case_stage");
+ 
+ upgrade_db_version(57);
+ }
+ 
  // Update the meta, lcm_fields, keywords, etc.
  lcm_log("Updating LCM default configuration (meta/keywords/repfields/..)", 'upgrade');

Index: inc_db_create.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_db_create.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** inc_db_create.php1 Feb 2008 20:24:46 -00001.64
--- inc_db_create.php7 Apr 2008 19:24:03 -00001.65
***************
*** 108,113 ****
  
  lcm_query_create_table('lcm_stage', $fields, $keys);
! lcm_query_create_unique_index('lcm_stage', 'idx_case_stage', 'id_case, kw_case_stage');
! 
  
  $fields = array (
--- 108,112 ----
  
  lcm_query_create_table('lcm_stage', $fields, $keys);
! // [ML] 0.7.3 lcm_query_create_unique_index('lcm_stage', 'idx_case_stage', 'id_case, kw_case_stage');
  
  $fields = array (


-------------------------------------------------------------------------
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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:24:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/521">
    <title>legalcase/inc inc_obj_case.php,1.31,1.32</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/521</link>
    <description>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.php1 Feb 2008 21:07:30 -00001.31
--- inc_obj_case.php7 Apr 2008 19:14:08 -00001.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-&gt;data['case'], 'a');
  
+ //
+ // Show various stages info
+ //
+ $q = "SELECT * FROM lcm_stage WHERE id_case = " . $this-&gt;data['case'] . " ORDER BY date_creation DESC";
+ $result = lcm_query($q);
+ 
+ echo '&lt;div style="float: right; width: 180px;"&gt;';
+ show_page_subtitle(_T('case_subtitle_stage'), 'cases_intro');
+ echo '&lt;ul&gt;';
+ 
+ while (($row = lcm_fetch_array($result))) {
+ echo '&lt;li&gt;'
+ . format_date($row['date_creation'], 'date_short') .  ': &lt;br/&gt;'
+ . _Tkw('stage', $row['kw_case_stage'])
+ . '&lt;/li&gt;';
+ }
+ 
+ echo "&lt;/ul&gt;\n";
+ echo "&lt;/div&gt;\n";
+ 
+ //
+ // Show case info
+ //
  echo '&lt;ul class="info"&gt;';
  
***************
*** 645,648 ****
--- 668,674 ----
  echo "&lt;/li&gt;\n";
  echo "&lt;/ul&gt;\n";
+ 
+ // clear the right column with stage info
+ echo "&lt;div style='clear: right;'&gt;&lt;/div&gt;\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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:14:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/520">
    <title>legalcase/inc inc_obj_fu.php,1.26,1.27</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/520</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv464

Modified Files:
inc_obj_fu.php 
Log Message:
add use of id_stage in stage changes

Index: inc_obj_fu.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_fu.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** inc_obj_fu.php1 Feb 2008 21:48:35 -00001.26
--- inc_obj_fu.php7 Apr 2008 19:13:03 -00001.27
***************
*** 274,278 ****
  
  // Get stage of the follow-up entry
! $q = "SELECT case_stage FROM lcm_followup WHERE id_followup = $id_followup";
  $result = lcm_query($q);
  
--- 274,278 ----
  
  // Get stage of the follow-up entry
! $q = "SELECT id_stage, case_stage FROM lcm_followup WHERE id_followup = $id_followup";
  $result = lcm_query($q);
  
***************
*** 301,309 ****
  
  // Get the current case stage
! $q = "SELECT stage FROM lcm_case WHERE id_case=" . $this-&gt;getDataInt('id_case', '__ASSERT__');
  $result = lcm_query($q);
  
  if ($row = lcm_fetch_array($result)) {
  $case_stage = lcm_assert_value($row['stage']);
  } else {
  lcm_panic("There is no such case (" . $this-&gt;getDataInt('id_case') . ")");
--- 301,310 ----
  
  // Get the current case stage
! $q = "SELECT id_stage, stage FROM lcm_case WHERE id_case=" . $this-&gt;getDataInt('id_case', '__ASSERT__');
  $result = lcm_query($q);
  
  if ($row = lcm_fetch_array($result)) {
  $case_stage = lcm_assert_value($row['stage']);
+ $case_stage_id = lcm_assert_value($row['id_stage']);
  } else {
  lcm_panic("There is no such case (" . $this-&gt;getDataInt('id_case') . ")");
***************
*** 313,319 ****
  $q = "INSERT INTO lcm_followup
  SET id_case=" . $this-&gt;getDataInt('id_case') . ",
! id_author=" . $GLOBALS['author_session']['id_author'] . ",
! $fl,
! case_stage='$case_stage'";
  
  lcm_query($q);
--- 314,321 ----
  $q = "INSERT INTO lcm_followup
  SET id_case=" . $this-&gt;getDataInt('id_case') . ",
! id_author=" . $GLOBALS['author_session']['id_author'] . ",
! $fl,
! id_stage = $case_stage_id,
! case_stage='$case_stage'";
  
  lcm_query($q);


-------------------------------------------------------------------------
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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:13:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/519">
    <title>legalcase/inc inc_version.php,1.113,1.114</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/519</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32552

Modified Files:
inc_version.php 
Log Message:
lcm_db_version to 57

Index: inc_version.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_version.php,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -d -r1.113 -r1.114
*** inc_version.php1 Feb 2008 20:23:17 -00001.113
--- inc_version.php7 Apr 2008 19:12:02 -00001.114
***************
*** 253,257 ****
  
  // Current version of LCM database
! $lcm_db_version = 55;
  
  // Error reporting
--- 253,257 ----
  
  // Current version of LCM database
! $lcm_db_version = 57;
  
  // Error reporting


-------------------------------------------------------------------------
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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:12:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/518">
    <title>legalcase/inc/lang lcm_en.php,1.130,1.131</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/518</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31730

Modified Files:
lcm_en.php 
Log Message:
added case_subtitle_stage

Index: lcm_en.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/lang/lcm_en.php,v
retrieving revision 1.130
retrieving revision 1.131
diff -C2 -d -r1.130 -r1.131
*** lcm_en.php16 Nov 2007 16:24:15 -00001.130
--- lcm_en.php7 Apr 2008 19:09:32 -00001.131
***************
*** 215,218 ****
--- 215,219 ----
  'case_subtitle_general' =&gt; 'General case information',
  'case_subtitle_recent_followups' =&gt; 'Recent follow-ups',
+ 'case_subtitle_stage' =&gt; 'Stage history',
  'case_subtitle_times' =&gt; 'Total time spent on the case',
  'case_subtitle_times_by_agenda' =&gt; 'Time spent on other administrative tasks',


-------------------------------------------------------------------------
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
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-04-07T19:09:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/517">
    <title>legalcase/inc/lang lcm_pl.php,1.9,1.10</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/517</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc/lang
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18234

Modified Files:
lcm_pl.php 
Log Message:
updates from Mateusz HoÅysz

Index: lcm_pl.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/lang/lcm_pl.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** lcm_pl.php16 Feb 2007 22:24:03 -00001.9
--- lcm_pl.php12 Feb 2008 03:43:27 -00001.10
***************
*** 56,61 ****
  // A
  'add_user_case' =&gt; 'Dodaj prawnika do sprawy',
! 'app_button_edit' =&gt; 'ZmieÅ treÅÄ zadania',
  'app_button_new' =&gt; 'Nowe zadanie',
  'app_info_see_cal_for_day_tooltip' =&gt; 'Zobacz zadanie w kalendarzu',
  'app_input_authors' =&gt; 'ZaangaÅ¼owani prawnicy:',
--- 56,64 ----
  // A
  'add_user_case' =&gt; 'Dodaj prawnika do sprawy',
! 'app_button_edit' =&gt; '&lt;MODIF&gt;ZmieÅ treÅÄ zadania',
  'app_button_new' =&gt; 'Nowe zadanie',
+ 'app_info_delete' =&gt; 'UsuÅ to zadanie.',
+ 'app_info_is_deleted' =&gt; 'To zadanie zostaÅo usuniÄte.',
+ 'app_info_is_deleted2' =&gt; 'Aby przywrÃ³ciÄ zadanie, zmieÅ jego treÅÄ i odznacz kratkÄ',
  'app_info_see_cal_for_day_tooltip' =&gt; 'Zobacz zadanie w kalendarzu',
  'app_input_authors' =&gt; 'ZaangaÅ¼owani prawnicy:',
***************
*** 65,69 ****
  'app_input_date_start' =&gt; 'Data rozpoczÄcia:',
  'app_input_description' =&gt; 'Opis zadania:',
! 'app_input_for_case' =&gt; 'Zadanie w sprawie:',
  'app_input_involving_clients' =&gt; 'ZwiÄzani:',
  'app_input_related_to_case' =&gt; 'W powiÄzaniu ze sprawÄ:',
--- 68,72 ----
  'app_input_date_start' =&gt; 'Data rozpoczÄcia:',
  'app_input_description' =&gt; 'Opis zadania:',
! 'app_input_for_case' =&gt; '&lt;MODIF&gt;Zadanie w sprawie:',
  'app_input_involving_clients' =&gt; 'ZwiÄzani:',
  'app_input_related_to_case' =&gt; 'W powiÄzaniu ze sprawÄ:',
***************
*** 330,351 ****
  'error_no_edit_permission' =&gt; 'Nie masz uprawnieÅ do dokonywania zmian w tej sprawie!',
  'error_no_read_permission' =&gt; 'Nie masz uprawnieÅ do wglÄdu w sprawÄ!',
! 'expense_button_comment' =&gt; '&lt;NEW&gt;Add a comment',
! 'expense_button_edit' =&gt; '&lt;NEW&gt;Edit request',
! 'expense_button_new' =&gt; '&lt;NEW&gt;New request',
! 'expense_filter_owner_option_all' =&gt; '&lt;NEW&gt;All requests',
! 'expense_filter_owner_option_my' =&gt; '&lt;NEW&gt;My requests',
! 'expense_filter_owner_option_public' =&gt; '&lt;NEW&gt;Public requests',
! 'expense_input_comment' =&gt; '&lt;NEW&gt;Comment:',
! 'expense_input_cost' =&gt; '&lt;NEW&gt;Cost:',
! 'expense_input_description' =&gt; '&lt;NEW&gt;Description:',
! 'expense_input_id' =&gt; '&lt;NEW&gt;Request ID:',
! 'expense_input_status' =&gt; '&lt;NEW&gt;Status:',
! 'expense_input_type' =&gt; '&lt;NEW&gt;Type:',
! 'expense_status_option_deleted' =&gt; '&lt;NEW&gt;deleted',
! 'expense_status_option_granted' =&gt; '&lt;NEW&gt;granted',
! 'expense_status_option_pending' =&gt; '&lt;NEW&gt;pending',
! 'expense_status_option_refused' =&gt; '&lt;NEW&gt;refused',
! 'expenses_subtitle_comment' =&gt; '&lt;NEW&gt;Comment',
! 'expenses_subtitle_comments' =&gt; '&lt;NEW&gt;Comments',
  'export_button_case' =&gt; 'Wyeksportuj informacjÄ o sprawie',
  'export_button_client' =&gt; 'Wyeksportuj informacjÄ o kliencie',
--- 333,354 ----
  'error_no_edit_permission' =&gt; 'Nie masz uprawnieÅ do dokonywania zmian w tej sprawie!',
  'error_no_read_permission' =&gt; 'Nie masz uprawnieÅ do wglÄdu w sprawÄ!',
! 'expense_button_comment' =&gt; 'Dodaj komentarz',
! 'expense_button_edit' =&gt; 'ZmieÅ zapotrzebowanie',
! 'expense_button_new' =&gt; 'Nowe zapotrzebowanie',
! 'expense_filter_owner_option_all' =&gt; 'Zapotrzebowania',
! 'expense_filter_owner_option_my' =&gt; 'Moje zapotrzebowania',
! 'expense_filter_owner_option_public' =&gt; 'Moje zapotrzebowania publiczne',
! 'expense_input_comment' =&gt; 'Komentarz:',
! 'expense_input_cost' =&gt; 'Koszt:',
! 'expense_input_description' =&gt; 'Opis:',
! 'expense_input_id' =&gt; 'ID zapotrzebowania:',
! 'expense_input_status' =&gt; 'Status:',
! 'expense_input_type' =&gt; 'Typ:',
! 'expense_status_option_deleted' =&gt; 'usuniÄte',
! 'expense_status_option_granted' =&gt; 'przyznane',
! 'expense_status_option_pending' =&gt; 'rozpatrywane',
! 'expense_status_option_refused' =&gt; 'odrzucone',
! 'expenses_subtitle_comment' =&gt; 'Komentarz',
! 'expenses_subtitle_comments' =&gt; 'Komentarze',
  'export_button_case' =&gt; 'Wyeksportuj informacjÄ o sprawie',
  'export_button_client' =&gt; 'Wyeksportuj informacjÄ o kliencie',
***************
*** 373,378 ****
  'fu_button_desc_more' =&gt; 'PokaÅ¼ peÅny tekst opisÃ³w.',
  'fu_button_edit' =&gt; 'ZmieÅ zdarzenie w sprawie',
! 'fu_button_stats_less' =&gt; '&lt;NEW&gt;Hide the detailed statistics.',
! 'fu_button_stats_more' =&gt; '&lt;NEW&gt;Show more detailed statistics.',
  'fu_info_add_future_activity' =&gt; 'Dodaj zadanie w zwiazku z tym zdarzeniem.',
  'fu_info_after_event' =&gt; 'W zwiÄzku ze zdarzeniem &lt; at &gt;title&lt; at &gt; w &lt; at &gt;date&lt; at &gt;, dotyczÄcym &lt; at &gt;participants&lt; at &gt; ...',
--- 376,381 ----
  'fu_button_desc_more' =&gt; 'PokaÅ¼ peÅny tekst opisÃ³w.',
  'fu_button_edit' =&gt; 'ZmieÅ zdarzenie w sprawie',
! 'fu_button_stats_less' =&gt; 'Ukryj szczegÃ³Åowe dane sttystyczne.',
! 'fu_button_stats_more' =&gt; 'PokaÅ¼ szczegÃ³Åowe dane statystyczne.',
  'fu_info_add_future_activity' =&gt; 'Dodaj zadanie w zwiazku z tym zdarzeniem.',
  'fu_info_after_event' =&gt; 'W zwiÄzku ze zdarzeniem &lt; at &gt;title&lt; at &gt; w &lt; at &gt;date&lt; at &gt;, dotyczÄcym &lt; at &gt;participants&lt; at &gt; ...',
***************
*** 425,429 ****
  'help_intro_case_list' =&gt; 'Lista spraw, nad ktÃ³rymi pracujesz. Kliknij na tytuÅ sprawy poniÅ¼ej aby zobaczyÄ szczegÃ³Åy sprawy. MoÅ¼esz dostosowaÄ listÄ wyÅwietlanych spraw uÅ¼ywajÄc filtra.',
  'help_intro_client_list' =&gt; 'Lista zarejstrowanych klientÃ³w. kliknij na nazwisko klienta aby zobaczyÄ szczegÃ³Åowe informacje. MoÅ¼esz takÅ¼e zarejstrowaÄ nowego klienta.',
! 'help_intro_expenses_list' =&gt; '&lt;NEW&gt;List of internal requests, such as requests to cover expenses related to a case, which are waiting for approval from office administrators or have recently been approved. You can click on the expense description in the list below to view more information about it.',
  'help_intro_keyword_list' =&gt; '&lt;MODIF&gt;SÅowa kluczowe sÅuÅ¼Ä do dostosowania sytemu do twojego Årodowiska pracy. SÅowa kluczowe sÄ zazwyczaj z gromadzeniem danych statystycznych i dlatego przewidziano ograniczony zasÃ³b opcji. Systemowe sÅowa kluczowe sluÅ¼Ä do opisu takich elementÃ³w jak zdarzenia, szczegÃ³Åy kontaktÃ³w, wzglÄdnie spotkaÅ itp.SÅowa kluczowe prawnika sÅuÅ¼Ä do dodowania nowych pÃ³Å o znaczeniu statystycznym. ',
  'help_intro_org_list' =&gt; 'Lista zarejstrowanych organizacji. kliknij na nazwÄ organizacji aby zobaczyÄ szczegÃ³Åowe informacje. MoÅ¼esz takÅ¼e zarejstrowaÄ nowÄ organizacjÄ.',
--- 428,432 ----
  'help_intro_case_list' =&gt; 'Lista spraw, nad ktÃ³rymi pracujesz. Kliknij na tytuÅ sprawy poniÅ¼ej aby zobaczyÄ szczegÃ³Åy sprawy. MoÅ¼esz dostosowaÄ listÄ wyÅwietlanych spraw uÅ¼ywajÄc filtra.',
  'help_intro_client_list' =&gt; 'Lista zarejstrowanych klientÃ³w. kliknij na nazwisko klienta aby zobaczyÄ szczegÃ³Åowe informacje. MoÅ¼esz takÅ¼e zarejstrowaÄ nowego klienta.',
! 'help_intro_expenses_list' =&gt; 'Lista wewnÄtrznych zapotrzebowaÅ takich jak proÅby o pokrycie kosztÃ³w, ktÃ³re oczekujÄ na zatwierdzenie oraz prÃ³Åb juÅ¼ zatwierdzonych. Kliknij na opis zapotrzebowania na liÅcie poniÅ¼ej aby zobaczyÄ wiÄcej szczegÃ³ÅÃ³w.',
  'help_intro_keyword_list' =&gt; '&lt;MODIF&gt;SÅowa kluczowe sÅuÅ¼Ä do dostosowania sytemu do twojego Årodowiska pracy. SÅowa kluczowe sÄ zazwyczaj z gromadzeniem danych statystycznych i dlatego przewidziano ograniczony zasÃ³b opcji. Systemowe sÅowa kluczowe sluÅ¼Ä do opisu takich elementÃ³w jak zdarzenia, szczegÃ³Åy kontaktÃ³w, wzglÄdnie spotkaÅ itp.SÅowa kluczowe prawnika sÅuÅ¼Ä do dodowania nowych pÃ³Å o znaczeniu statystycznym. ',
  'help_intro_org_list' =&gt; 'Lista zarejstrowanych organizacji. kliknij na nazwÄ organizacji aby zobaczyÄ szczegÃ³Åowe informacje. MoÅ¼esz takÅ¼e zarejstrowaÄ nowÄ organizacjÄ.',
***************
*** 491,496 ****
  'info_upgrade_database5' =&gt; 'Kliknij tutaj aby powrÃ³ciÄ do strony gÅÃ³wnej.',
  'info_yes' =&gt; 'tak',
! 'info_yes_mandatory' =&gt; '&lt;NEW&gt;yes (mandatory)',
! 'info_yes_optional' =&gt; '&lt;NEW&gt;yes (optional)',
  'info_your_contact_information' =&gt; 'Informacja o twoim kontakcie ...',
  'input_connection_identifiers' =&gt; 'TwÃ³j login ...',
--- 494,499 ----
  'info_upgrade_database5' =&gt; 'Kliknij tutaj aby powrÃ³ciÄ do strony gÅÃ³wnej.',
  'info_yes' =&gt; 'tak',
! 'info_yes_mandatory' =&gt; 'tak (wymagane)',
! 'info_yes_optional' =&gt; 'tak (opcja)',
  'info_your_contact_information' =&gt; 'Informacja o twoim kontakcie ...',
  'input_connection_identifiers' =&gt; 'TwÃ³j login ...',
***************
*** 500,504 ****
  'input_search_case' =&gt; 'Szukaj sprawy:',
  'input_search_client' =&gt; 'Szukaj klienta:',
! 'input_search_exp' =&gt; '&lt;NEW&gt;Find a request:',
  'input_search_org' =&gt; 'Szukaj organizacji:',
  'input_search_organisation' =&gt; 'Szukaj organizacji:',
--- 503,507 ----
  'input_search_case' =&gt; 'Szukaj sprawy:',
  'input_search_client' =&gt; 'Szukaj klienta:',
! 'input_search_exp' =&gt; 'ZnajdÅº zapotrzebowanie:',
  'input_search_org' =&gt; 'Szukaj organizacji:',
  'input_search_organisation' =&gt; 'Szukaj organizacji:',
***************
*** 515,526 ****
  'install_info_do_not_forget' =&gt; 'Nie zapomnij swojego loginu oraz hasÅa!',
  'install_info_go_back_verify_data' =&gt; 'WrÃ³Ä do poprzedniej strony i sprawdÅ¼ informacje, ktÃ³re wprowadziÅeÅ.',
! 'install_info_more_about_software' =&gt; '&lt;NEW&gt;For more information about the software, such as recent announcements, documentation on how to extend the software, etc., please visit &lt; at &gt;url&lt; at &gt;. To request features, report bugs or any other feedback, write to legalcase-devel&lt; at &gt;lists.sf.net. Your feedback is very important to help us improve the quality of the software.',
  'install_info_new_account_1' =&gt; 'The system will now provide you with a custom access to the site. ',
  'install_info_sql_connection' =&gt; 'Refer to the information provided to you by your system administrator: if your host supports SQL, it should give you the connection codes to the SQL server.',
  'install_info_sql_connection_failed' =&gt; '&lt;b&gt;N.B.&lt;/b&gt; On a number of servers, you must request the activation of your access to the SQL database before you can use it. If you are unable to connect, make sure that you actually made this request.',
! 'install_info_subscribe_may_fail' =&gt; '&lt;NEW&gt;A request to subscribe your e-mail to the LCM announcements has been sent. Sometimes, the automated requests may not work. If you do not receive a confirmation by e-mail within the next 24h, please subscribe from our website.',
! 'install_info_subscribe_to_news_list' =&gt; '&lt;NEW&gt;Subscribe the above e-mail to the receive LCM annoucements? If yes, you will receive by e-mail information about of new stable software releases and important security notifications. Such e-mails are sent very rarely (once every 1-2 months) and will never be used for other purposes, such as advertising.',
  'install_input_database_name' =&gt; 'Name:',
! 'install_input_getnews' =&gt; '&lt;NEW&gt;Subscription to the announcements newsletter:',
  'install_select_database' =&gt; 'Select the database that your host has attributed to you',
  'install_select_language' =&gt; 'Select a language then click on the button "next" to start the installation procedure.',
--- 518,529 ----
  'install_info_do_not_forget' =&gt; 'Nie zapomnij swojego loginu oraz hasÅa!',
  'install_info_go_back_verify_data' =&gt; 'WrÃ³Ä do poprzedniej strony i sprawdÅ¼ informacje, ktÃ³re wprowadziÅeÅ.',
! 'install_info_more_about_software' =&gt; 'Aby uzyskaÄ wiÄcej informacji o systemie, w szczegÃ³lnoÅci o najnowszych zmianach, dokumentacji oraz o moÅ¼liwoÅciach rozwoju itp. proszÄ odwiedÅº &lt; at &gt;url&lt; at &gt;. Aby zgÅosiÄ bÅÄd, lub zasugerowaÄ zmiany napisz do legalcase-devel&lt; at &gt;lists.sf.net. Twoje wsparcie jest niezbÄdne do rozwoju niniejszego systemu oraz do polepszania jego jakoÅci.',
  'install_info_new_account_1' =&gt; 'The system will now provide you with a custom access to the site. ',
  'install_info_sql_connection' =&gt; 'Refer to the information provided to you by your system administrator: if your host supports SQL, it should give you the connection codes to the SQL server.',
  'install_info_sql_connection_failed' =&gt; '&lt;b&gt;N.B.&lt;/b&gt; On a number of servers, you must request the activation of your access to the SQL database before you can use it. If you are unable to connect, make sure that you actually made this request.',
! 'install_info_subscribe_may_fail' =&gt; 'ProÅba o doÅÄczenie twojego maila do nowoÅci LCM zostaÅa wysÅana. Zdarza siÄ, ze automatycznie zgÅoszona proÅba moÅ¼e nie zadziaÅaÄ. JeÅli nie otrzymasz potwierdzenia rejestracji na listÄ w ciÄgu nastÄpnych 24 godzin proszÄ zapisz siÄ do listy za poÅrednictwem naszej strony.',
! 'install_info_subscribe_to_news_list' =&gt; 'DopisaÄ twÃ³j adres e-mail do listy nowoÅci LCM. JeÅli tak, bÄdziesz otrzymywaÄ za poÅrednictwem poczty e-mail informacje o kolejnych wydaniach systemu LCM a takÅ¼e otrzymasz waÅ¼ne informacje w zakresie bezpieczeÅstwa, WiadomoÅci sÄ rozsyÅane zazwyczaj raz na 1-2 mc i twÃ³j adres nigdy nie zostanie wykorzystany do innego celu. ',
  'install_input_database_name' =&gt; 'Name:',
! 'install_input_getnews' =&gt; 'Subskrypcja newslettera:',
  'install_select_database' =&gt; 'Select the database that your host has attributed to you',
  'install_select_language' =&gt; 'Select a language then click on the button "next" to start the installation procedure.',
***************
*** 545,551 ****
  // K
  'keywords_button_kw_new' =&gt; '&lt;MODIF&gt;Dodaj sÅowo kluczowe do grupy',
! 'keywords_button_kwg_edit' =&gt; '&lt;NEW&gt;Modify field group',
  'keywords_button_kwg_new' =&gt; '&lt;MODIF&gt;UtwÃ³rz nowÄ grupÄ sÅÃ³w kluczowych',
! 'keywords_button_subkwg_new' =&gt; '&lt;NEW&gt;Create a new sub-group',
  'keywords_info_kw_ac_author' =&gt; '&lt;MODIF&gt;Czy prawnicy mogÄ uzywaÄ tego sÅowa kluczowego? (w przeciwnym razie sÅowo kluczowe pozostanie ukryte)',
  'keywords_info_kw_hidden' =&gt; 'ukryte',
--- 548,554 ----
  // K
  'keywords_button_kw_new' =&gt; '&lt;MODIF&gt;Dodaj sÅowo kluczowe do grupy',
! 'keywords_button_kwg_edit' =&gt; 'Dodaj sÅowo kluczowe do grupy',
  'keywords_button_kwg_new' =&gt; '&lt;MODIF&gt;UtwÃ³rz nowÄ grupÄ sÅÃ³w kluczowych',
! 'keywords_button_subkwg_new' =&gt; 'Dodaj sÅowo kluczowe do podgrupy',
  'keywords_info_kw_ac_author' =&gt; '&lt;MODIF&gt;Czy prawnicy mogÄ uzywaÄ tego sÅowa kluczowego? (w przeciwnym razie sÅowo kluczowe pozostanie ukryte)',
  'keywords_info_kw_hidden' =&gt; 'ukryte',
***************
*** 567,571 ****
  'keywords_input_type_client' =&gt; 'Klienci',
  'keywords_input_type_client_org' =&gt; 'Klienci i organizacje',
! 'keywords_input_type_contact' =&gt; '&lt;NEW&gt;Contacts',
  'keywords_input_type_followup' =&gt; 'Zdarzenia',
  'keywords_input_type_org' =&gt; 'Organizacje',
--- 570,574 ----
  'keywords_input_type_client' =&gt; 'Klienci',
  'keywords_input_type_client_org' =&gt; 'Klienci i organizacje',
! 'keywords_input_type_contact' =&gt; 'Kontakty',
  'keywords_input_type_followup' =&gt; 'Zdarzenia',
  'keywords_input_type_org' =&gt; 'Organizacje',
***************
*** 574,578 ****
  'keywords_option_quantity_many' =&gt; '&lt;MODIF&gt;wiele sÅÃ³w kluczowych',
  'keywords_option_quantity_one' =&gt; '&lt;MODIF&gt;jedno sÅowo kluczowe',
! 'keywords_tab_contact' =&gt; '&lt;NEW&gt;Contact types',
  'keywords_tab_maintenance' =&gt; 'Utrzymanie',
  'keywords_tab_system' =&gt; '&lt;MODIF&gt;Systemowe sÅowa kluczowe',
--- 577,581 ----
  'keywords_option_quantity_many' =&gt; '&lt;MODIF&gt;wiele sÅÃ³w kluczowych',
  'keywords_option_quantity_one' =&gt; '&lt;MODIF&gt;jedno sÅowo kluczowe',
! 'keywords_tab_contact' =&gt; 'Typy kontaktÃ³w',
  'keywords_tab_maintenance' =&gt; 'Utrzymanie',
  'keywords_tab_system' =&gt; '&lt;MODIF&gt;Systemowe sÅowa kluczowe',
***************
*** 589,595 ****
  'kw__crimresults_res007_title' =&gt; 'Ruling',
  'kw__crimresults_res008_title' =&gt; 'Other',
! 'kw__exptypes__exptypes01_title' =&gt; '&lt;NEW&gt;Type 1',
! 'kw__exptypes__exptypes02_title' =&gt; '&lt;NEW&gt;Type 2',
! 'kw__exptypes__exptypes_other_title' =&gt; '&lt;NEW&gt;Other',
  'kw__institutions_001_title' =&gt; 'Institution A',
  'kw__institutions_002_title' =&gt; 'Institution B',
--- 592,598 ----
  'kw__crimresults_res007_title' =&gt; 'Ruling',
  'kw__crimresults_res008_title' =&gt; 'Other',
! 'kw__exptypes__exptypes01_title' =&gt; 'Typ 1',
! 'kw__exptypes__exptypes02_title' =&gt; 'Typ 2',
! 'kw__exptypes__exptypes_other_title' =&gt; 'Inny',
  'kw__institutions_001_title' =&gt; 'Institution A',
  'kw__institutions_002_title' =&gt; 'Institution B',
***************
*** 648,655 ****
  'kw_stage_trial_title' =&gt; 'Proces',
  'kwg__crimresults_title' =&gt; 'Wynik sprawy',
! 'kwg__exptypes_title' =&gt; '&lt;NEW&gt;Internal request',
  'kwg__institutions_title' =&gt; 'Instytucje',
  'kwg__refnumbers_title' =&gt; 'Sygnatura akt',
! 'kwg_appointments_title' =&gt; 'Zadania',
  'kwg_civilstatus_title' =&gt; 'Stan cywilny',
  'kwg_conclusion_title' =&gt; 'ZakoÅczenie sprawy',
--- 651,658 ----
  'kw_stage_trial_title' =&gt; 'Proces',
  'kwg__crimresults_title' =&gt; 'Wynik sprawy',
! 'kwg__exptypes_title' =&gt; 'Zapotrzebowania',
  'kwg__institutions_title' =&gt; 'Instytucje',
  'kwg__refnumbers_title' =&gt; 'Sygnatura akt',
! 'kwg_appointments_title' =&gt; '&lt;MODIF&gt;Zadania',
  'kwg_civilstatus_title' =&gt; 'Stan cywilny',
  'kwg_conclusion_title' =&gt; 'ZakoÅczenie sprawy',
***************
*** 708,713 ****
  'menu_main_clients' =&gt; 'Klienci',
  'menu_main_clients_tooltip' =&gt; 'Lista zarejstrowanych klientÃ³w.',
! 'menu_main_expenses' =&gt; '&lt;NEW&gt;Internal requests',
! 'menu_main_expenses_tooltip' =&gt; '&lt;NEW&gt;List of internal requests, such as requests to cover expenses related to a case.',
  'menu_main_orgs' =&gt; 'Organizacje',
  'menu_main_orgs_tooltip' =&gt; 'Lista zarejstrowanych organizacji.',
--- 711,716 ----
  'menu_main_clients' =&gt; 'Klienci',
  'menu_main_clients_tooltip' =&gt; 'Lista zarejstrowanych klientÃ³w.',
! 'menu_main_expenses' =&gt; 'Zapotrzebowania',
! 'menu_main_expenses_tooltip' =&gt; 'Lista zapotrzebowaÅ wewnÄtrznych, takich jak proÅby o pokrycie kosztÃ³w zwiÄzanych ze sprawÄ.',
  'menu_main_orgs' =&gt; 'Organizacje',
  'menu_main_orgs_tooltip' =&gt; 'Lista zarejstrowanych organizacji.',
***************
*** 727,732 ****
  'org_button_edit' =&gt; 'ZmieÅ informacje o organizacji',
  'org_button_new' =&gt; 'Zarejestruj nowÄ organizacjÄ',
! 'org_button_new_for_case' =&gt; '&lt;NEW&gt;Register a new organisation and attach to this case',
! 'org_info_created_attached' =&gt; '&lt;NEW&gt;The organisation was registered and attached to the case:',
  'org_info_delete_client' =&gt; 'UsuÅ powiÄzanie klient-organizacja.',
  'org_input_court_reg' =&gt; 'Nr KRS:',
--- 730,735 ----
  'org_button_edit' =&gt; 'ZmieÅ informacje o organizacji',
  'org_button_new' =&gt; 'Zarejestruj nowÄ organizacjÄ',
! 'org_button_new_for_case' =&gt; 'Zarejestruj nowÄ organizacjÄ i powiÄÅ¼ jÄ ze sprawÄ',
! 'org_info_created_attached' =&gt; 'Organizacja zostaÅa zarejestrowana i przypisana do sprawy:',
  'org_info_delete_client' =&gt; 'UsuÅ powiÄzanie klient-organizacja.',
  'org_input_court_reg' =&gt; 'Nr KRS:',
***************
*** 771,779 ****
  'pass_warning_too_short' =&gt; 'HasÅo musi zawieraÄ co najmniej 5 znakÃ³w.',
  'pass_warning_unknown_cookie' =&gt; '&lt;b&gt;BÅÄd:&lt;/b&gt; ten kod jest nieznany.',
! 'person_info_years_old' =&gt; '&lt;NEW&gt;&lt; at &gt;years&lt; at &gt; years old',
  'person_input_address' =&gt; 'Adres:',
  'person_input_citizen_number' =&gt; 'PESEL:',
  'person_input_civil_status' =&gt; 'Stan cywilny:',
! 'person_input_date_birth' =&gt; '&lt;NEW&gt;Date of birth:',
  'person_input_gender' =&gt; 'PÅeÄ:',
  'person_input_gender_female' =&gt; 'kobieta',
--- 774,782 ----
  'pass_warning_too_short' =&gt; 'HasÅo musi zawieraÄ co najmniej 5 znakÃ³w.',
  'pass_warning_unknown_cookie' =&gt; '&lt;b&gt;BÅÄd:&lt;/b&gt; ten kod jest nieznany.',
! 'person_info_years_old' =&gt; '&lt; at &gt;years&lt; at &gt; lat',
  'person_input_address' =&gt; 'Adres:',
  'person_input_citizen_number' =&gt; 'PESEL:',
  'person_input_civil_status' =&gt; 'Stan cywilny:',
! 'person_input_date_birth' =&gt; 'Data urodzenia:',
  'person_input_gender' =&gt; 'PÅeÄ:',
  'person_input_gender_female' =&gt; 'kobieta',
***************
*** 810,814 ****
  'rep_filter_text_neq' =&gt; '!=',
  'rep_info_select_source_first' =&gt; 'To apply filters, you must first select the content that will be used for the report line and columns.',
! 'rep_info_source_keyword' =&gt; '&lt;NEW&gt;Custom field:',
  'rep_info_source_table' =&gt; 'Table:',
  'rep_info_table_lcm_author' =&gt; 'Prawnik',
--- 813,817 ----
  'rep_filter_text_neq' =&gt; '!=',
  'rep_info_select_source_first' =&gt; 'To apply filters, you must first select the content that will be used for the report line and columns.',
! 'rep_info_source_keyword' =&gt; 'Pole dodatkowe:',
  'rep_info_source_table' =&gt; 'Table:',
  'rep_info_table_lcm_author' =&gt; 'Prawnik',
***************
*** 834,838 ****
  // S
  'save' =&gt; 'Zapisz',
! 'siteconf_info_admin_email' =&gt; '&lt;NEW&gt;E-mail of the contact for administrative requests or problems.',
  'siteconf_info_available_languages' =&gt; 'If you have added a new language file to LCM or if you have upgraded the software and not all languages are available, click on "Validate" to refresh the list of available languages.',
  'siteconf_info_case_fields' =&gt; 'You can customize what type of information to store on each case. This depends on mostly on the activities of your organisation.',
--- 837,841 ----
  // S
  'save' =&gt; 'Zapisz',
! 'siteconf_info_admin_email' =&gt; 'Adres e-mail w sprawie zgÅaszania problemÃ³w z zarzÄdzaniem systemem',
  'siteconf_info_available_languages' =&gt; 'If you have added a new language file to LCM or if you have upgraded the software and not all languages are available, click on "Validate" to refresh the list of available languages.',
  'siteconf_info_case_fields' =&gt; 'You can customize what type of information to store on each case. This depends on mostly on the activities of your organisation.',
***************
*** 844,849 ****
  'siteconf_info_hide_emails' =&gt; 'Hide user e-mails',
  'siteconf_info_languages_refreshed' =&gt; 'The list of available translations has been updated.',
! 'siteconf_info_name_format_1' =&gt; '&lt;NEW&gt;John J. Doe',
! 'siteconf_info_name_format_10' =&gt; '&lt;NEW&gt;Doe, John J.',
  'siteconf_info_now_and_before' =&gt; 'is now set to Ã¢ÂÂ&lt; at &gt;now&lt; at &gt;Ã¢ÂÂ, previously was Ã¢ÂÂ&lt; at &gt;before&lt; at &gt;Ã¢ÂÂ.',
  'siteconf_info_self_registration' =&gt; 'Can users create themselves a new account (e.g. self-register) on the site?',
--- 847,852 ----
  'siteconf_info_hide_emails' =&gt; 'Hide user e-mails',
  'siteconf_info_languages_refreshed' =&gt; 'The list of available translations has been updated.',
! 'siteconf_info_name_format_1' =&gt; 'Jan J. Kowalski',
! 'siteconf_info_name_format_10' =&gt; 'Kowalski Jan J.',
  'siteconf_info_now_and_before' =&gt; 'is now set to Ã¢ÂÂ&lt; at &gt;now&lt; at &gt;Ã¢ÂÂ, previously was Ã¢ÂÂ&lt; at &gt;before&lt; at &gt;Ã¢ÂÂ.',
  'siteconf_info_self_registration' =&gt; 'Can users create themselves a new account (e.g. self-register) on the site?',
***************
*** 865,869 ****
  'siteconf_input_available_languages' =&gt; 'OdÅwierz listÄ dostÄpnych jÄzykÃ³w:',
  'siteconf_input_case_allow_modif' =&gt; 'Czy zezwolisz na modyfikacjÄ informacji o sprawie po utworzeniu sprawy?',
! 'siteconf_input_case_new_showorg' =&gt; '&lt;NEW&gt;Display the &amp;ldquo;find/create organisation&amp;rdquo; form when creating a new case?',
  'siteconf_input_citizen_number' =&gt; 'PESEL',
  'siteconf_input_client_income' =&gt; 'DochÃ³d',
--- 868,872 ----
  'siteconf_input_available_languages' =&gt; 'OdÅwierz listÄ dostÄpnych jÄzykÃ³w:',
  'siteconf_input_case_allow_modif' =&gt; 'Czy zezwolisz na modyfikacjÄ informacji o sprawie po utworzeniu sprawy?',
! 'siteconf_input_case_new_showorg' =&gt; 'Czy wyÅwietliÄ pole &amp;bdquo;znajdÅº / utwÃ³rz organizacjÄ&amp;rdquo; przy tworzeniu nowej sprawy?',
  'siteconf_input_citizen_number' =&gt; 'PESEL',
  'siteconf_input_client_income' =&gt; 'DochÃ³d',
***************
*** 872,876 ****
  'siteconf_input_default_lang' =&gt; 'Standardowy jÄzyk:',
  'siteconf_input_fu_allow_modif' =&gt; 'ZezwÃ³l na modyfikacjÄ informacji o zdarzeniach juÅ¼ wpisanych?',
! 'siteconf_input_name_format' =&gt; '&lt;NEW&gt;Name format:',
  'siteconf_input_name_middle' =&gt; 'Middle name or initial',
  'siteconf_input_selfreg_moderated' =&gt; 'Tak, lecz administrator musi zatwierdziÄ proÅbÄ.',
--- 875,879 ----
  'siteconf_input_default_lang' =&gt; 'Standardowy jÄzyk:',
  'siteconf_input_fu_allow_modif' =&gt; 'ZezwÃ³l na modyfikacjÄ informacji o zdarzeniach juÅ¼ wpisanych?',
! 'siteconf_input_name_format' =&gt; 'Format imienia i nazwiska:',
  'siteconf_input_name_middle' =&gt; 'Middle name or initial',
  'siteconf_input_selfreg_moderated' =&gt; 'Tak, lecz administrator musi zatwierdziÄ proÅbÄ.',
***************
*** 906,916 ****
  'time_input_date_end' =&gt; 'Koniec:',
  'time_input_date_start' =&gt; 'Start:',
! 'time_input_date_updated' =&gt; '&lt;NEW&gt;Updated:',
  'time_input_length' =&gt; 'DÅugoÅÄ:',
  'time_input_time_at' =&gt; 'o',
  'time_warning_invalid_format' =&gt; 'Wpisana dÅugoÅÄ czasu nie jest poprawna.',
  'title_agenda_list' =&gt; 'Zadania',
! 'title_app_edit' =&gt; 'ZmieÅ termin',
! 'title_app_new' =&gt; 'Nowy termin',
  'title_app_view' =&gt; 'SzczegÃ³Åy dziaÅania:',
  'title_archives' =&gt; 'Archiwum',
--- 909,919 ----
  'time_input_date_end' =&gt; 'Koniec:',
  'time_input_date_start' =&gt; 'Start:',
! 'time_input_date_updated' =&gt; 'Odnowiona:',
  'time_input_length' =&gt; 'DÅugoÅÄ:',
  'time_input_time_at' =&gt; 'o',
  'time_warning_invalid_format' =&gt; 'Wpisana dÅugoÅÄ czasu nie jest poprawna.',
  'title_agenda_list' =&gt; 'Zadania',
! 'title_app_edit' =&gt; '&lt;MODIF&gt;ZmieÅ termin',
! 'title_app_new' =&gt; '&lt;MODIF&gt;Nowy termin',
  'title_app_view' =&gt; 'SzczegÃ³Åy dziaÅania:',
  'title_archives' =&gt; 'Archiwum',
***************
*** 923,927 ****
  'title_case_add_author' =&gt; 'Przydziel prawnika do sprawy',
  'title_case_add_client' =&gt; 'PowiÄÅ¼ klienta ze sprawÄ',
! 'title_case_add_org' =&gt; '&lt;NEW&gt;Add an organisation to the case',
  'title_case_details' =&gt; 'SzczegÃ³Åy sprawy:',
  'title_case_edit' =&gt; 'ZmieÅ szczegÃ³Åy sprawy',
--- 926,930 ----
  'title_case_add_author' =&gt; 'Przydziel prawnika do sprawy',
  'title_case_add_client' =&gt; 'PowiÄÅ¼ klienta ze sprawÄ',
! 'title_case_add_org' =&gt; 'Przypisz organizacjÄ do sprawy',
  'title_case_details' =&gt; 'SzczegÃ³Åy sprawy:',
  'title_case_edit' =&gt; 'ZmieÅ szczegÃ³Åy sprawy',
***************
*** 933,940 ****
  'title_client_view' =&gt; 'Klient:',
  'title_error' =&gt; 'BÅÄd',
! 'title_expense_comment' =&gt; '&lt;NEW&gt;Request update',
! 'title_expense_new' =&gt; '&lt;NEW&gt;New internal request',
! 'title_expense_view' =&gt; '&lt;NEW&gt;Request details',
! 'title_expenses' =&gt; '&lt;NEW&gt;Internal requests',
  'title_fu_change_stage' =&gt; 'Zmiana etapu sprawy',
  'title_fu_change_status' =&gt; 'Zmiana statusu sprawy',
--- 936,943 ----
  'title_client_view' =&gt; 'Klient:',
  'title_error' =&gt; 'BÅÄd',
! 'title_expense_comment' =&gt; 'OdnÃ³w stan zapotrzebowania',
! 'title_expense_new' =&gt; 'Nowe zapotrzebowanie',
! 'title_expense_view' =&gt; 'SzczegÃ³Åy zapotrzebowania',
! 'title_expenses' =&gt; 'Zapotrzebowania',
  'title_fu_change_stage' =&gt; 'Zmiana etapu sprawy',
  'title_fu_change_status' =&gt; 'Zmiana statusu sprawy',


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
legalcase-commits mailing list
legalcase-commits&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/legalcase-commits
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-12T03:43:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/516">
    <title>legalcase case_det.php,1.177,1.178</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/516</link>
    <description>Update of /cvsroot/legalcase/legalcase
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9006

Modified Files:
case_det.php 
Log Message:
fix alignment bug in 'reports/times', bug reported by Mateusz HoÅysz

Index: case_det.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/case_det.php,v
retrieving revision 1.177
retrieving revision 1.178
diff -C2 -d -r1.177 -r1.178
*** case_det.php7 Sep 2006 19:51:44 -00001.177
--- case_det.php9 Feb 2008 17:07:00 -00001.178
***************
*** 339,344 ****
  show_page_subtitle(_T('case_subtitle_times'), 'reports_intro');
  
- echo "&lt;p class=\"normal_text\"&gt;\n";
- 
  $link_details = new Link();
  $link_details-&gt;addVar('more_times', intval((! $show_more_times)));
--- 339,342 ----
***************
*** 352,356 ****
  . '&lt;/a&gt;'
  . "&lt;/th&gt;\n";
! echo "&lt;th class='heading' width='1%' nowrap='nowrap'&gt;" .  _Th('time_input_length') . ' (' . _T('time_info_short_hour') . ")&lt;/th&gt;\n";
  
  $total_time = 0;
--- 350,354 ----
  . '&lt;/a&gt;'
  . "&lt;/th&gt;\n";
! echo "&lt;th class='heading' width='120' nowrap='nowrap' align='right'&gt;" .  _Th('time_input_length') . ' (' . _T('time_info_short_hour') . ")&lt;/th&gt;\n";
  
  $total_time = 0;
***************
*** 360,364 ****
  if ($meta_sum_billed == 'yes') {
  $currency = read_meta('currency');
! echo "&lt;th class='heading' width='1%' nowrap='nowrap'&gt;" . _Th('fu_input_sum_billed') . ' (' . $currency . ")&lt;/th&gt;\n";
  }
  
--- 358,362 ----
  if ($meta_sum_billed == 'yes') {
  $currency = read_meta('currency');
! echo "&lt;th class='heading' width='120' nowrap='nowrap' align='right'&gt;" . _Th('fu_input_sum_billed') . ' (' . $currency . ")&lt;/th&gt;\n";
  }
  
***************
*** 404,415 ****
  // But we should probably scrap the whole table anyway
  while (($row2 = lcm_fetch_array($r2))) {
! $html .= "&lt;li style='clear: both; height: 1.4em;'&gt;"
! . '&lt;div style="width: 69%; float: left; text-align: left;"&gt;' 
  . _Tkw('followups', $row2['type']) . ": "
! . '&lt;/div&gt;'
! . '&lt;div style="width: 29%; float: right; text-align: right;"&gt;' 
  . format_time_interval_prefs($row2['time']) 
! . '&lt;/div&gt;'
! . "&lt;/li&gt;\n";
  }
  }
--- 402,424 ----
  // But we should probably scrap the whole table anyway
  while (($row2 = lcm_fetch_array($r2))) {
! // either:  futype (70%) + length (15%) + sumbilled (15%)
! // or only: futype (70%) + length (30%)
! 
! $html .= "&lt;li style='clear: both; height: 1.4em; width: 100%;'&gt;";
! 
! $html .= '&lt;div style="float: left; text-align: left;"&gt;' 
  . _Tkw('followups', $row2['type']) . ": "
! . '&lt;/div&gt;';
! 
! if ($meta_sum_billed == 'yes') 
! $html .= '&lt;div style="width: 120px; float: right; text-align: right;"&gt;' 
! .  format_money($row2['sumbilled']) 
! . '&lt;/div&gt;';
! 
! $html .= '&lt;div style="width: 120px; float: right; text-align: right;"&gt;' 
  . format_time_interval_prefs($row2['time']) 
! . '&lt;/div&gt;';
! 
! $html .= "&lt;/li&gt;\n";
  }
  }
***************
*** 449,454 ****
  
  echo "&lt;/tr&gt;\n";
  
- echo "\t&lt;/table&gt;\n&lt;/p&gt;&lt;/fieldset&gt;\n";
  break;
  //
--- 458,464 ----
  
  echo "&lt;/tr&gt;\n";
+ echo "&lt;/table&gt;\n";
+ echo "&lt;/fieldset&gt;\n";
  
  break;
  //


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
legalcase-commits mailing list
legalcase-commits&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/legalcase-commits
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-09T17:07:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/515">
    <title>legalcase/inc inc_obj_fu.php,1.25,1.26</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/515</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv3370

Modified Files:
inc_obj_fu.php 
Log Message:
fix a PHP warning

Index: inc_obj_fu.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_fu.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** inc_obj_fu.php1 Feb 2008 21:43:50 -00001.25
--- inc_obj_fu.php1 Feb 2008 21:48:35 -00001.26
***************
*** 857,860 ****
--- 857,862 ----
   */
  
+ // TODO: [ML] a bit of testing to see if this survives an error on new case
+ // I suspect it doesn't..
  echo "&lt;!-- Appointment title --&gt;\n\t\t&lt;tr&gt;&lt;td&gt;";
  echo f_err_star('app_title') . _T('app_input_title');
***************
*** 896,900 ****
  echo "&lt;/td&gt;&lt;td&gt;";
  echo '&lt;textarea ' . $dis . ' name="app_description" rows="5" cols="60" class="frm_tarea"&gt;';
! echo clean_output($this-&gt;data['app_description']);
  echo '&lt;/textarea&gt;';
  echo "&lt;/td&gt;&lt;/tr&gt;\n";
--- 898,902 ----
  echo "&lt;/td&gt;&lt;td&gt;";
  echo '&lt;textarea ' . $dis . ' name="app_description" rows="5" cols="60" class="frm_tarea"&gt;';
! echo clean_output($this-&gt;getDataString('app_description'));
  echo '&lt;/textarea&gt;';
  echo "&lt;/td&gt;&lt;/tr&gt;\n";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T21:49:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/514">
    <title>legalcase/inc inc_filters.php,1.98,1.99</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/514</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv770

Modified Files:
inc_filters.php 
Log Message:
in show_all_errors(), initialise all_info and all_error to stop warnings

Index: inc_filters.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_filters.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** inc_filters.php1 Feb 2008 20:45:55 -00001.98
--- inc_filters.php1 Feb 2008 21:36:40 -00001.99
***************
*** 327,330 ****
--- 327,333 ----
  $ret = '';
  
+ $all_errors = array();
+ $all_info = array();
+ 
  if (isset($_SESSION['errors'])) {
  $all_errors = $_SESSION['errors'];


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T21:37:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/513">
    <title>legalcase/inc inc_obj_fu.php,1.24,1.25</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/513</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2454

Modified Files:
inc_obj_fu.php 
Log Message:
removed title_onfocus for app, not used, was generating warning

Index: inc_obj_fu.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_fu.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** inc_obj_fu.php30 Jan 2008 22:53:42 -00001.24
--- inc_obj_fu.php1 Feb 2008 21:43:50 -00001.25
***************
*** 860,864 ****
  echo f_err_star('app_title') . _T('app_input_title');
  echo "&lt;/td&gt;&lt;td&gt;";
! echo '&lt;input type="text" ' . $title_onfocus . $dis . ' name="app_title" size="50" value="';
  echo clean_output($this-&gt;getDataString('app_title')) . '" class="search_form_txt" /&gt;';
  echo "&lt;/td&gt;&lt;/tr&gt;\n";
--- 860,864 ----
  echo f_err_star('app_title') . _T('app_input_title');
  echo "&lt;/td&gt;&lt;td&gt;";
! echo '&lt;input type="text" ' . $dis . ' name="app_title" size="50" value="';
  echo clean_output($this-&gt;getDataString('app_title')) . '" class="search_form_txt" /&gt;';
  echo "&lt;/td&gt;&lt;/tr&gt;\n";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T21:44:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/512">
    <title>legalcase/inc inc_obj_case.php,1.30,1.31</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/512</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26115

Modified Files:
inc_obj_case.php 
Log Message:
fix how id_stage is manipulated during case creation

Index: inc_obj_case.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_case.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** inc_obj_case.php5 Apr 2007 19:53:56 -00001.30
--- inc_obj_case.php1 Feb 2008 21:07:30 -00001.31
***************
*** 324,328 ****
  } else {
  // This is new case
! $q = "INSERT INTO lcm_case SET date_creation = NOW(), date_update = NOW(), $fl,$public_access_rights";
  $result = lcm_query($q);
  $id_case = lcm_insert_id('lcm_case', 'id_case');
--- 324,328 ----
  } else {
  // This is new case
! $q = "INSERT INTO lcm_case SET id_stage = 0, date_creation = NOW(), date_update = NOW(), $fl,$public_access_rights";
  $result = lcm_query($q);
  $id_case = lcm_insert_id('lcm_case', 'id_case');
***************
*** 332,343 ****
  
  // Insert new case_author relation
  $q = "INSERT INTO lcm_case_author SET
! id_case=$id_case,
! id_author=$id_author,
  ac_read=1,
  ac_write=1,
  ac_edit=" . (int)(read_meta('case_allow_modif') == 'yes') . ",
  ac_admin=1";
! // [AG] The user creating case should always have 'admin' access right, otherwise only admin could add new user(s) to the case
  $result = lcm_query($q);
  
--- 332,344 ----
  
  // Insert new case_author relation
+ // [AG] The user creating case should always have 'admin' access right, otherwise only admin could add new user(s) to the case
  $q = "INSERT INTO lcm_case_author SET
! id_case = $id_case,
! id_author = $id_author,
  ac_read=1,
  ac_write=1,
  ac_edit=" . (int)(read_meta('case_allow_modif') == 'yes') . ",
  ac_admin=1";
! 
  $result = lcm_query($q);
  
***************
*** 346,349 ****
--- 347,351 ----
  FROM lcm_author
  WHERE id_author=$id_author";
+ 
  $result = lcm_query($q);
  $author_data = lcm_fetch_array($result);
***************
*** 352,355 ****
--- 354,358 ----
  $q = "INSERT INTO lcm_followup
  SET id_case = $id_case, 
+ id_stage = 0,
  id_author = $id_author,
  type = 'assignment',
***************
*** 371,374 ****
--- 374,382 ----
  
  lcm_query($q);
+ $id_stage = lcm_insert_id('lcm_stage', 'id_entry');
+ 
+ // Update the id_stage entry for lcm_case
+ lcm_query("UPDATE lcm_case SET id_stage = $id_stage WHERE id_case = $id_case");
+ lcm_query("UPDATE lcm_followup SET id_stage = $id_stage WHERE id_followup = $id_followup");
  }
  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T21:07:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/511">
    <title>legalcase/inc inc_filters.php,1.97,1.98</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/511</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv17446

Modified Files:
inc_filters.php 
Log Message:
removed useless use of mktime() in years_diff()

Index: inc_filters.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_filters.php,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** inc_filters.php30 Jan 2008 22:10:53 -00001.97
--- inc_filters.php1 Feb 2008 20:45:55 -00001.98
***************
*** 297,301 ****
  function years_diff($start, $end = '') {
  if (! $end)
! $end = date("Y-m-d", mktime()); // Today
  
  $s = recup_date($start);
--- 297,301 ----
  function years_diff($start, $end = '') {
  if (! $end)
! $end = date("Y-m-d"); // Today
  
  $s = recup_date($start);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:45:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/510">
    <title>legalcase/inc inc_obj_client.php,1.17,1.18</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/510</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15524

Modified Files:
inc_obj_client.php 
Log Message:
allow to enter an empty birthdate (at least in the inputs, it is then validated)

Index: inc_obj_client.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_client.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** inc_obj_client.php1 Feb 2008 20:36:27 -00001.17
--- inc_obj_client.php1 Feb 2008 20:40:58 -00001.18
***************
*** 466,470 ****
  echo "&lt;td&gt;" . f_err_star('date_birth') . _Ti('person_input_date_birth') . "&lt;/td&gt;\n";
  echo "&lt;td&gt;" 
! . get_date_inputs('date_birth', $this-&gt;getDataString('date_birth'), false)
  . "&lt;/td&gt;\n";
  echo "&lt;/tr&gt;\n";
--- 466,470 ----
  echo "&lt;td&gt;" . f_err_star('date_birth') . _Ti('person_input_date_birth') . "&lt;/td&gt;\n";
  echo "&lt;td&gt;" 
! . get_date_inputs('date_birth', $this-&gt;getDataString('date_birth'), true)
  . "&lt;/td&gt;\n";
  echo "&lt;/tr&gt;\n";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:41:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/509">
    <title>legalcase/inc inc_obj_client.php,1.16,1.17</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/509</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13939

Modified Files:
inc_obj_client.php 
Log Message:
do not show date of birth if none

Index: inc_obj_client.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_client.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** inc_obj_client.php12 Jan 2007 16:36:36 -00001.16
--- inc_obj_client.php1 Feb 2008 20:36:27 -00001.17
***************
*** 138,142 ****
  
  if ($this-&gt;getCaseDone())
! $this-&gt;loadCases($start_from + $prefs['page_rows']);
  
  return $ret;
--- 138,142 ----
  
  if ($this-&gt;getCaseDone())
! $this-&gt;loadCases($this-&gt;case_start_from + $prefs['page_rows']);
  
  return $ret;
***************
*** 346,354 ****
  $gender = _T('info_not_available');
  
! if (substr($meta_date_birth, 0, 3) == 'yes')
! echo '&lt;li&gt;'
! . format_date($this-&gt;getDataString('date_birth')) 
! . " (" . _T('person_info_years_old', array('years' =&gt; years_diff($this-&gt;getDataString('date_birth')))) . ")"
! . "&lt;/li&gt;\n";
  
  echo '&lt;li&gt;'
--- 346,361 ----
  $gender = _T('info_not_available');
  
! if (substr($meta_date_birth, 0, 3) == 'yes') {
! echo "&lt;li&gt;" . _Ti('person_input_date_birth');
! 
! if (($birth = $this-&gt;getDataString('data_birth'))) {
! echo format_date($birth)
! . " (" . _T('person_info_years_old', array('years' =&gt; years_diff($this-&gt;getDataString('date_birth')))) . ")";
! } else {
! echo _T('info_not_available');
! }
! 
! echo "&lt;/li&gt;\n";
! }
  
  echo '&lt;li&gt;'


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:36:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/508">
    <title>legalcase/inc inc_db_create.php,1.63,1.64</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/508</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9274

Modified Files:
inc_db_create.php 
Log Message:
SQL fixes for mysql-strict mode (mostly s/text NOT NULL DEFAULT ''/text/) + changes for id_stage

Index: inc_db_create.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_db_create.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** inc_db_create.php30 Jan 2008 19:48:50 -00001.63
--- inc_db_create.php1 Feb 2008 20:24:46 -00001.64
***************
*** 44,55 ****
  $fields = array (
  "id_case bigint(21) NOT NULL auto_increment",
  "title text NOT NULL",
  "date_creation datetime NOT NULL",
  "date_assignment datetime NOT NULL",
  "date_update datetime NOT NULL",
! "legal_reason text DEFAULT '' NOT NULL",
! "alledged_crime text DEFAULT '' NOT NULL",
! "notes text DEFAULT '' NOT NULL",
! "status text NOT NULL",
  "stage varchar(255) NOT NULL",
  "public tinyint(1) DEFAULT 0 NOT NULL",
--- 44,56 ----
  $fields = array (
  "id_case bigint(21) NOT NULL auto_increment",
+ "id_stage bigint(21) NOT NULL",
  "title text NOT NULL",
  "date_creation datetime NOT NULL",
  "date_assignment datetime NOT NULL",
  "date_update datetime NOT NULL",
! "legal_reason text",
! "alledged_crime text",
! "notes text",
! "status text",
  "stage varchar(255) NOT NULL",
  "public tinyint(1) DEFAULT 0 NOT NULL",
***************
*** 112,121 ****
  $fields = array (
  "id_followup bigint(21) NOT NULL auto_increment",
! "id_case bigint(21) DEFAULT 0 NOT NULL",
! "id_author bigint(21) DEFAULT 0 NOT NULL",
  "date_start datetime NOT NULL",
  "date_end datetime DEFAULT NULL", // may be null
  "type varchar(255) NOT NULL",
! "description text DEFAULT '' NOT NULL",
  "case_stage varchar(255) NOT NULL",
  "sumbilled decimal(19,4) NOT NULL DEFAULT 0",
--- 113,123 ----
  $fields = array (
  "id_followup bigint(21) NOT NULL auto_increment",
! "id_case bigint(21) NOT NULL",
! "id_stage bigint(21) NOT NULL",
! "id_author bigint(21) NOT NULL",
  "date_start datetime NOT NULL",
  "date_end datetime DEFAULT NULL", // may be null
  "type varchar(255) NOT NULL",
! "description text",
  "case_stage varchar(255) NOT NULL",
  "sumbilled decimal(19,4) NOT NULL DEFAULT 0",
***************
*** 136,142 ****
  "id_author bigint(21) NOT NULL auto_increment",
  "id_office bigint(21) DEFAULT 0 NOT NULL",
! "name_first text NOT NULL",
! "name_middle text DEFAULT '' NOT NULL",
! "name_last text NOT NULL",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
--- 138,144 ----
  "id_author bigint(21) NOT NULL auto_increment",
  "id_office bigint(21) DEFAULT 0 NOT NULL",
! "name_first text",
! "name_middle text",
! "name_last text",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
***************
*** 144,157 ****
  "password tinytext NOT NULL",
  "lang VARCHAR(10) DEFAULT 'en' NOT NULL",
! "prefs text NOT NULL DEFAULT ''",
  "status ENUM('admin', 'normal', 'external', 'trash', 'waiting', 'suspended') NOT NULL DEFAULT 'normal'",
! "cookie_recall tinytext NOT NULL DEFAULT ''",
  
  "maj TIMESTAMP",
! "pgp blob NOT NULL DEFAULT ''",
  "imessage VARCHAR(3) NOT NULL DEFAULT ''",
  "messagerie VARCHAR(3) NOT NULL DEFAULT ''",
! "alea_actuel tinytext NOT NULL DEFAULT ''",
! "alea_futur tinytext NOT NULL DEFAULT ''",
  
  "PRIMARY KEY (id_author)"
--- 146,159 ----
  "password tinytext NOT NULL",
  "lang VARCHAR(10) DEFAULT 'en' NOT NULL",
! "prefs text",
  "status ENUM('admin', 'normal', 'external', 'trash', 'waiting', 'suspended') NOT NULL DEFAULT 'normal'",
! "cookie_recall tinytext",
  
  "maj TIMESTAMP",
! "pgp blob",
  "imessage VARCHAR(3) NOT NULL DEFAULT ''",
  "messagerie VARCHAR(3) NOT NULL DEFAULT ''",
! "alea_actuel tinytext",
! "alea_futur tinytext",
  
  "PRIMARY KEY (id_author)"
***************
*** 169,183 ****
  $fields = array (
  "id_client bigint(21) NOT NULL auto_increment",
! "name_first text NOT NULL",
! "name_middle text NOT NULL DEFAULT ''",
! "name_last text NOT NULL",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
  "date_birth datetime DEFAULT NULL", // may be null
! "citizen_number text NOT NULL DEFAULT ''",
  "gender ENUM('female','male', 'unknown') NOT NULL",
  "civil_status varchar(255) DEFAULT 'unknown' NOT NULL",
  "income varchar(255) DEFAULT 'unknown' NOT NULL",
! "notes text DEFAULT '' NOT NULL",
  "PRIMARY KEY (id_client)"
  );
--- 171,185 ----
  $fields = array (
  "id_client bigint(21) NOT NULL auto_increment",
! "name_first text",
! "name_middle text",
! "name_last text",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
  "date_birth datetime DEFAULT NULL", // may be null
! "citizen_number text",
  "gender ENUM('female','male', 'unknown') NOT NULL",
  "civil_status varchar(255) DEFAULT 'unknown' NOT NULL",
  "income varchar(255) DEFAULT 'unknown' NOT NULL",
! "notes text",
  "PRIMARY KEY (id_client)"
  );
***************
*** 211,221 ****
  $fields = array (
  "id_org bigint(21) NOT NULL auto_increment",
! "name text NOT NULL",
  "date_creation datetime DEFAULT NULL",
  "date_update datetime DEFAULT NULL",
! "notes text NOT NULL DEFAULT ''",
! "court_reg text NOT NULL DEFAULT ''",
! "tax_number text NOT NULL DEFAULT ''",
! "stat_number text NOT NULL DEFAULT ''",
  "PRIMARY KEY (id_org)"
  );
--- 213,223 ----
  $fields = array (
  "id_org bigint(21) NOT NULL auto_increment",
! "name text",
  "date_creation datetime DEFAULT NULL",
  "date_update datetime DEFAULT NULL",
! "notes text",
! "court_reg text",
! "tax_number text",
! "stat_number text",
  "PRIMARY KEY (id_org)"
  );
***************
*** 265,269 ****
  "name VARCHAR(255) NOT NULL",
  "title text NOT NULL",
! "description text NOT NULL DEFAULT ''",
  "hasvalue ENUM('Y', 'N') NOT NULL DEFAULT 'N'",
  "ac_author ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
--- 267,271 ----
  "name VARCHAR(255) NOT NULL",
  "title text NOT NULL",
! "description text",
  "hasvalue ENUM('Y', 'N') NOT NULL DEFAULT 'N'",
  "ac_author ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
***************
*** 294,298 ****
  "id_keyword bigint(21) NOT NULL",
  "id_client bigint(21) NOT NULL",
! "value text NOT NULL DEFAULT ''",
  "PRIMARY KEY (id_entry)"
  );
--- 296,300 ----
  "id_keyword bigint(21) NOT NULL",
  "id_client bigint(21) NOT NULL",
! "value text",
  "PRIMARY KEY (id_entry)"
  );
***************
*** 310,314 ****
  "id_keyword bigint(21) NOT NULL",
  "id_followup bigint(21) NOT NULL",
! "value text NOT NULL DEFAULT ''",
  "PRIMARY KEY (id_entry)"
  );
--- 312,316 ----
  "id_keyword bigint(21) NOT NULL",
  "id_followup bigint(21) NOT NULL",
! "value text",
  "PRIMARY KEY (id_entry)"
  );
***************
*** 326,330 ****
  "id_keyword bigint(21) NOT NULL",
  "id_org bigint(21) NOT NULL",
! "value text NOT NULL DEFAULT ''",
  "PRIMARY KEY (id_entry)"
  );
--- 328,332 ----
  "id_keyword bigint(21) NOT NULL",
  "id_org bigint(21) NOT NULL",
! "value text",
  "PRIMARY KEY (id_entry)"
  );
***************
*** 344,352 ****
  "name VARCHAR(255) NOT NULL",
  "title text NOT NULL",
! "description text NOT NULL DEFAULT ''",
  "type ENUM('system', 'contact', 'case', 'stage', 'followup', 'client', 'org', 'client_org', 'author') NOT NULL",
  "policy ENUM('optional', 'recommended', 'mandatory') NOT NULL DEFAULT 'optional'",
  "quantity ENUM('one', 'many') NOT NULL DEFAULT 'one'",
! "suggest text NOT NULL DEFAULT ''",
  "ac_admin ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
  "ac_author ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
--- 346,354 ----
  "name VARCHAR(255) NOT NULL",
  "title text NOT NULL",
! "description text",
  "type ENUM('system', 'contact', 'case', 'stage', 'followup', 'client', 'org', 'client_org', 'author') NOT NULL",
  "policy ENUM('optional', 'recommended', 'mandatory') NOT NULL DEFAULT 'optional'",
  "quantity ENUM('one', 'many') NOT NULL DEFAULT 'one'",
! "suggest text",
  "ac_admin ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
  "ac_author ENUM('Y', 'N') NOT NULL DEFAULT 'Y'",
***************
*** 361,374 ****
  "id_report bigint(21) NOT NULL auto_increment",
  "title varchar(255) NOT NULL",
! "description text NOT NULL DEFAULT ''",
! "notes text NOT NULL DEFAULT ''",
  "id_author bigint(21) NOT NULL",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
! "line_src_type text NOT NULL DEFAULT ''",
! "line_src_name text NOT NULL DEFAULT ''",
! "col_src_type text NOT NULL DEFAULT ''",
! "col_src_name text NOT NULL DEFAULT ''",
! "filecustom text NOT NULL DEFAULT ''",
  "PRIMARY KEY  (id_report)"
  );
--- 363,376 ----
  "id_report bigint(21) NOT NULL auto_increment",
  "title varchar(255) NOT NULL",
! "description text",
! "notes text",
  "id_author bigint(21) NOT NULL",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
! "line_src_type text",
! "line_src_name text",
! "col_src_type text",
! "col_src_name text",
! "filecustom text",
  "PRIMARY KEY  (id_report)"
  );
***************
*** 384,388 ****
  "description varchar(255) NOT NULL DEFAULT ''",
  "filter ENUM('none','date','number','text','currency') NOT NULL DEFAULT 'none'",
! "enum_type text NOT NULL DEFAULT ''",
  "PRIMARY KEY  (id_field)"
  );
--- 386,390 ----
  "description varchar(255) NOT NULL DEFAULT ''",
  "filter ENUM('none','date','number','text','currency') NOT NULL DEFAULT 'none'",
! "enum_type text",
  "PRIMARY KEY  (id_field)"
  );
***************
*** 411,415 ****
  "type varchar(255) NOT NULL DEFAULT ''",
  "title varchar(255) NOT NULL",
! "description text NOT NULL DEFAULT ''",
  "start_time datetime NOT NULL",
  "end_time datetime NOT NULL",
--- 413,417 ----
  "type varchar(255) NOT NULL DEFAULT ''",
  "title varchar(255) NOT NULL",
! "description text",
  "start_time datetime NOT NULL",
  "end_time datetime NOT NULL",
***************
*** 439,443 ****
  "type varchar(255) NOT NULL", // will use system-keyword
  "cost decimal(19,4) NOT NULL DEFAULT 0",
! "description text NOT NULL DEFAULT ''",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
--- 441,445 ----
  "type varchar(255) NOT NULL", // will use system-keyword
  "cost decimal(19,4) NOT NULL DEFAULT 0",
! "description text",
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
***************
*** 461,465 ****
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
! "comment text NOT NULL DEFAULT ''",
  "PRIMARY KEY  (id_comment)"
  );
--- 463,467 ----
  "date_creation datetime NOT NULL",
  "date_update datetime NOT NULL",
! "comment text",
  "PRIMARY KEY  (id_comment)"
  );


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:24:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/507">
    <title>legalcase/inc inc_db_upgrade.php,1.76,1.77</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/507</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8893

Modified Files:
inc_db_upgrade.php 
Log Message:
start of changes so that the id_stage is correctly stored in lcm_case and lcm_followup

Index: inc_db_upgrade.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_db_upgrade.php,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** inc_db_upgrade.php30 Jan 2008 19:48:50 -00001.76
--- inc_db_upgrade.php1 Feb 2008 20:23:54 -00001.77
***************
*** 1037,1040 ****
--- 1037,1046 ----
  
  if ($lcm_db_version_current &lt; 49) {
+ // If user installs LCM 0.7.0, then imports a 0.6.4 database, the 
+ // lcm_expense table will already exist. It is better to drop and 
+ // re-create because we may "ALTER" the table later. On the other 
+ // hand, there is a risk that we accidently drop a table with data.
+ lcm_query("DROP TABLE lcm_keyword_followup", true);
+ 
  $fields = array (
  "id_entry bigint(21) NOT NULL auto_increment",
***************
*** 1174,1177 ****
--- 1180,1187 ----
  }
  
+ //
+ // LCM 0.7.3
+ //
+ 
  if ($lcm_db_version_current &lt; 53) {
  lcm_query("ALTER TABLE lcm_stage
***************
*** 1184,1187 ****
--- 1194,1288 ----
  }
  
+ if ($lcm_db_version_current &lt; 54) {
+ lcm_query("ALTER TABLE lcm_case
+ ADD id_stage bigint(21) NOT NULL AFTER id_case");
+ 
+ lcm_query("ALTER TABLE lcm_followup
+ ADD id_stage bigint(21) NOT NULL AFTER id_case");
+ 
+ // Populate id_stage in lcm_case
+ // the "where" and "order" statements make it easier to recuperate
+ // if the database has a very large number of cases
+ $query = "SELECT c.id_case, c.stage, s.id_entry as id_stage
+ FROM lcm_case as c
+ LEFT JOIN lcm_stage as s ON (c.stage = s.kw_case_stage AND c.id_case = s.id_case)
+ WHERE c.id_stage = 0 
+ ORDER by id_case asc";
+ 
+ $res   = lcm_query($query);
+ 
+ while (($row = lcm_fetch_array($res))) {
+ // exception for very early versions of LCM
+ if (! $row['id_stage'])
+ $row['id_stage'] = 0;
+ 
+ $upd = "UPDATE lcm_case
+    SET id_stage = " . $row['id_stage'] . "
+  WHERE id_case  = " . $row['id_case'];
+ 
+ lcm_query($upd);
+ }
+ 
+ // Populate id_stage in lcm_followup
+ $query = "SELECT f.id_followup, f.id_case, f.case_stage, s.id_entry as id_stage
+ FROM lcm_followup as f
+ LEFT JOIN lcm_stage as s ON (f.case_stage = s.kw_case_stage AND f.id_case = s.id_case)
+ WHERE f.id_stage = 0 
+ ORDER by id_followup asc";
+ 
+ $res   = lcm_query($query);
+ 
+ while (($row = lcm_fetch_array($res))) {
+ // exception for very early versions of LCM
+ if (! $row['id_stage'])
+ $row['id_stage'] = 0;
+ 
+ $upd = "UPDATE lcm_followup
+    SET id_stage = " . $row['id_stage'] . "
+  WHERE id_followup  = " . $row['id_followup'];
+ 
+ lcm_query($upd);
+ }
+ 
+ upgrade_db_version(54);
+ }
+ 
+ if ($lcm_db_version_current &lt; 55) {
+ include_lcm('inc_keywords');
+ 
+ // Fix id_stage entries in lcm_keyword_case
+ // They use to have the id_keyword of the keyword associated to that stage
+ // .. doesn't make much sense, should be the lcm_stage.id_entry
+ $query = "SELECT id_entry as id_kw_entry, id_keyword, id_case, id_stage
+   FROM lcm_keyword_case
+    WHERE id_stage != 0
+    ORDER BY id_entry ASC";
+ 
+ $result = lcm_query($query);
+ 
+ while (($row = lcm_fetch_array($result))) {
+ // get the keyword name associated with the id_keyword
+ // so that we can get the lcm_stage.id_entry
+ $kw = get_kw_from_id($row['id_stage']);
+ 
+ $query2 = "SELECT id_entry
+  FROM lcm_stage
+ WHERE id_case = " . $row['id_case'] . "
+   AND kw_case_stage = '" . $kw['name'] . "'";
+ 
+ $result2 = lcm_query($query2);
+ 
+ if (($row2 = lcm_fetch_array($result2))) {
+ $upd = "UPDATE lcm_keyword_case
+    SET id_stage = " . $row2['id_entry'] . "
+  WHERE id_entry = " . $row['id_kw_entry'];
+ 
+ lcm_query($upd);
+ }
+ }
+ 
+ upgrade_db_version(55);
+ }
+ 
  // Update the meta, lcm_fields, keywords, etc.
  lcm_log("Updating LCM default configuration (meta/keywords/repfields/..)", 'upgrade');


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:23:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/506">
    <title>legalcase/inc inc_version.php,1.112,1.113</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/506</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8867

Modified Files:
inc_version.php 
Log Message:
db_version to 53, LCM version to 0.7.3

Index: inc_version.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_version.php,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** inc_version.php30 Jan 2008 19:48:50 -00001.112
--- inc_version.php1 Feb 2008 20:23:17 -00001.113
***************
*** 247,257 ****
  
  // Current version of LCM
! $lcm_version = 0.720;
  
  // Current version of LCM shown on screen
! $lcm_version_shown = "0.7.2 CVS";
  
  // Current version of LCM database
! $lcm_db_version = 53;
  
  // Error reporting
--- 247,257 ----
  
  // Current version of LCM
! $lcm_version = 0.730;
  
  // Current version of LCM shown on screen
! $lcm_version_shown = "0.7.3 CVS";
  
  // Current version of LCM database
! $lcm_db_version = 55;
  
  // Error reporting


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T20:23:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/505">
    <title>legalcase/inc inc_presentation.php,1.252,1.253</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/505</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2405

Modified Files:
inc_presentation.php 
Log Message:
do not show calendar stuff if we are upgrading.. temporary patch otherwise upgrade breaks

Index: inc_presentation.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_presentation.php,v
retrieving revision 1.252
retrieving revision 1.253
diff -C2 -d -r1.252 -r1.253
*** inc_presentation.php30 Jan 2008 19:49:13 -00001.252
--- inc_presentation.php1 Feb 2008 17:29:06 -00001.253
***************
*** 276,283 ****
  
  if ($connect_status == 'admin') {
! echo "
! &lt;div class=\"nav_menu_box\"&gt;
! &lt;div class=\"nav_column_menu_head\"&gt;&lt;div class=\"mm_admin\"&gt;" . _T('menu_admin') . "&lt;/div&gt;&lt;/div&gt;
! &lt;ul class=\"nav_menu_list\"&gt;";
  
  show_navmenu_item("config_site.php", "admin_siteconf");
--- 276,282 ----
  
  if ($connect_status == 'admin') {
! echo "&lt;div class=\"nav_menu_box\"&gt;\n";
! echo "&lt;div class=\"nav_column_menu_head\"&gt;&lt;div class=\"mm_admin\"&gt;" . _T('menu_admin') . "&lt;/div&gt;&lt;/div&gt;\n";
! echo "&lt;ul class=\"nav_menu_list\"&gt;";
  
  show_navmenu_item("config_site.php", "admin_siteconf");
***************
*** 291,387 ****
  
  // Show today's date
! echo "\n";
! echo "&lt;div class=\"nav_menu_box\"&gt;
! &lt;div class=\"nav_column_menu_head\"&gt;
! &lt;div class=\"mm_calendar\"&gt;" . _T('menu_calendar') . "&lt;/div&gt;
! &lt;/div&gt;";
  
! // Show calendar
! include_lcm('inc_calendar');
! $now = date('Y-m-d');
  
! echo "&lt;table border='0' align='center'&gt;&lt;tr&gt;&lt;td&gt;\n"; // Temporary? [ML]
! echo http_calendrier_agenda(mois($now), annee($now), jour($now), mois($now), annee($now), false, 'calendar.php');
! echo "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n";
  
- echo "&lt;/div&gt;\n";
- 
- // Start agenda box
- echo '&lt;div class="nav_menu_box"&gt;' . "\n";
  echo '&lt;div class="nav_column_menu_head"&gt;';
! echo '&lt;div class="mm_agenda"&gt;'. _T('menu_agenda') . '&lt;/div&gt;
! &lt;/div&gt;';
! $events = false;
  
! // Show appointments for today
! $q = "SELECT app.id_app, start_time, type, title
  FROM lcm_app as app, lcm_author_app as aut
  WHERE aut.id_author=" . $GLOBALS['author_session']['id_author'] . "
! AND app.id_app = aut.id_app
! AND " . lcm_query_trunc_field('app.start_time', 'day') . "
! = " . lcm_query_trunc_field('NOW()', 'day') . "
  ORDER BY app.reminder ASC";
  
! $result = lcm_query($q);
  
! if (lcm_num_rows($result) &gt; 0) {
! $events = true;
! $today = getdate(time());
! 
! echo "&lt;p class=\"nav_column_text\"&gt;\n"
! . '&lt;strong&gt;&lt;a class="content_link" href="calendar.php?type=jour'
! . "&amp;amp;jour=" . $today['mday']
! . "&amp;amp;mois=" . $today['mon']
! . "&amp;amp;annee=" . $today['year'] . '"&gt;'
! . _Th('calendar_button_now') . "&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;\n";
! echo "&lt;/p&gt;\n";
! echo "&lt;ul class=\"small_agenda\"&gt;\n";
! while ($row=lcm_fetch_array($result)) {
! echo "&lt;li&gt;&lt;a href=\"app_det.php?app=" . $row['id_app'] . "\"&gt;"
! . heures($row['start_time']) . ':' . minutes($row['start_time']) . " - " . $row['title'] . "&lt;/a&gt;&lt;/li&gt;\n";
  }
- echo "&lt;/ul&gt;\n";
- echo "&lt;hr class=\"hair_line\" /&gt;\n";
- }
  
! // Show next appointments
! $q = "SELECT a.id_app, a.start_time, a.type, a.title
! FROM lcm_app as a, lcm_author_app as aa
! WHERE (aa.id_author = " . $GLOBALS['author_session']['id_author'] . "
! AND a.id_app = aa.id_app
! AND a.start_time &gt;= '" . date('Y-m-d H:i:s',((int) ceil(time()/86400)) * 86400) ."')
! ORDER BY a.reminder ASC
! LIMIT 5";
  
! $result = lcm_query($q);
  
! if (lcm_num_rows($result)&gt;0) {
! $events = true;
! echo "&lt;p class=\"nav_column_text\"&gt;\n";
! echo "&lt;strong&gt;" . _T('calendar_button_nextapps') . "&lt;/strong&gt;&lt;br /&gt;\n";
! echo "&lt;/p&gt;\n";
! 
! echo "&lt;ul class=\"small_agenda\"&gt;\n";
! while ($row=lcm_fetch_array($result)) {
! echo "&lt;li&gt;&lt;a href=\"app_det.php?app=" . $row['id_app'] . "\"&gt;"
! . format_date($row['start_time'],'short') . " - " . $row['title'] . "&lt;/a&gt;&lt;/li&gt;\n";
  }
- echo "&lt;/ul&gt;\n";
- }
  
! if (!$events) {
! echo '&lt;p class="nav_column_text"&gt;' . _T('calendar_info_noacts') . "&lt;/p&gt;\n";
! }
! 
! // my appointments
! echo '&amp;nbsp;&lt;a href="author_det.php?tab=appointments&amp;amp;author=' . $GLOBALS['author_session']['id_author'] . '" title="' . _T('title_agenda_list') . '"&gt;'
! . '&lt;img src="images/jimmac/stock_show-form-dialog.png" border="0" width="16" height="16" alt="" /&gt;&lt;/a&gt;';
! 
! // new appointment
! echo '&amp;nbsp;&lt;a href="edit_app.php?app=0" title="' . _T('app_button_new') . '"&gt;'
! . '&lt;img src="images/jimmac/stock_new-16.png" border="0" width="16" height="16" alt="" /&gt;&lt;/a&gt;';
  
! // End of nav_menu_box for Agenda
! echo "&lt;/div&gt;\n";
  
  // End of "navigation_menu_column" content
--- 290,389 ----
  
  // Show today's date
! if ($title != _T('title_upgrade_database')) {
! echo "&lt;div class=\"nav_menu_box\"&gt;\n";
! echo "&lt;div class=\"nav_column_menu_head\"&gt;\n";
! echo "&lt;div class=\"mm_calendar\"&gt;" . _T('menu_calendar') . "&lt;/div&gt;\n";
!  echo "&lt;/div&gt;\n";
  
! // Show calendar
! include_lcm('inc_calendar');
! $now = date('Y-m-d');
  
! echo "&lt;table border='0' align='center'&gt;&lt;tr&gt;&lt;td&gt;\n"; // Temporary? [ML]
! echo http_calendrier_agenda(mois($now), annee($now), jour($now), mois($now), annee($now), false, 'calendar.php');
! echo "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n";
! 
! echo "&lt;/div&gt;\n";
! 
! // Start agenda box
! echo '&lt;div class="nav_menu_box"&gt;' . "\n";
  
  echo '&lt;div class="nav_column_menu_head"&gt;';
! echo '&lt;div class="mm_agenda"&gt;'. _T('menu_agenda') . "&lt;/div&gt;\n";
! echo "&lt;/div&gt;\n";
  
! $events = false;
! 
! // Show appointments for today
! $q = "SELECT app.id_app, start_time, type, title
  FROM lcm_app as app, lcm_author_app as aut
  WHERE aut.id_author=" . $GLOBALS['author_session']['id_author'] . "
! AND app.id_app = aut.id_app
! AND " . lcm_query_trunc_field('app.start_time', 'day') . "
! = " . lcm_query_trunc_field('NOW()', 'day') . "
  ORDER BY app.reminder ASC";
  
! $result = lcm_query($q);
  
! if (lcm_num_rows($result) &gt; 0) {
! $events = true;
! $today = getdate(time());
! 
! echo "&lt;p class=\"nav_column_text\"&gt;\n"
! . '&lt;strong&gt;&lt;a class="content_link" href="calendar.php?type=jour'
! . "&amp;amp;jour=" . $today['mday']
! . "&amp;amp;mois=" . $today['mon']
! . "&amp;amp;annee=" . $today['year'] . '"&gt;'
! . _Th('calendar_button_now') . "&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;\n";
! echo "&lt;/p&gt;\n";
! echo "&lt;ul class=\"small_agenda\"&gt;\n";
! while ($row=lcm_fetch_array($result)) {
! echo "&lt;li&gt;&lt;a href=\"app_det.php?app=" . $row['id_app'] . "\"&gt;"
! . heures($row['start_time']) . ':' . minutes($row['start_time']) . " - " . $row['title'] . "&lt;/a&gt;&lt;/li&gt;\n";
! }
! echo "&lt;/ul&gt;\n";
! echo "&lt;hr class=\"hair_line\" /&gt;\n";
  }
  
! // Show next appointments
! $q = "SELECT a.id_app, a.start_time, a.type, a.title
! FROM lcm_app as a, lcm_author_app as aa
! WHERE (aa.id_author = " . $GLOBALS['author_session']['id_author'] . "
! AND a.id_app = aa.id_app
! AND a.start_time &gt;= '" . date('Y-m-d H:i:s',((int) ceil(time()/86400)) * 86400) ."')
! ORDER BY a.reminder ASC
! LIMIT 5";
  
! $result = lcm_query($q);
  
! if (lcm_num_rows($result)&gt;0) {
! $events = true;
! echo "&lt;p class=\"nav_column_text\"&gt;\n";
! echo "&lt;strong&gt;" . _T('calendar_button_nextapps') . "&lt;/strong&gt;&lt;br /&gt;\n";
! echo "&lt;/p&gt;\n";
! 
! echo "&lt;ul class=\"small_agenda\"&gt;\n";
! while ($row=lcm_fetch_array($result)) {
! echo "&lt;li&gt;&lt;a href=\"app_det.php?app=" . $row['id_app'] . "\"&gt;"
! . format_date($row['start_time'],'short') . " - " . $row['title'] . "&lt;/a&gt;&lt;/li&gt;\n";
! }
! echo "&lt;/ul&gt;\n";
  }
  
! if (!$events) {
! echo '&lt;p class="nav_column_text"&gt;' . _T('calendar_info_noacts') . "&lt;/p&gt;\n";
! }
  
! // my appointments
! echo '&amp;nbsp;&lt;a href="author_det.php?tab=appointments&amp;amp;author=' . $GLOBALS['author_session']['id_author'] . '" title="' . _T('title_agenda_list') . '"&gt;'
! . '&lt;img src="images/jimmac/stock_show-form-dialog.png" border="0" width="16" height="16" alt="" /&gt;&lt;/a&gt;';
! 
! // new appointment
! echo '&amp;nbsp;&lt;a href="edit_app.php?app=0" title="' . _T('app_button_new') . '"&gt;'
! . '&lt;img src="images/jimmac/stock_new-16.png" border="0" width="16" height="16" alt="" /&gt;&lt;/a&gt;';
! 
! // End of nav_menu_box for Agenda
! echo "&lt;/div&gt;\n";
! }
  
  // End of "navigation_menu_column" content


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-02-01T17:29:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.crm.lcm.cvs/504">
    <title>legalcase/inc inc_obj_fu.php,1.23,1.24</title>
    <link>http://comments.gmane.org/gmane.comp.crm.lcm.cvs/504</link>
    <description>Update of /cvsroot/legalcase/legalcase/inc
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv7773

Modified Files:
inc_obj_fu.php 
Log Message:
fixes a very old bug that made stage changes panic (since the description was overring by SESSION variables.. + commenting out stage_change info because it is also shown (in a more efficient way and less buggy) in show_fu_description()

Index: inc_obj_fu.php
===================================================================
RCS file: /cvsroot/legalcase/legalcase/inc/inc_obj_fu.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** inc_obj_fu.php26 Mar 2007 16:16:47 -00001.23
--- inc_obj_fu.php30 Jan 2008 22:53:42 -00001.24
***************
*** 84,88 ****
  
  // If any, populate with session variables (for error reporting)
! if (isset($_SESSION['form_data'])) {
  foreach($_SESSION['form_data'] as $key =&gt; $value) {
  $nkey = $key;
--- 84,88 ----
  
  // If any, populate with session variables (for error reporting)
! if (isset($_SESSION['form_data']) &amp;&amp; count($_SESSION['errors'])) {
  foreach($_SESSION['form_data'] as $key =&gt; $value) {
  $nkey = $key;
***************
*** 474,480 ****
  
  // Conclusion for case/status change
  if ($this-&gt;data['type'] == 'status_change' || $this-&gt;data['type'] == 'stage_change') {
  $tmp = lcm_unserialize($this-&gt;data['description']);
! 
  echo '&lt;li&gt;'
  . '&lt;span class="label2"&gt;' . _Ti('fu_input_conclusion') .  '&lt;/span&gt;';
--- 474,483 ----
  
  // Conclusion for case/status change
+ /* [ML] 2008-01-30 Should not be necessary, done by get_fu_description()
  if ($this-&gt;data['type'] == 'status_change' || $this-&gt;data['type'] == 'stage_change') {
  $tmp = lcm_unserialize($this-&gt;data['description']);
! 
! var_dump($tmp);
! 
  echo '&lt;li&gt;'
  . '&lt;span class="label2"&gt;' . _Ti('fu_input_conclusion') .  '&lt;/span&gt;';
***************
*** 493,496 ****
--- 496,500 ----
  . "&lt;/li&gt;\n";
  }
+ */
  
  // Description
***************
*** 498,502 ****
  
  echo '&lt;li class="large"&gt;'
! . '&lt;span class="label2"&gt;' . _T('fu_input_description') . '&lt;/span&gt;'
  . '&lt;span class="value2"&gt;' . $desc . '&lt;/span&gt;'
  . "&lt;/li&gt;\n";
--- 502,506 ----
  
  echo '&lt;li class="large"&gt;'
! . '&lt;span class="label2"&gt;' . _Ti('fu_input_description') . '&lt;/span&gt;'
  . '&lt;span class="value2"&gt;' . $desc . '&lt;/span&gt;'
  . "&lt;/li&gt;\n";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Mathieu Lutfy</dc:creator>
    <dc:date>2008-01-30T22:53:44</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.crm.lcm.cvs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.crm.lcm.cvs</link>
  </textinput>
</rdf:RDF>
