[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.historylog.inc.php class.sos...
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/inc class.historylog.inc.php class.sos... |
Date: |
Sun, 12 Aug 2007 09:30:51 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 07/08/12 09:30:51
Modified files:
inc : class.historylog.inc.php
class.sos_agreement.inc.php
class.uis_agreement.inc.php
Log message:
update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.historylog.inc.php?cvsroot=phpgroupware&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.sos_agreement.inc.php?cvsroot=phpgroupware&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uis_agreement.inc.php?cvsroot=phpgroupware&r1=1.42&r2=1.43
Patches:
Index: class.historylog.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.historylog.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- class.historylog.inc.php 10 Aug 2007 13:41:08 -0000 1.16
+++ class.historylog.inc.php 12 Aug 2007 09:30:50 -0000 1.17
@@ -24,7 +24,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage core
- * @version $Id: class.historylog.inc.php,v 1.16 2007/08/10 13:41:08
sigurdne Exp $
+ * @version $Id: class.historylog.inc.php,v 1.17 2007/08/12 09:30:50
sigurdne Exp $
*/
/**
@@ -120,7 +120,6 @@
function add($status,$record_id,$new_value,$old_value
='',$attrib_id='', $date='',$detail_id='')
{
-_debug_array($detail_id);
$attrib_id_field = $this->attrib_id_field;
$attrib_id_value = (isset($attrib_id) && $attrib_id ?
",$attrib_id" : '');
$detail_id_field = $this->detail_id_field;
Index: class.sos_agreement.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.sos_agreement.inc.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- class.sos_agreement.inc.php 10 Aug 2007 13:41:08 -0000 1.28
+++ class.sos_agreement.inc.php 12 Aug 2007 09:30:50 -0000 1.29
@@ -24,7 +24,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage agreement
- * @version $Id: class.sos_agreement.inc.php,v 1.28 2007/08/10 13:41:08
sigurdne Exp $
+ * @version $Id: class.sos_agreement.inc.php,v 1.29 2007/08/12 09:30:50
sigurdne Exp $
*/
/**
@@ -874,7 +874,7 @@
function edit_item($values,$values_attribute='')
{
-_debug_array($values);
+//_debug_array($values);
//_debug_array($values_attribute);
$table = 'fm_s_agreement_detail';
@@ -891,13 +891,14 @@
{
if($entry['datatype'] == 'C' ||
$entry['datatype'] == 'T' || $entry['datatype'] == 'V')
{
- $entry['value'] =
$this->db->db_addslashes($entry['value']);
+
$value_set[$entry['name']] = $this->db->db_addslashes($entry['value']);
}
else
{
$value_set[$entry['name']] = $entry['value'];
}
}
+
if($entry['history'] == 1)
{
$this->db->query("SELECT " .
$entry['name'] . " from $table WHERE agreement_id= " .
$values['s_agreement_id'] . " AND id=" . $values['id'],__LINE__,__FILE__);
Index: class.uis_agreement.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uis_agreement.inc.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- class.uis_agreement.inc.php 10 Aug 2007 13:41:08 -0000 1.42
+++ class.uis_agreement.inc.php 12 Aug 2007 09:30:51 -0000 1.43
@@ -24,7 +24,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage agreement
- * @version $Id: class.uis_agreement.inc.php,v 1.42 2007/08/10 13:41:08
sigurdne Exp $
+ * @version $Id: class.uis_agreement.inc.php,v 1.43 2007/08/12 09:30:51
sigurdne Exp $
*/
/**
@@ -1188,6 +1188,10 @@
'lang_delete_last_statustext'
=> lang('delete the last index'),
'delete_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.uis_agreement.edit_item', 'delete_last'=>1,
's_agreement_id'=> $s_agreement_id, 'id'=> $id)),
+ 'lang_history'
=> lang('history'),
+ 'lang_history_help'
=> lang('history of this attribute'),
+ 'lang_history_date_statustext' => lang('Enter
the date for this reading'),
+
);
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('service agreement') . ': ' . ($values['id']?lang('edit item') . ' ' .
$s_agreement['name']:lang('add item') . ' ' . $s_agreement['name']);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc class.historylog.inc.php class.sos...,
Sigurd Nes <=