lib/templates/pobject/dialog.add.form.data.php 1 location
|
@@ 18-26 (lines=9) @@
|
15 |
|
$wgWizCallObject->error = $this->error; |
16 |
|
|
17 |
|
$configcache=$ARConfig->cache[$this->path]; // use parent path |
18 |
|
if ($configcache->custom) { |
19 |
|
foreach( $configcache->custom as $key => $definition ) { |
20 |
|
if (($definition["type"]==$arNewType) || // use new type |
21 |
|
($definition["inherit"] && ($wgWizCallObject->AR_implements($definition["type"])))) { // check new object |
22 |
|
$hascustomdata=true; |
23 |
|
break; |
24 |
|
} |
25 |
|
} |
26 |
|
} |
27 |
|
|
28 |
|
include($this->store->get_config("code")."widgets/wizard/code.php"); |
29 |
|
|
lib/templates/pobject/dialog.edit.php 1 location
|
@@ 6-14 (lines=9) @@
|
3 |
|
$ARCurrent->allnls = true; |
4 |
|
if ($this->CheckLogin("edit") && $this->CheckConfig()) { |
5 |
|
$configcache=$ARConfig->cache[$this->path]; |
6 |
|
if ($configcache->custom) { |
7 |
|
foreach( $configcache->custom as $key => $definition ) { |
8 |
|
if (($definition["type"]==$this->type) || |
9 |
|
($definition["inherit"] && ($this->implements($definition["type"])))) { |
10 |
|
$hascustomdata=true; |
11 |
|
break; |
12 |
|
} |
13 |
|
} |
14 |
|
} |
15 |
|
|
16 |
|
include($this->store->get_config("code")."widgets/wizard/code.php"); |
17 |
|
|
lib/templates/pobject/dialog.new.php 1 location
|
@@ 21-29 (lines=9) @@
|
18 |
|
$hascustomdata=false; |
19 |
|
|
20 |
|
$configcache=$ARConfig->cache[$this->path]; // use parent path |
21 |
|
if ($configcache->custom) { |
22 |
|
foreach( $configcache->custom as $key => $definition ) { |
23 |
|
if (($definition["type"]==$arNewType) || // use new type |
24 |
|
($definition["inherit"] && ($wgWizCallObject->AR_implements($definition["type"])))) { // check new object |
25 |
|
$hascustomdata=true; |
26 |
|
break; |
27 |
|
} |
28 |
|
} |
29 |
|
} |
30 |
|
|
31 |
|
include($this->store->get_config("code")."widgets/wizard/code.php"); |
32 |
|
|
lib/templates/pshortcut/dialog.edit.shortcut.php 1 location
|
@@ 6-14 (lines=9) @@
|
3 |
|
if ($this->CheckLogin("edit") && $this->CheckConfig()) { |
4 |
|
$configcache=$ARConfig->cache[$this->path]; |
5 |
|
$hascustomdata=false; |
6 |
|
if ($configcache->custom) { |
7 |
|
foreach ($configcache->custom as $key => $definition ) { |
8 |
|
if (($definition["type"]==$this->type) || |
9 |
|
($definition["inherit"] && ($this->implements($definition["type"])))) { |
10 |
|
$hascustomdata=true; |
11 |
|
break; |
12 |
|
} |
13 |
|
} |
14 |
|
} |
15 |
|
|
16 |
|
include($this->store->get_config("code")."widgets/wizard/code.php"); |
17 |
|
|