forked from extern/egroupware
updating for my netscape 4.x patches
This commit is contained in:
parent
1a8bab5e44
commit
273c381628
@ -350,12 +350,21 @@
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_table_height','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_frame_height','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_scrolling','AUTO');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_table_width','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_frame_width','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_scrolling','AUTO');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_table_height','100%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_table_width','100%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_frame_height','*');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_frame_width','*');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_scrolling','AUTO');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_right_table_width','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_right_frame_width','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_right_scrolling','AUTO');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_table_height','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_frame_height','0');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_scrolling','AUTO');
|
||||
|
@ -11,9 +11,15 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_table_height','10%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_table_width','5%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_right_table_width','5%');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_table_height','5%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_frame_height','45');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_table_height','5%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_scrolling','NO');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_table_width','90%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_table_height','89%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_table_height','1%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_frame_height','40');
|
||||
|
||||
function parse_toppart($output)
|
||||
@ -105,7 +111,7 @@
|
||||
$GLOBALS['phpgw']->template->set_file('parts','parts.tpl');
|
||||
$GLOBALS['phpgw']->template->set_block('parts','bottom_part');
|
||||
$var = Array(
|
||||
'msg' => "<p><p>\n".lang('Powered by phpGroupWare version x',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']).'<p>',
|
||||
'msg' => lang('Powered by phpGroupWare version x',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']),
|
||||
'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']
|
||||
);
|
||||
$GLOBALS['phpgw']->template->set_var($var);
|
||||
@ -116,3 +122,4 @@
|
||||
$GLOBALS['phpgw']->template->set_var($output,'');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,21 +5,16 @@
|
||||
{applications}
|
||||
</TR>
|
||||
</TABLE>
|
||||
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<TR>
|
||||
<TD align="left">{powered_by}</TD>
|
||||
<TD align="right">{current_users}</TD>
|
||||
<TABLE width="100%" height="1%" border="0" cellspacing="0" cellpadding="0">
|
||||
<TR bgcolor="{navbar_bg}">
|
||||
<TD align="left">{powered_by} </TD>
|
||||
<TD align="right"> {current_users}</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<CENTER>{messages}</CENTER>
|
||||
<!-- END top_part -->
|
||||
|
||||
<!-- BEGIN bottom_part -->
|
||||
<TABLE border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="{navbar_bg}">
|
||||
<TR>
|
||||
<TD align="CENTER">{msg}<BR></TD>
|
||||
</TR>
|
||||
</Table>
|
||||
<TABLE border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="{navbar_bg}"><TR><TD valign="middle" align="CENTER">{msg}</TD></TR></Table>
|
||||
<!-- END bottom_part -->
|
||||
|
||||
<!-- BEGIN top_part_app -->
|
||||
|
@ -21,15 +21,15 @@
|
||||
<TD width="100%" height="{phpgw_top_table_height}" align="left" valign="top" colspan="3">{phpgw_top}</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD width="{phpgw_left_table_width}" height="100%" align="left" valign="top">{phpgw_left}</TD>
|
||||
<TD width="100%" height="100%" align="left" valign="top">
|
||||
<TD width="{phpgw_left_table_width}" height="{phpgw_body_table_height}" align="left" valign="top">{phpgw_left}</TD>
|
||||
<TD width="{phpgw_body_table_width}" height="{phpgw_body_table_height}" align="left" valign="top">
|
||||
{phpgw_msgbox}
|
||||
<!-- END phpgw_main_tables_start -->
|
||||
|
||||
<!-- BEGIN phpgw_main_tables_end -->
|
||||
{phpgw_body}
|
||||
</TD>
|
||||
<TD width="{phpgw_right_table_width}" height="100%" align="right" valign="top">{phpgw_right}</TD>
|
||||
<TD width="{phpgw_right_table_width}" height="{phpgw_body_table_height}" align="right" valign="top">{phpgw_right}</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD width="100%" height="{phpgw_bottom_table_height}" align="left" valign="top" colspan="3">{phpgw_bottom}</TD>
|
||||
@ -79,9 +79,9 @@
|
||||
<LINK REL="ICON" href="{phpgw_head_browser_ico}" type="image/x-ico">
|
||||
<LINK REL="SHORTCUT ICON" href="{phpgw_head_browser_ico}">
|
||||
<TITLE>{phpgw_head_website_title}</TITLE>
|
||||
<FRAMESET frameborder="0" border="0" framespacing="0" ROWS="{phpgw_top_frame_height},*,{phpgw_bottom_frame_height}">
|
||||
<FRAMESET frameborder="0" border="0" framespacing="0" ROWS="{phpgw_top_frame_height},{phpgw_body_frame_height},{phpgw_bottom_frame_height}">
|
||||
<FRAME MARGINWIDTH=0 MARGINHEIGHT=0 SRC="{phpgw_top_link}" NAME="top" SCROLLING="{phpgw_top_scrolling}">
|
||||
<FRAMESET frameborder="0" border="0" framespacing="0" COLS="{phpgw_left_frame_width},*,{phpgw_right_frame_width}">
|
||||
<FRAMESET frameborder="0" border="0" framespacing="0" COLS="{phpgw_left_frame_width},{phpgw_body_frame_width},{phpgw_right_frame_width}">
|
||||
<FRAME MARGINWIDTH=0 MARGINHEIGHT=0 SRC="{phpgw_left_link}" NAME="left" SCROLLING="{phpgw_left_scrolling}">
|
||||
<FRAME MARGINWIDTH=0 MARGINHEIGHT=0 SRC="{phpgw_body_link}" NAME="body">
|
||||
<FRAME MARGINWIDTH=0 MARGINHEIGHT=0 SRC="{phpgw_right_link}" NAME="right" SCROLLING="{phpgw_right_scrolling}">
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 336 B |
Binary file not shown.
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 325 B |
@ -12,9 +12,13 @@
|
||||
/* $Id$ */
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_table_height','10%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_frame_height','85');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_top_frame_height','90');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_table_width','5%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_frame_width','155');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_left_frame_width','165');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_body_table_height','85%');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_table_height','5%');
|
||||
$GLOBALS['phpgw']->template->set_var('phpgw_bottom_frame_height','30');
|
||||
$GLOBALS['phpgw_info']['flags']['body_tags']['background']=$GLOBALS['phpgw']->common->image('phpgwapi','content_spacer_middle');
|
||||
@ -141,6 +145,7 @@
|
||||
$GLOBALS['phpgw']->template->set_file('parts','parts.tpl');
|
||||
$GLOBALS['phpgw']->template->set_block('parts','left_part');
|
||||
$applications = '';
|
||||
$var['nav_bar_left_spacer_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','nav_bar_left_spacer');
|
||||
while ($app = each($GLOBALS['phpgw_info']['navbar']))
|
||||
{
|
||||
if ($app[1]['title'] != 'Home' && $app[1]['title'] != 'preferences' && !ereg('About',$app[1]['title']) && $app[1]['title'] != 'Logout')
|
||||
@ -150,7 +155,7 @@
|
||||
$img_src_over = $app[1]['icon_hover'];
|
||||
$img_src_out = $app[1]['icon'];
|
||||
|
||||
$applications .= '<tr><td><a href="' . $app[1]['url'] . '"';
|
||||
$applications .= '<tr><td background="'.$var['nav_bar_left_spacer_img'].'"><a href="' . $app[1]['url'] . '"';
|
||||
if (isset($GLOBALS['phpgw_info']['flags']['navbar_target']))
|
||||
{
|
||||
$applications .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
|
||||
@ -181,7 +186,6 @@
|
||||
}
|
||||
|
||||
$var['applications'] = $applications;
|
||||
$var['nav_bar_left_spacer_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','nav_bar_left_spacer');
|
||||
$var['nav_bar_left_top_bg_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','nav_bar_left_top_bg');
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var($var);
|
||||
|
@ -1,9 +1,9 @@
|
||||
<!-- BEGIN top_part -->
|
||||
<table border="0" width="100%" height="%100" cellspacing="0" cellpadding="0">
|
||||
<table border="0" width="100%" height="73" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<!-- top row back images are 58px high, but the row may be smaller than that -->
|
||||
<!-- row 2 images are 15 px high, so this table with these 2 rows is 58 plus 15 equals 73px high -->
|
||||
<td width="154" height="58" align="left" valign="top" background="{em_img}">
|
||||
<td width="5%" height="58" align="left" valign="top" background="{em_img}" nowrap>
|
||||
<img src="{logo_img}">
|
||||
</td>
|
||||
<td width="100%" align="right" background="{em_img}">
|
||||
@ -11,10 +11,10 @@
|
||||
<tr>
|
||||
<!-- <td width="100%" align="right" valign="top"><font size="{powered_by_size}" color="{powered_by_color}">{powered_by} {current_users}</font></td> -->
|
||||
<td width="50%" align="left" valign="top">
|
||||
<font size="{powered_by_size}" color="{powered_by_color}">{current_users}</font>
|
||||
<font size="{powered_by_size}" color="{powered_by_color}">{current_users} </font>
|
||||
</td>
|
||||
<td width="50%" align="right" valign="top">
|
||||
<font size="{powered_by_size}" color="{powered_by_color}">{powered_by} </font>
|
||||
<font size="{powered_by_size}" color="{powered_by_color}"> {powered_by}</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -49,7 +49,7 @@
|
||||
<!-- END top_part -->
|
||||
|
||||
<!-- BEGIN left_part -->
|
||||
<table border="0" width="100%" height="%100" cellspacing="0" cellpadding="0">
|
||||
<table border="0" width="154" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="154" align="left" valign="top" background="{nav_bar_left_spacer_img}">
|
||||
<!-- left nav table -->
|
||||
@ -67,7 +67,7 @@
|
||||
|
||||
|
||||
<!-- BEGIN bottom_part -->
|
||||
<table border="0" width="100%" height="%100" cellspacing="0" cellpadding="0">
|
||||
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" background="{em_bottom_img}">
|
||||
<font color="{power_textcolor}">{powered}</font>
|
||||
|
Loading…
Reference in New Issue
Block a user