[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [20865] Delete obsolete
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [20865] Delete obsolete |
Date: |
Fri, 20 Nov 2009 12:35:09 +0000 |
Revision: 20865
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20865
Author: sigurdne
Date: 2009-11-20 12:35:08 +0000 (Fri, 20 Nov 2009)
Log Message:
-----------
Delete obsolete
Removed Paths:
-------------
people/sigurdne/modules/sms/trunk/bin/config_BR
people/sigurdne/modules/sms/trunk/bin/config_BR_log
people/sigurdne/modules/sms/trunk/bin/config_SD
people/sigurdne/modules/sms/trunk/bin/config_SD_log
people/sigurdne/modules/sms/trunk/bin/config_ST
people/sigurdne/modules/sms/trunk/bin/config_STATUS_log
people/sigurdne/modules/sms/trunk/bin/config_ST_log
people/sigurdne/modules/sms/trunk/bin/config_VASK
people/sigurdne/modules/sms/trunk/bin/config_VASK_log
people/sigurdne/modules/sms/trunk/bin/log_firealarm.php
people/sigurdne/modules/sms/trunk/bin/receipt_service_agreement.php
people/sigurdne/modules/sms/trunk/bin/set_workorder_status.php
Deleted: people/sigurdne/modules/sms/trunk/bin/config_BR
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_BR 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_BR 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,60 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "BR" - (Br\xF8yting) "snow clearing"
in Norwegian - as example - as it is configured at BBB
- */
-
- $agreement = array(48089,48329);
-
- $limit = array
- (
- 48089 => ' AND id > 0 AND id < 131',
- 48329 => ' AND id > 0 AND id < 43'
- );
-
- if(isset($param[0]) && $param[0])
- {
- $location_code = implode('',$param);
-
- foreach ($agreement as $agreement_id)
- {
- $sql = "SELECT id from fm_s_agreement_detail WHERE
agreement_id = $agreement_id AND location_code ilike '" . $location_code . "%'";
- $this->db->query($sql,__LINE__,__FILE__);
- if($this->db->f('id'))
- {
- break;
- }
- else
- {
- $agreement_id = false;
- }
- }
- }
-
- $id_field = 'location_code';
- $target_field = 'kvittering';
-
- if($agreement_id && isset($param[0]) && $param[0])
- {
- $location_code = implode('',$param);
- $filter = "WHERE agreement_id = $agreement_id AND location_code
ilike '" . $location_code . "%'" . $limit[$agreement_id];
- }
-
- $this->db->query("SELECT id FROM fm_s_agreement_attribute WHERE
column_name = '$target_field' AND attrib_detail=2",__LINE__,__FILE__);
- $this->db->next_record();
- $attrib_id = $this->db->f('id');
- $receipt= 'Br\xF8yting: ';
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_BR_log
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_BR_log 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_BR_log 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,43 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "BR" - (Br\xF8yting) "snow clearing"
in Norwegian - as example - as it is configured at BBB
- * This file is for redirecting from log items to the subject of the
log
- */
-
- $agreement = array(48089,48329);
-
- foreach ($agreement as $agreement_id)
- {
- $sql = "SELECT id from fm_s_agreement_detail WHERE agreement_id
= $agreement_id AND location_code ilike '" . $param . "%'";
- $this->db->query($sql,__LINE__,__FILE__);
- if($this->db->f('id'))
- {
- break;
- }
- else
- {
- $agreement_id = 0;
- }
- }
-
- $link_data = array
- (
- 'menuaction' => 'property.uis_agreement.view',
- 'id' => $agreement_id
- );
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_SD
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_SD 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_SD 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,33 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id$
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "SD" - short for "noxious animal in
Norwegian" - as example - as it is configured at BBB
- */
-
- $agreement_id = 31793;
- $id_field = 'location_code';
- $target_field = 'kvittering';
-
- if($agreement_id && isset($param[0]) && $param[0])
- {
- $filter = "WHERE agreement_id = $agreement_id AND location_code
ilike '" . $param[0] . "%'";
- }
-
- $this->db->query("SELECT id FROM fm_s_agreement_attribute WHERE
column_name = '$target_field' AND attrib_detail=2",__LINE__,__FILE__);
- $this->db->next_record();
- $attrib_id = $this->db->f('id');
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_SD_log
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_SD_log 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_SD_log 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,29 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "SD" - short for "noxious animal in
Norwegian" - as example - as it is configured at BBB
- * This file is for redirecting from log items to the subject of the
log
- */
-
- $agreement_id = '31793';
-
- $link_data = array
- (
- 'menuaction' => 'property.uis_agreement.view',
- 'id' => $agreement_id
- );
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_ST
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_ST 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_ST 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,60 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "ST" - (Str\xF8ing) "sanding the ice"
in Norwegian - as example - as it is configured at BBB
- */
-
- $agreement = array(48089,48329);
-
- $limit = array
- (
- 48089 => ' AND id > 0 AND id < 131',
- 48329 => ' AND id > 0 AND id < 43'
- );
-
- if(isset($param[0]) && $param[0])
- {
- $location_code = implode('',$param);
-
- foreach ($agreement as $agreement_id)
- {
- $sql = "SELECT id from fm_s_agreement_detail WHERE
agreement_id = $agreement_id AND location_code ilike '" . $location_code . "%'";
- $this->db->query($sql,__LINE__,__FILE__);
- if($this->db->f('id'))
- {
- break;
- }
- else
- {
- $agreement_id = false;
- }
- }
- }
-
- $id_field = 'location_code';
- $target_field = 'kvittering';
-
- if($agreement_id && isset($param[0]) && $param[0])
- {
- $location_code = implode('',$param);
- $filter = "WHERE agreement_id = $agreement_id AND location_code
ilike '" . $location_code . "%'" . $limit[$agreement_id];
- }
-
- $this->db->query("SELECT id FROM fm_s_agreement_attribute WHERE
column_name = '$target_field' AND attrib_detail=2",__LINE__,__FILE__);
- $this->db->next_record();
- $attrib_id = $this->db->f('id');
- $receipt= 'Str\xF8ing: ';
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_STATUS_log
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_STATUS_log 2009-11-20
12:34:52 UTC (rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_STATUS_log 2009-11-20
12:35:08 UTC (rev 20865)
@@ -1,29 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "STATUS" - (setting status of
workorders) as example - as it is configured at BBB
- * This file is for redirecting from log items to the subject of the
log
- */
-
- $param = explode(' ' , $param);
-
- $link_data = array
- (
- 'menuaction' => 'property.uiworkorder.view',
- 'id' => $param[0]
- );
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_ST_log
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_ST_log 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_ST_log 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,43 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "ST" - (Str\xF8ing) "sanding the ice"
in Norwegian - as example - as it is configured at BBB
- * This file is for redirecting from log items to the subject of the
log
- */
-
- $agreement = array(48089,48329);
-
- foreach ($agreement as $agreement_id)
- {
- $sql = "SELECT id from fm_s_agreement_detail WHERE agreement_id
= $agreement_id AND location_code ilike '" . $param . "%'";
- $this->db->query($sql,__LINE__,__FILE__);
- if($this->db->f('id'))
- {
- break;
- }
- else
- {
- $agreement_id = 0;
- }
- }
-
- $link_data = array
- (
- 'menuaction' => 'property.uis_agreement.view',
- 'id' => $agreement_id
- );
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_VASK
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_VASK 2009-11-20 12:34:52 UTC
(rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_VASK 2009-11-20 12:35:08 UTC
(rev 20865)
@@ -1,34 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id$
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "VASK" - cleaning in Norwegian - as
example - as it is configured at BBB
- */
-
- $agreement_id = '22331';
- $id_field = 'location_code';
- $target_field = 'kvittering';
-
- if($agreement_id && isset($param[0]) && $param[0])
- {
- $location_code = implode('',$param);
- $filter = "WHERE agreement_id = $agreement_id AND location_code
ilike '" . $location_code . "%'";
- }
-
- $this->db->query("SELECT id FROM fm_s_agreement_attribute WHERE
column_name = '$target_field' AND attrib_detail=2",__LINE__,__FILE__);
- $this->db->next_record();
- $attrib_id = $this->db->f('id');
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/config_VASK_log
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/config_VASK_log 2009-11-20
12:34:52 UTC (rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/config_VASK_log 2009-11-20
12:35:08 UTC (rev 20865)
@@ -1,29 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id: config_VASK 18297 2007-10-03 13:34:09Z sigurdne $
- */
-
- /**
- * Description
- * @package sms
- * Config values for SMS-command "VASK" - cleaning in Norwegian - as
example - as it is configured at BBB
- * This file is for redirecting from log items to the subject of the
log
- */
-
- $agreement_id = '22331';
-
- $link_data = array
- (
- 'menuaction' => 'property.uis_agreement.view',
- 'id' => $agreement_id
- );
-
-?>
Deleted: people/sigurdne/modules/sms/trunk/bin/log_firealarm.php
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/log_firealarm.php 2009-11-20
12:34:52 UTC (rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/log_firealarm.php 2009-11-20
12:35:08 UTC (rev 20865)
@@ -1,50 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id$
- */
-
- /**
- * Description
- * @package sms
- */
-
- $entity_id = 1;
- $cat_id = 2;
- $id_field ='securitnet_nr';
- $dateformat= "Y-m-d"; //postgres
-
- $entity_table = 'fm_entity_' . $entity_id .'_' . $cat_id;
-
- $this->db->query("SELECT id FROM fm_entity_attribute where entity_id =
'$entity_id' AND cat_id = '$cat_id' AND column_name =
'last_alarm'",__LINE__,__FILE__);
- $this->db->next_record();
- $attrib_id = $this->db->f('id');
-
- $param = explode(' ' , $command_param);
-
- if (ctype_digit($param[0]))
- {
- $id = $param[0];
- // $status = $status_code[$param[1]];
-
- $this->db->query("SELECT id as record_id FROM $entity_table
WHERE $id_field='$id'",__LINE__,__FILE__);
- if($this->db->next_record())
- {
- $record_id = $this->db->f('record_id');
- $date = date($dateformat,time());
-
- $this->db->query("UPDATE $entity_table set last_alarm
='$date' WHERE $id_field='$id'" ,__LINE__,__FILE__);
- $historylog =
CreateObject('property.historylog','entity_' . $entity_id .'_' . $cat_id);
- // temporary - fix this
- $historylog->account = 6;
- $historylog->add('SO',$record_id,$date,False,
$attrib_id);
- $command_output = 'success';
- }
- }
Deleted: people/sigurdne/modules/sms/trunk/bin/receipt_service_agreement.php
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/receipt_service_agreement.php
2009-11-20 12:34:52 UTC (rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/receipt_service_agreement.php
2009-11-20 12:35:08 UTC (rev 20865)
@@ -1,43 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id$
- */
-
- /**
- * Description
- * @package sms
- */
-
- $param = explode(' ' , $command_param);
- $receipt ='';
-
- include(PHPGW_SERVER_ROOT . '/sms/bin/config_' .
strtoupper(basename($command_code)));
- if(isset($filter) && $filter)
- {
- $sql = "SELECT id from fm_s_agreement_detail $filter";
- $this->db->query($sql,__LINE__,__FILE__);
-
- if($this->db->next_record() && $agreement_id && $attrib_id)
- {
- $id = $this->db->f('id');
- $value = $receipt . $sms_datetime . ' (' . $sms_sender
. ')';
-
- $this->db->query("UPDATE fm_s_agreement_detail set
$target_field = '$value' WHERE agreement_id = $agreement_id AND id=$id"
,__LINE__,__FILE__);
- $historylog =
CreateObject('property.historylog','s_agreement');
- $historylog->account = 6;
- $historylog->add('SO',$agreement_id ,$receipt .
$sms_sender,False, $attrib_id,strtotime($sms_datetime),$id);
- $command_output = 'success';
- $this->account = 6;
- $this->websend2pv('Admin',$sms_sender,'Takk for det! -
Melding er mottatt','text','0');
- }
- }
-
-
Deleted: people/sigurdne/modules/sms/trunk/bin/set_workorder_status.php
===================================================================
--- people/sigurdne/modules/sms/trunk/bin/set_workorder_status.php
2009-11-20 12:34:52 UTC (rev 20864)
+++ people/sigurdne/modules/sms/trunk/bin/set_workorder_status.php
2009-11-20 12:35:08 UTC (rev 20865)
@@ -1,42 +0,0 @@
-<?php
- /**
- * phpGroupWare - sms: A SMS Gateway
- *
- * @author Sigurd Nes <address@hidden>
- * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
- * @package sms
- * @subpackage sms
- * @version $Id$
- */
-
- /**
- * Description
- * @package sms
- */
-
- $status_code = array(
- 1 => 'closed',
- 2 => 'ikke_tilgang',
- 3 => 'i_arbeid',
- );
-
- $param = explode(' ' , $command_param);
-
- if (ctype_digit($param[0]) && ctype_digit($param[1]))
- {
- $workorder_id = $param[0];
- $status = $status_code[$param[1]];
-
- $this->db->query("SELECT status FROM fm_workorder where
id='$workorder_id'",__LINE__,__FILE__);
- if($this->db->next_record())
- {
- $this->db->query("UPDATE fm_workorder set status =
'$status' WHERE id='$workorder_id'" ,__LINE__,__FILE__);
- $historylog =
CreateObject('property.historylog','workorder');
- // temporary - fix this
- $historylog->account = 6;
- $historylog->add('S',$workorder_id,$status . ': endret
av: ' . $sms_sender);
- $command_output = 'success';
- }
- }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [20865] Delete obsolete,
Sigurd Nes <=