in['path'], -1, PREG_SPLIT_NO_EMPTY);
$html = '[' . BSRegister::Get('input')->in['repos'] . ']: ';
if (empty($path))
{
return $html . '/';
}
$build = '';
foreach ($path AS $part)
{
$build .= '/' . $part;
$html .= '/ ' . $part . ' ';
}
return $html;
}
// ###################################################################
/**
* Formats an array of properties into a compiled HTML template
*
* @param array Array of properties
*
* @return string Compiled HTML property list
*/
function FormatPropList($props)
{
if (sizeof($props) < 0)
{
return '';
}
foreach ($props AS $propname => $propval)
{
$data = sprintf(_('Property %1$s set to %2$s'), $propname, $propval);
eval('$proplist .= "' . BSRegister::Get('template')->fetch('property') . '";');
}
return $proplist;
}
/*=====================================================================*\
|| ###################################################################
|| # $HeadURL$
|| # $Id$
|| ###################################################################
\*=====================================================================*/
?>