[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/custom/organize_drawing.php, 1.1.2.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/custom/organize_drawing.php, 1.1.2.2 |
Date: |
Fri, 5 Nov 2004 21:42:16 +0100 |
Update of /property/inc/custom
Modified Files:
Branch: proposed-0_9_18-branch
organize_drawing.php
date: 2004/11/05 20:42:16; author: sigurdne; state: Exp; lines: +16 -5
Log Message:
no message
=====================================================================
Index: property/inc/custom/organize_drawing.php
diff -u property/inc/custom/organize_drawing.php:1.1.2.1
property/inc/custom/organize_drawing.php:1.1.2.2
--- property/inc/custom/organize_drawing.php:1.1.2.1 Fri Nov 5 15:09:49 2004
+++ property/inc/custom/organize_drawing.php Fri Nov 5 20:42:16 2004
@@ -7,7 +7,19 @@
$this->currentapp =
$GLOBALS['phpgw_info']['flags']['currentapp'];
$this->bocommon =
CreateObject($this->currentapp.'.bocommon');
- $confirm = get_var('confirm',array('POST'));
+ }
+
+ function pre_run($data='')
+ {
+
+ if($data['enabled']==1)
+ {
+ $confirm = True;
+ }
+ else
+ {
+ $confirm =
get_var('confirm',array('POST'));
+ }
$link_data = array
(
@@ -15,9 +27,9 @@
'function' =>'organize_drawing'
);
- if (get_var('confirm',array('POST')))
+ if ($confirm)
{
- $receipt= $this->run();
+ $receipt= $this->execute();
}
else
{
@@ -52,13 +64,12 @@
}
- function run()
+ function execute()
{
$debug = get_var('debug',array('POST','GET'));
_debug_array($_GET);
_debug_array($debug);
}
-
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/custom/organize_drawing.php, 1.1.2.2,
nomail <=