update for jerryr template

This commit is contained in:
reinerj 2004-02-08 10:51:15 +00:00
parent 39deb72a77
commit b09e2ed799
21 changed files with 703 additions and 228 deletions

View File

@ -0,0 +1,79 @@
<!-- BEGIN addressbook_header -->
<script>
function check_all(which)
{
for (i=0; i<document.addr_index.elements.length; i++)
{
if (document.addr_index.elements[i].type == "checkbox" && document.addr_index.elements[i].name.substring(0,which.length) == which)
{
if (document.addr_index.elements[i].checked)
{
document.addr_index.elements[i].checked = false;
}
else
{
document.addr_index.elements[i].checked = true;
}
}
}
}
</script>
<div align="center">
{lang_showing}
<br>{searchreturn}
{search_filter}
<table class="calDayViewSideBoxes" width="100%" >
<tr><td>{alphalinks}</td>
</tr>
</table>
<table height=5><tr><td></td></tr></table>
<table class="calDayViewShadowBox" width="100%">
<tr>
<td>
<table width="100%" class="calDayViewSideBoxes">
<form name="addr_index" action="{action_url}" method="POST">
<tr bgcolor="{th_bg}">{cols}
<td class="body">{lang_actions}
&nbsp;<a href="javascript:check_all('select')"><img src="{check}" border="0" height="16" width="21" alt="{select_all}"></a></td>
</tr>
<!-- END addressbook_header -->
<!-- BEGIN column -->
<td class="body" valign="top">{col_data}&nbsp;</td>
<!-- END column -->
<!-- BEGIN row -->
<tr bgcolor="{row_tr_color}">{columns}
<td valign="top" nowrap>{actions}</td>
</tr>
<!-- END row -->
<!-- BEGIN delete_block -->
<tr bgcolor="{row_tr_color}"><td colspan="{column_count}">&nbsp;</td>
<td align="right"><input type="submit" name="Delete" value="{lang_delete}"></td>
</tr>
<!-- END delete_block -->
<!-- BEGIN addressbook_footer -->{delete_button}
</form>
</table>
</td></tr></table>
<table border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="{th_bg}">
<form action="{add_url}" method="post"><td><input type="submit" name="Add" value="{lang_add}" /></td></form>
<form action="{vcard_url}" method="post"><td><input type="submit" name="AddVcard" value="{lang_addvcard}" /></td></form>
<form action="{import_url}" method="post"><td><input type="submit" name="Import" value="{lang_import}" /></td></form>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="{th_bg}">
<form action="{import_alt_url}" method="post"><td><input type="submit" name="Import" value="{lang_import_alt}" /></td></form>
<form action="{export_url}" method="post"><td><input type="submit" name="Export" value="{lang_export}" /></td></form>
</tr>
</table>
</div>
<!-- END addressbook_footer -->
<!-- BEGIN addressbook_alpha --><td bgcolor="{charbgcolor}" align="center"><a href="{charlink}"><font color="{charcolor}">{char}</a></font></td>
<!-- END addressbook_alpha -->

View File

@ -0,0 +1,54 @@
<!-- BEGIN view_header -->
<br>
<table class="calDayViewShadowBox" width="100%" align="center">
<tr>
<td>
<table class="calDayViewSideBoxes" width="100%" align="left">
<!-- END view_header -->
<!-- BEGIN view_row -->
<tr bgcolor="{th_bg}">
<td align="right" width="30%"><b>{display_col}</b>:</td><td width="70%">{ref_data}</td>
</tr>
<!-- END view_row -->
{cols}
<!-- BEGIN view_footer -->
</table>
</td>
<td valign="top" nowrap>
<table class="calDayViewSideBoxes" width="100%"><tr><td>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center" class="calDayView">Month Calendar</td>
</tr>
<tr>
<td align="center">Feature Not Yet Available</td>
</tr>
</table>
</td></tr></table>
</td>
</tr></table>
<!-- END view_footer -->
<!-- BEGIN view_buttons -->
<center>
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td>
{edit_button}
</td>
<td>
{copy_button}
</td>
<td>
{vcard_button}
</td>
<td>
{done_button}
</td>
</tr>
</table>
</center>
<!-- END view_buttons -->

View File

@ -0,0 +1,50 @@
<!-- $Id$ -->
<!-- BEGIN day -->
{printer_friendly}
<table border="0" width="100%" class="calDayViewShadowBox">
<tr>
<td valign="top" width="70%" class="calDayViewSideBoxes">
<table border="0" width=100%>
<tr>
<td class="calDayView">{date}&nbsp;&nbsp;{username}&nbsp;</td>
</tr>{day_events}
</table>
<p align="center">{print}</p>
</td>
<td width=5></td>
<td align="center" valign="top" >
<table class="calDayViewSideBoxes" width="100%"><tr><td>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center" class="calDayView">{date}</td>
</tr>
<tr>
<td align="center">{small_calendar}</td>
</tr>
</table>
</td></tr></table>
<table height="5"><tr><td></td></tr></table>
<table class="calDayViewSideBoxes" width=100%><tr><td>
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center" class="calDayView">{lang_todos}</td>
</tr>
<tr>
<td>{todos}</td>
</tr>
</table>
</td></tr></table>
</td>
</tr>
</table>
<!-- END day -->
<!-- BEGIN day_event -->
<tr>
<td>
{daily_events}
</td>
</tr>
<!-- END day_event -->

View File

@ -0,0 +1,49 @@
<!-- $Id$ -->
<!-- BEGIN edit_entry -->
<script language="JavaScript">
self.name="first_Window";
function accounts_popup()
{
Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes");
}
</script>
<center>
<font color="#000000" face="{font}">
<form action="{action_url}" method="post" name="app_form">
{common_hidden}
<table class="calDayViewShadowBox" width="100%"><tr><td>
<table class="calDayViewSideBoxes" width="100%">
<tr>
<td colspan="2">
<center><font size="+1"><b>{errormsg}</b></font></center>
</td>
</tr>
{row}
<tr>
<td>
<table><tr valign="top">
<td><input type="submit" value="{submit_button}">&nbsp;</form></td>
<td>{cancel_button}</td>
</tr></table>
</td>
<td align="right">{delete_button}</td>
</tr>
</table>
</td></tr></table>
</font>
</center>
<!-- END edit_entry -->
<!-- BEGIN list -->
<tr bgcolor="{tr_color}">
<td valign="top" width="35%">&nbsp;<b>{field}:</b></td>
<td valign="top" width="65%">{data}</td>
</tr>
<!-- END list -->
<!-- BEGIN hr -->
<tr bgcolor="{tr_color}">
<td colspan="2">
{hr_text}
</td>
</tr>
<!-- END hr -->

View File

@ -0,0 +1,13 @@
<!-- $Id$ -->
<!-- BEGIN head -->
{row}
<!-- END head -->
<!-- BEGIN head_table -->
<table border="0" width="100%" cols="{cols}" cellpadding="0" cellspacing="0">
<tr>
{header_column} </tr>
</table>
<!-- END head_table -->
<!-- BEGIN head_col -->
{str}
<!-- END head_col -->

View File

@ -0,0 +1,25 @@
<!-- $Id$ -->
<!-- BEGIN mini_cal -->
<table border="0" cellspacing="0" cellpadding="0" valign="top" width=100% cols="7">
<tr valign="middle">
<td align="center" colspan=4><font size="-2">&nbsp;&nbsp;&nbsp;&nbsp;<b>{month}</b></font></td>
<td align="right" colspan=3>{prevmonth}&nbsp;&nbsp;{nextmonth}</td>
</tr>
<tr>
<td align="center" colspan=7><img src="{cal_img_root}" width="90%" height="5"></td>
</tr>
<tr valign="top">
<td colspan="7">
<table border="0" width="100%" cellspacing="7" cellpadding="0" valign="top" cols="7">
<tr>{daynames} </tr>{display_monthweek} </table>
</td>
</tr>
</table>
<!-- END mini_cal -->
<!-- BEGIN mini_week -->
<tr>{monthweek_day}
</tr>
<!-- END mini_week -->
<!-- BEGIN mini_day -->
<td align="center"{day_image}><font size="-2">{dayname}</font></td>
<!-- END mini_day -->

View File

@ -0,0 +1,30 @@
<!-- $Id$ -->
{printer_friendly}
<table width="100%" cols="5">
<tr>
<td align="left" valign="top" width="20%">
{small_calendar_prev}
</td>
<td align="center" valign="middle" width="20%">
<b>{prev_week_link}</b>
</td>
<td align="center" valign="top" width="20%">
{small_calendar_this}
</td>
<td align="center" valign="middle" width="20%">
<b>{next_week_link}</b>
</td>
<td align="right" valign="top" width="20%">
{small_calendar_next}
</td>
</tr>
</table>
<table class="calDayViewSideBoxes" width=100%><tr><td>
<table border="0" width="100%">
<td align="center" class="calDayView">
<b>{week_identifier}</b>&nbsp;&nbsp;{username}
</td>
</table>
{week_display}</td></tr></table>
{print}

View File

@ -218,8 +218,8 @@ a.textSidebox
#divLogo
{
position:absolute;
left:2px;
top:5px;
left:10px;
top:10px;
z-index:51;
}
@ -229,7 +229,6 @@ a.textSidebox
border-top-color:#9c9c9c;
border-top-width:1px;
border-top-style:solid;
background-image: url(../images/background-icon-bar.png);
background-repeat: repeat-x
}
@ -264,6 +263,8 @@ a.textSidebox
{
background-color:white;
padding-left:5px;
padding-right:5px;
padding-bottom:5px;
width: 100%;
}
#divSideboxContainer
@ -298,8 +299,11 @@ a.textSidebox
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-width:2px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-style:solid;
}
#divAppbox
@ -308,13 +312,13 @@ a.textSidebox
background-color:#faf8f3;
padding:5px;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-width:2px;
border-bottom-style:solid;
border-left-color:#9c9c9c;
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-width:2px;
border-right-style:solid;
}
@ -394,3 +398,97 @@ a.textSidebox
width:99%;
}
.titleBarBackGround
{
background-image: url(../images/appbox-header-background.png);
height:22px;
background-repeat: repeat-x;
text-align:center;
border-top-color:#9c9c9c;
border-top-width:1px;
border-top-style:solid;
border-left-color:#9c9c9c;
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-style:solid;
}
.calDayView
{
background-image: url(../images/appbox-header-background.png);
height:22px;
background-repeat: repeat-x;
text-align:center;
padding-bottom:0px;
font-size:14px;
font-weight:bold;
color:#666666;
border-top-color:#9c9c9c;
border-top-width:1px;
border-top-style:solid;
border-left-color:#9c9c9c;
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-style:solid;
}
.calDayViewSideBoxes
{
border-top-color:#9c9c9c;
border-top-width:1px;
border-top-style:solid;
border-left-color:#9c9c9c;
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:2px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:2px;
border-bottom-style:solid;
background-color:#faf8f3;
}
.calDayViewShadowBox
{
border-top-color:#9c9c9c;
border-top-width:2px;
border-top-style:solid;
border-left-color:#9c9c9c;
border-left-width:2px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-style:solid;
background-color:#ffffff;
padding:5px;
}
.addBookAlphaLinks
{
border-top-color:#9c9c9c;
border-top-width:1px;
border-top-style:solid;
border-left-color:#9c9c9c;
border-left-width:1px;
border-left-style:solid;
border-right-color:#9c9c9c;
border-right-width:1px;
border-right-style:solid;
border-bottom-color:#9c9c9c;
border-bottom-width:1px;
border-bottom-style:solid;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 B

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 777 B

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 B

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 488 B

After

Width:  |  Height:  |  Size: 711 B

View File

@ -56,7 +56,8 @@
foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data)
{
if($app != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout')
//if($app != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout')
if($app != 'preferences' && $app != 'about')
{
$title = $GLOBALS['phpgw_info']['apps'][$app]['title'];
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" />';
@ -81,9 +82,17 @@
$app_titles .= '>' . $title . '</a></td>';
}
else // generate extra icon layer | always shows icons and text
// else // generate extra icon layer | always shows icons and text
else // generate extra icon layer shows icons and/or text
{
$app_extra_icons .= '<tr><td><a href="' . $app_data['url'] . '"';
// check for small icon version else use default and let the browser resize
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" width="16" title="'. $title . '" border="0" />';
$app_extra_icons .= '<tr>';
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text')
{
$app_extra_icons .= '<td class="extraIconsRow"><a href="' . $app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
@ -91,8 +100,20 @@
}
$app_extra_icons .= ' >' . $icon . '</a></td>';
}
$app_extra_icons .= '<td align="left" class="extraIconsRow"><a href="'.$app_data['url'] . '"';
// $app_extra_icons .= '<tr><td><a href="' . $app_data['url'] . '"';
// if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
// {
// $app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
// }
// $app_extra_icons .= '>' . $icon . '</a></td>';
$app_extra_icons .= '<td align="left" class="extraIconsRow" style=""><a href="'.$app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
@ -108,7 +129,11 @@
}
}
// $var['app_icons'] = $app_icons;
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text')
{
$var['app_icons'] = $app_icons;
}
if($i > $max_icons)
{
@ -120,8 +145,8 @@
<div id="menu1Content" style="position: relative; left: 0; text-align: left;">
<div id="extraIcons">
<table>
<tr><td>&nbsp;</td><td nowrap="nowrap" align="right"><a href="#" '.$show_menu_event.'="ypSlideOutMenu.hide(\'menu1\')" title="'.lang('close').'"><img style="margin:4px;" border="0" src="'.$var['img_root'].'/close.png"/></a></td></tr>
<table cellspacing="0" cellpadding="0">
<tr><td colspan="2" nowrap="nowrap" align="right" style="background-color:#dddddd;padding:1px;"><a href="#" '.$show_menu_event.'="ypSlideOutMenu.hide(\'menu1\')" title="'.lang('close').'"><img style="" border="0" src="'.$var['img_root'].'/close.png"/></a></td></tr>
'.$app_extra_icons.' </table>
</div>
@ -278,7 +303,7 @@
}
else
{
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/images'.'/menu_icon.png" width="9" height="9" alt="Menu Icon"/>';
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
$var['target'] = '';
if(is_array($item_link))
{

View File

@ -0,0 +1,52 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$phpgw_info['theme']['bg_color'] = '#FFFFFF';
$phpgw_info['theme']['bg_text'] = '#000000';
$phpgw_info['theme']['vlink'] = 'blue';
$phpgw_info['theme']['alink'] = 'red';
$phpgw_info['theme']['link'] = 'blue';
$phpgw_info['theme']['row_on'] = '#eeeeee';
$phpgw_info['theme']['row_off'] = '#EEEEEE';
$phpgw_info['theme']['row_text'] = '#000000';
$phpgw_info['theme']['th_bg'] = '#ebe8e4';
$phpgw_info['theme']['th_text'] = '#000000';
$phpgw_info['theme']['navbar_bg'] = '#9999FF';
$phpgw_info['theme']['navbar_text'] = '#FFFFFF';
$phpgw_info['theme']['table_bg'] = '#9999FF';
$phpgw_info['theme']['table_text'] = '#000000';
$phpgw_info['theme']['font'] = 'Arial, Helvetica, san-serif';
$phpgw_info['theme']['bg01'] = '#dadada';
$phpgw_info['theme']['bg02'] = '#dad0d0';
$phpgw_info['theme']['bg03'] = '#dacaca';
$phpgw_info['theme']['bg04'] = '#dac0c0';
$phpgw_info['theme']['bg05'] = '#dababa';
$phpgw_info['theme']['bg06'] = '#dab0b0';
$phpgw_info['theme']['bg07'] = '#daaaaa';
$phpgw_info['theme']['bg08'] = '#da9090';
$phpgw_info['theme']['bg09'] = '#da8a8a';
$phpgw_info['theme']['bg10'] = '#da7a7a';
// Theses are for the calendar only
$phpgw_info['theme']['cal_today'] = '#FFFFCC';
$phpgw_info['theme']['cal_dayview'] = '#C0C0C0';
// These are for the email only
$phpgw_info['theme']['em_folder'] = '#666699';
$phpgw_info['theme']['em_folder_text'] = '#FFFFFF';
// the iDots template uses only css and the default theme (this file)
if ($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] == 'jerryr')
{
$phpgw_info['theme']['row_off'] = '#fffdf8';
$phpgw_info['theme']['em_folder'] = '#a0a0a0';
}