not needet by end-user

This commit is contained in:
sebastian 2005-08-03 12:11:10 +00:00
parent 6f9f64ca71
commit 3771928cc9
2 changed files with 0 additions and 50 deletions

View file

@ -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);
?>

View file

@ -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);
?>