projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e16a57a
)
Add more fields for editing, adjust select backend
author
Joey Schulze
<joey@infodrom.org>
Thu, 25 Feb 2010 16:33:28 +0000
(17:33 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 25 Feb 2010 16:33:28 +0000
(17:33 +0100)
masks/sys_mask.php
patch
|
blob
|
history
diff --git
a/masks/sys_mask.php
b/masks/sys_mask.php
index
6ae3e64
..
7a28506
100644
(file)
--- a/
masks/sys_mask.php
+++ b/
masks/sys_mask.php
@@
-4,7
+4,7
@@
function discover_masks()
{
$info = array();
- if (($d = opendir('masks')) === false)
+ if (($d = opendir(
$_SESSION['sys']['basedir'].
'masks')) === false)
return $info;
while (($file = readdir($d)) !== false)
@@
-94,6
+94,16
@@
$mask = array(
'options' => 'SELECT id,name AS text FROM sys_menu ORDER BY name',
'size' => 10,
),
+ 'edit' => array(
+ 'name' => 'Edit',
+ 'type' => 'boolean',
+ 'size' => 10,
+ ),
+ 'priority' => array(
+ 'name' => 'Priorität',
+ 'type' => 'number',
+ 'size' => 10,
+ ),
),
);