not needet by end-user
This commit is contained in:
parent
6f9f64ca71
commit
3771928cc9
2 changed files with 0 additions and 50 deletions
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
/*
|
||||
this is used to extract all "label"-fields from metadataform for adding to localizer
|
||||
*/
|
||||
|
||||
include ('metadata.inc.php');
|
||||
|
||||
function flat($in)
|
||||
{
|
||||
global $ret;
|
||||
|
||||
foreach ($in as $key=>$val) {
|
||||
if (is_array($val)) {
|
||||
flat($val);
|
||||
} else {
|
||||
if ($key==='label')
|
||||
echo "##$val##\r";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#print_r($mask);
|
||||
flat($mask);
|
||||
?>
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
/*
|
||||
this is used to extract relations between label and fieldname from metadataform.
|
||||
*/
|
||||
|
||||
include ('metadata.inc.php');
|
||||
|
||||
function flat($in)
|
||||
{
|
||||
global $ret;
|
||||
|
||||
foreach ($in as $key=>$val) {
|
||||
if (is_array($val)) {
|
||||
flat($val);
|
||||
} else {
|
||||
if ($key==='label')
|
||||
echo "'".$in['element']."' => '".$in['label']."',<br>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#print_r($mask);
|
||||
flat($mask);
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue