projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added confirmation js dialogs for deleting and restoring backup file.
[fa-stable.git]
/
applications
/
application.php
diff --git
a/applications/application.php
b/applications/application.php
index 2b76e2ce9b95da9bd4e8be26b6901c9a0e8d9d6d..9220d14315eadd9ef10d53db4249e52e32a3790f 100644
(file)
--- a/
applications/application.php
+++ b/
applications/application.php
@@
-47,7
+47,7
@@
var $link;
var $access;
var $link;
var $access;
- function app_function($label,$link,$access=
1
)
+ function app_function($label,$link,$access=
'SA_OPEN'
)
{
$this->label = $label;
$this->link = $link;
{
$this->label = $label;
$this->link = $link;
@@
-70,7
+70,7
@@
$this->rappfunctions = array();
}
$this->rappfunctions = array();
}
- function add_lapp_function($label,$link="",$access=
1
)
+ function add_lapp_function($label,$link="",$access=
'SA_OPEN'
)
{
$appfunction = new app_function($label,$link,$access);
//array_push($this->lappfunctions,$appfunction);
{
$appfunction = new app_function($label,$link,$access);
//array_push($this->lappfunctions,$appfunction);
@@
-78,7
+78,7
@@
return $appfunction;
}
return $appfunction;
}
- function add_rapp_function($label,$link="",$access=
1
)
+ function add_rapp_function($label,$link="",$access=
'SA_OPEN'
)
{
$appfunction = new app_function($label,$link,$access);
//array_push($this->rappfunctions,$appfunction);
{
$appfunction = new app_function($label,$link,$access);
//array_push($this->rappfunctions,$appfunction);
@@
-112,12
+112,12
@@
return $module;
}
return $module;
}
- function add_lapp_function($level, $label,$link="",$access=
1
)
+ function add_lapp_function($level, $label,$link="",$access=
'SA_OPEN'
)
{
$this->modules[$level]->lappfunctions[] = new app_function($label, $link, $access);
}
{
$this->modules[$level]->lappfunctions[] = new app_function($label, $link, $access);
}
- function add_rapp_function($level, $label,$link="",$access=
1
)
+ function add_rapp_function($level, $label,$link="",$access=
'SA_OPEN'
)
{
$this->modules[$level]->rappfunctions[] = new app_function($label, $link, $access);
}
{
$this->modules[$level]->rappfunctions[] = new app_function($label, $link, $access);
}