From d53632ec09694dfe06fa4eb0f4a1e45dd334cc29 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 23 Nov 2002 20:44:05 +0000 Subject: [PATCH] use the new format for prefs --- infolog/inc/class.uiinfolog.inc.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index 6fe635aebf..3c52df03f2 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -1488,7 +1488,15 @@ ++$i; } while ($valid); - $GLOBALS['phpgw']->template->fp('phpgw_body','info_admin'); + if ($this->tmpl->stable) + { + echo parse_navbar(); + $GLOBALS['phpgw']->template->pfp('phpgw_body','info_admin'); + } + else + { + $GLOBALS['phpgw']->template->fp('phpgw_body','info_admin'); + } } function preferences( ) @@ -1551,7 +1559,15 @@ } $GLOBALS['phpgw']->template->parse('pref_lines','pref_line',True); } - $GLOBALS['phpgw']->template->fp('phpgw_body','info_prefs'); + if ($this->tmpl->stable) + { + echo parse_navbar(); + $GLOBALS['phpgw']->template->pfp('phpgw_body','info_prefs'); + } + else + { + $GLOBALS['phpgw']->template->fp('phpgw_body','info_prefs'); + } } /*!