mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 00:49:04 +01:00
now they actually create a bit of useful html documents
This commit is contained in:
parent
193c99f669
commit
dda262cfea
@ -323,6 +323,7 @@
|
|||||||
$GLOBALS['template']->set_block('tpl_file', 'group');
|
$GLOBALS['template']->set_block('tpl_file', 'group');
|
||||||
$GLOBALS['template']->set_block('tpl_file', 'object');
|
$GLOBALS['template']->set_block('tpl_file', 'object');
|
||||||
$GLOBALS['template']->set_block('tpl_file','border_bottom');
|
$GLOBALS['template']->set_block('tpl_file','border_bottom');
|
||||||
|
$GLOBALS['template']->set_block('tpl_file','generic');
|
||||||
$GLOBALS['template']->set_block('tpl_file','abstract');
|
$GLOBALS['template']->set_block('tpl_file','abstract');
|
||||||
$GLOBALS['template']->set_block('tpl_file','params');
|
$GLOBALS['template']->set_block('tpl_file','params');
|
||||||
$GLOBALS['template']->set_block('tpl_file','param_entry');
|
$GLOBALS['template']->set_block('tpl_file','param_entry');
|
||||||
@ -336,11 +337,16 @@
|
|||||||
while(list($object_key, $object_value) = each($group_value))
|
while(list($object_key, $object_value) = each($group_value))
|
||||||
{
|
{
|
||||||
$GLOBALS['template']->set_var('object_name',$object_key);
|
$GLOBALS['template']->set_var('object_name',$object_key);
|
||||||
// while(list($object_key, $object_value) = each($group_value))
|
if(is_array($object_value))
|
||||||
// {
|
{
|
||||||
// }
|
while(list($docline_key, $docline_value) = each($object_value))
|
||||||
|
{
|
||||||
$GLOBALS['template']->fp('group_contents','object',True);
|
$GLOBALS['template']->set_var('generic_name',$docline_key);
|
||||||
|
$GLOBALS['template']->set_var('generic_value',$docline_value[0]);
|
||||||
|
$GLOBALS['template']->fp('object_contents','generic',True);
|
||||||
|
}
|
||||||
|
$GLOBALS['template']->fp('group_contents','object',True);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$GLOBALS['template']->fp('doc','group',True);
|
$GLOBALS['template']->fp('doc','group',True);
|
||||||
}
|
}
|
||||||
|
@ -33,9 +33,13 @@
|
|||||||
<!-- END reference_list_of_types -->
|
<!-- END reference_list_of_types -->
|
||||||
|
|
||||||
<!-- BEGIN abstract -->
|
<!-- BEGIN abstract -->
|
||||||
<R>Abstract: {abstract}</P>
|
Abstract: {abstract}<br>
|
||||||
<!-- END abstract -->
|
<!-- END abstract -->
|
||||||
|
|
||||||
|
<!-- BEGIN generic -->
|
||||||
|
{generic_name}: {generic_value}<br>
|
||||||
|
<!-- END generic -->
|
||||||
|
|
||||||
<!-- BEGIN params -->
|
<!-- BEGIN params -->
|
||||||
<TABLE border="1">
|
<TABLE border="1">
|
||||||
<TR>
|
<TR>
|
||||||
|
Loading…
Reference in New Issue
Block a user