[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13359] class.uijasper
From: |
Saul |
Subject: |
[Fmsystem-commits] [13359] class.uijasper |
Date: |
Thu, 04 Jun 2015 22:32:24 +0000 |
Revision: 13359
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13359
Author: psaul
Date: 2015-06-04 22:32:24 +0000 (Thu, 04 Jun 2015)
Log Message:
-----------
class.uijasper
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uijasper.inc.php
Modified: branches/dev-syncromind/property/inc/class.uijasper.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uijasper.inc.php 2015-06-04
22:32:03 UTC (rev 13358)
+++ branches/dev-syncromind/property/inc/class.uijasper.inc.php 2015-06-04
22:32:24 UTC (rev 13359)
@@ -619,6 +619,7 @@
function edit()
{
+
if(!$this->acl_add && !$this->acl_edit)
{
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=>
'property.uilocation.stop', 'perm'=>2, 'acl_location'=> $this->acl_location));
@@ -626,7 +627,7 @@
$id = phpgw::get_var('id', 'int');
$values = phpgw::get_var('values');
-
+
$tabs = array();
$tabs['general'] = array('label' =>
lang('general'), 'link' => '#general');
$active_tab = 'general';
@@ -749,7 +750,13 @@
{
$function_msg = lang('add report');
}
-
+
+ $link_data_cancel = array
+ (
+ 'menuaction' =>
'property.uijasper.index',
+ 'app' => $this->app
+ );
+
$link_data = array
(
'menuaction' =>
'property.uijasper.save',
@@ -837,6 +844,7 @@
'datatable_def' => $datatable_def,
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
'form_action'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
+ 'form_cancel' =>
$GLOBALS['phpgw']->link('/index.php',$link_data_cancel),
'value_app'
=> $this->app,
'value_id'
=> $id,
'value_file_name'
=> $values['file_name'],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13359] class.uijasper,
Saul <=