mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:20 +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', 'object');
|
||||
$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','params');
|
||||
$GLOBALS['template']->set_block('tpl_file','param_entry');
|
||||
@ -336,11 +337,16 @@
|
||||
while(list($object_key, $object_value) = each($group_value))
|
||||
{
|
||||
$GLOBALS['template']->set_var('object_name',$object_key);
|
||||
// while(list($object_key, $object_value) = each($group_value))
|
||||
// {
|
||||
// }
|
||||
|
||||
$GLOBALS['template']->fp('group_contents','object',True);
|
||||
if(is_array($object_value))
|
||||
{
|
||||
while(list($docline_key, $docline_value) = each($object_value))
|
||||
{
|
||||
$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);
|
||||
}
|
||||
|
@ -33,9 +33,13 @@
|
||||
<!-- END reference_list_of_types -->
|
||||
|
||||
<!-- BEGIN abstract -->
|
||||
<R>Abstract: {abstract}</P>
|
||||
Abstract: {abstract}<br>
|
||||
<!-- END abstract -->
|
||||
|
||||
<!-- BEGIN generic -->
|
||||
{generic_name}: {generic_value}<br>
|
||||
<!-- END generic -->
|
||||
|
||||
<!-- BEGIN params -->
|
||||
<TABLE border="1">
|
||||
<TR>
|
||||
|
Loading…
Reference in New Issue
Block a user