[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.ui_sync.inc.php, 1.18
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.ui_sync.inc.php, 1.18 |
Date: |
Wed, 12 May 2004 18:05:21 +0200 |
Update of /sync/inc
Modified Files:
Branch:
class.ui_sync.inc.php
date: 2004/05/12 16:05:21; author: mleonhardt; state: Exp; lines: +5 -2
Log Message:
- reask user when deleting devices
=====================================================================
Index: sync/inc/class.ui_sync.inc.php
diff -u sync/inc/class.ui_sync.inc.php:1.17 sync/inc/class.ui_sync.inc.php:1.18
--- sync/inc/class.ui_sync.inc.php:1.17 Mon May 3 15:04:17 2004
+++ sync/inc/class.ui_sync.inc.php Wed May 12 16:05:21 2004
@@ -413,6 +413,8 @@
$this->template->set_var('head_delete', lang('head_delete'));
$devicelisttable = $this->template->fp('sync_template','table_header');
+ $this->template->set_var('askfordelete', sprintf('"' .
lang('askfordelete') . '"', '"+s+"'));
+
// all devices of user $phpgw_userlid
$devicelist = array();
if ($this->so->GetDeviceList($phpgw_userid, $devicelist)) {
@@ -456,6 +458,7 @@
function deletedevice()
{
$del_device_id = get_var('del_device_id');
+ $validated = get_var('validated');
if ($this->so->DeleteDevice($del_device_id) >= 0)
{
$status1 = lang('status_ok');
@@ -467,7 +470,7 @@
$status2 = lang('status_not');
}
$this->last_operation_status = sprintf(lang('status_deldevice'),
- $status1, $status2, $this->bo->getDeviceName($del_device_id));
+ $status1, $this->bo->getDeviceName($del_device_id), $status2);
$this->listdevices();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.ui_sync.inc.php, 1.18,
nomail <=