added funkwerk layout

This commit is contained in:
ceb 2002-11-15 05:15:39 +00:00
parent 6326e50944
commit c71c14dc96
10 changed files with 648 additions and 48 deletions

View File

@ -1168,17 +1168,23 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
$var['about_img'] = $GLOBALS['phpgw_info']['navbar']['about']['icon']; $var['about_img'] = $GLOBALS['phpgw_info']['navbar']['about']['icon'];
break; break;
} }
$var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
$var['prefs_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
$var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url'];
$var['about_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url'];
$var['home_title'] = $GLOBALS['phpgw_info']['navbar']['home']['title']; $var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
$var['prefs_title'] = $GLOBALS['phpgw_info']['navbar']['preferences']['title']; $var['prefs_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
$var['logout_title'] = $GLOBALS['phpgw_info']['navbar']['logout']['title']; $var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url'];
$var['about_title'] = $GLOBALS['phpgw_info']['navbar']['about']['title']; $var['about_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url'];
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers'])) $var['home_title'] = $GLOBALS['phpgw_info']['navbar']['home']['title'];
$var['prefs_title'] = $GLOBALS['phpgw_info']['navbar']['preferences']['title'];
$var['logout_title'] = $GLOBALS['phpgw_info']['navbar']['logout']['title'];
$var['about_title'] = $GLOBALS['phpgw_info']['navbar']['about']['title'];
$var['home_statustext'] = $GLOBALS['phpgw_info']['navbar']['home']['title'];
$var['prefs_statustext'] = $GLOBALS['phpgw_info']['navbar']['preferences']['title'];
$var['logout_statustext'] = $GLOBALS['phpgw_info']['navbar']['logout']['title'];
$var['about_statustext'] = $GLOBALS['phpgw_info']['navbar']['about']['title'];
if (isset($GLOBALS['phpgw_ifo']['navbar']['admin']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
{ {
$GLOBALS['phpgw']->db->query('select count(session_id) from phpgw_sessions'); $GLOBALS['phpgw']->db->query('select count(session_id) from phpgw_sessions');
$GLOBALS['phpgw']->db->next_record(); $GLOBALS['phpgw']->db->next_record();
@ -1202,7 +1208,8 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
'title' => $data['title'], 'title' => $data['title'],
'img_src_over' => $data['icon_hover'], 'img_src_over' => $data['icon_hover'],
'url' => $data['url'], 'url' => $data['url'],
'name' => str_replace('-','_',$app) 'name' => str_replace('-','_',$app),
'statustext' => $data['title']
); );
if($data['icon_hover'] != '') if($data['icon_hover'] != '')
@ -1276,7 +1283,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
$var['phpgw_version'] = $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']; $var['phpgw_version'] = $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'];
$var['lang_phpgw_statustext'] = lang('phpGroupWare --> homepage'); $var['lang_phpgw_statustext'] = lang('phpGroupWare --> homepage');
$var['top_spacer_middle_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','top_spacer_middle'); $var['top_spacer_middle_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','top_spacer_middle');
$var['navbar_format'] = $GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']; $var['navbar_format'] = $GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'];
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',$var); $GLOBALS['phpgw']->xslttpl->set_var('phpgw',$var);
} }
@ -1364,7 +1371,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
/* We handle this here becuase its special */ /* We handle this here becuase its special */
$GLOBALS['phpgw_info']['navbar']['about']['title'] = lang('about x',lang($app)); $GLOBALS['phpgw_info']['navbar']['about']['title'] = lang('about');
$GLOBALS['phpgw_info']['navbar']['about']['url'] = $GLOBALS['phpgw']->link('/about.php','app='.$app); $GLOBALS['phpgw_info']['navbar']['about']['url'] = $GLOBALS['phpgw']->link('/about.php','app='.$app);
$GLOBALS['phpgw_info']['navbar']['about']['icon'] = $this->image('phpgwapi',Array('about','nonav')); $GLOBALS['phpgw_info']['navbar']['about']['icon'] = $this->image('phpgwapi',Array('about','nonav'));
$GLOBALS['phpgw_info']['navbar']['about']['icon_hover'] = $this->image_on('phpgwapi',Array('about','nonav'),'-over'); $GLOBALS['phpgw_info']['navbar']['about']['icon_hover'] = $this->image_on('phpgwapi',Array('about','nonav'),'-over');
@ -1414,9 +1421,11 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
$css_file = $GLOBALS['phpgw_info']['server']['webserver_url'] . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] $css_file = $GLOBALS['phpgw_info']['server']['webserver_url'] . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']
. SEP . 'css' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '.css'; . SEP . 'css' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '.css';
} }
elseif(@file_exists(PHPGW_SERVER_ROOT . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] . SEP . 'css' . SEP . 'submarine.css')) elseif(@file_exists(PHPGW_SERVER_ROOT . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] . SEP
. 'css' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] . '.css'))
{ {
$css_file = $GLOBALS['phpgw_info']['server']['webserver_url'] . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] . SEP . 'css' . SEP . 'submarine.css'; $css_file = $GLOBALS['phpgw_info']['server']['webserver_url'] . SEP . 'phpgwapi' . SEP . 'templates' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']
. SEP . 'css' . SEP . $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] . '.css';
} }
else else
{ {

View File

@ -1,27 +1,26 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare API - Hooks * * phpGroupWare API - Hooks *
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> * * This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
* Allows applications to "hook" into each other * * Allows applications to "hook" into each other *
* Copyright (C) 2000, 2001 Dan Kuykendall * * Copyright (C) 2000 - 2002 Dan Kuykendall *
* -------------------------------------------------------------------------* * ------------------------------------------------------------------------ *
* This library is part of the phpGroupWare API * * This library is part of the phpGroupWare API *
* http://www.phpgroupware.org/api * * http://www.phpgroupware.org/api *
* ------------------------------------------------------------------------ * * ------------------------------------------------------------------------ *
* This library is free software; you can redistribute it and/or modify it * * This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by * * under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 2.1 of the License, * * the Free Software Foundation; either version 2.1 of the License, *
* or any later version. * * or any later version. *
* This library is distributed in the hope that it will be useful, but * * This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of * * WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Lesser General Public License for more details. * * See the GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Lesser General Public License * * You should have received a copy of the GNU Lesser General Public License *
* along with this library; if not, write to the Free Software Foundation, * * along with this library; if not, write to the Free Software Foundation, *
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
\**************************************************************************/ \**************************************************************************/
/* $Id$ */
/* $Id$ */
/*! /*!
@class hooks @class hooks
@ -56,7 +55,6 @@
// Note: $no_permission_check should *ONLY* be used when it *HAS* to be. (jengo) // Note: $no_permission_check should *ONLY* be used when it *HAS* to be. (jengo)
function process($location, $order = '', $no_permission_check = False) function process($location, $order = '', $no_permission_check = False)
{ {
$SEP = filesystem_separator();
if ($order == '') if ($order == '')
{ {
settype($order,'array'); settype($order,'array');
@ -69,7 +67,7 @@
{ {
if (isset($this->found_hooks[$appname][$location])) if (isset($this->found_hooks[$appname][$location]))
{ {
$f = PHPGW_SERVER_ROOT . $SEP . $appname . $SEP . 'inc' . $SEP . $this->found_hooks[$appname][$location]; $f = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'inc' . SEP . $this->found_hooks[$appname][$location];
if (file_exists($f) && if (file_exists($f) &&
( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $appname == 'preferences') && $appname)) ) ( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $appname == 'preferences') && $appname)) )
{ {
@ -91,7 +89,7 @@
{ {
if (isset($this->found_hooks[$appname][$location])) if (isset($this->found_hooks[$appname][$location]))
{ {
$f = PHPGW_SERVER_ROOT . $SEP . $appname . $SEP . 'inc' . $SEP . $this->found_hooks[$appname][$location]; $f = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'inc' . SEP . $this->found_hooks[$appname][$location];
if (file_exists($f)) if (file_exists($f))
{ {
include($f); include($f);
@ -110,7 +108,7 @@
{ {
if (isset($this->found_hooks[$appname][$location])) if (isset($this->found_hooks[$appname][$location]))
{ {
$f = PHPGW_SERVER_ROOT . $SEP . $appname . $SEP . 'inc' . $SEP . $this->found_hooks[$appname][$location]; $f = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'inc' . SEP . $this->found_hooks[$appname][$location];
if (file_exists($f)) if (file_exists($f))
{ {
include($f); include($f);
@ -134,12 +132,11 @@
{ {
$appname = $GLOBALS['phpgw_info']['flags']['currentapp']; $appname = $GLOBALS['phpgw_info']['flags']['currentapp'];
} }
$SEP = filesystem_separator();
/* First include the ordered apps hook file */ /* First include the ordered apps hook file */
if (isset($this->found_hooks[$appname][$location])) if (isset($this->found_hooks[$appname][$location]))
{ {
$f = PHPGW_SERVER_ROOT . $SEP . $appname . $SEP . 'inc' . $SEP . $this->found_hooks[$appname][$location]; $f = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'inc' . SEP . $this->found_hooks[$appname][$location];
if (file_exists($f) && if (file_exists($f) &&
( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $location == 'config' || $appname == 'phpgwapi') && $appname)) ) ( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $location == 'config' || $appname == 'phpgwapi') && $appname)) )
{ {
@ -170,11 +167,10 @@
{ {
$appname = $GLOBALS['phpgw_info']['flags']['currentapp']; $appname = $GLOBALS['phpgw_info']['flags']['currentapp'];
} }
$SEP = filesystem_separator();
if(@isset($this->found_hooks[$appname][$location])) if(@isset($this->found_hooks[$appname][$location]))
{ {
$f = PHPGW_SERVER_ROOT . $SEP . $appname . $SEP . 'inc' . $SEP . $this->found_hooks[$appname][$location]; $f = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'inc' . SEP . $this->found_hooks[$appname][$location];
if(@file_exists($f) && if(@file_exists($f) &&
( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $location == 'config' || $appname == 'phpgwapi') && $appname)) ) ( $GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || $location == 'config' || $appname == 'phpgwapi') && $appname)) )
{ {
@ -200,7 +196,6 @@
{ {
$count = 0; $count = 0;
reset($GLOBALS['phpgw_info']['user']['apps']); reset($GLOBALS['phpgw_info']['user']['apps']);
$SEP = filesystem_separator();
while ($permission = each($GLOBALS['phpgw_info']['user']['apps'])) while ($permission = each($GLOBALS['phpgw_info']['user']['apps']))
{ {
if (isset($this->found_hooks[$permission[0]][$location])) if (isset($this->found_hooks[$permission[0]][$location]))

View File

@ -1,3 +1,4 @@
about common en about
access common en Access access common en Access
access not permitted common en Access not permitted access not permitted common en Access not permitted
acl common en ACL acl common en ACL

View File

@ -1,13 +1,13 @@
<!-- $Id$ --> <!-- $Id$ -->
<xsl:template name="app_header"> <xsl:template name="app_header">
<table cellpadding="2" cellspacing="2" width="98%" align="center"> <table cellpadding="2" cellspacing="2" width="100%" align="center">
<tr> <tr>
<td class="app_header"><xsl:value-of select="appname"/></td> <td class="app_header"><xsl:value-of select="appname"/></td>
</tr> </tr>
<xsl:apply-templates select="function_msg"/> <xsl:apply-templates select="function_msg"/>
</table> </table>
<hr noshade="noshade" width="98%" align="center" size="1"/> <hr noshade="noshade" width="100%" align="center" size="1"/>
</xsl:template> </xsl:template>
<xsl:template match="function_msg"> <xsl:template match="function_msg">

View File

@ -0,0 +1,66 @@
body,p,td,th,table,input,form,option
{
color: #000000;
}
body
{
background-color: #FFFFFF;
}
a:link,a:visited,a:active
{
color: mediumblue;
}
a:hover
{
color: #cc0000;
}
.navbar,.th
{
background-color: #80BBFF;
}
.login,.portal,.about
{
background-color: #80BBFF;
border-color: #000000;
}
.portal_text
{
color: #FFFFFF;
}
.row_on,.th_bright,.app_header
{
background-color: #CCEEFF;
}
.msgbox
{
background-color: #FFFFFF;
}
.row_off
{
background-color: #DDF0FF;
}
.cal_today
{
background-color: #FFFFCC;
}
.cal_dayview
{
background-color: #C0C0C0;
}
.email_folder
{
background-color: #7090FF;
color: #FFFFFF;
}

View File

@ -0,0 +1,129 @@
body,p,td,th,table,input,form,option
{
color: #0000A0;
}
body
{
background-color: #CCCCCC;
}
.top_top
{
background-color: #FF3300
}
.top_bottom
{
background-color: #FFE000;
}
td.left
{
background-color: #FF3300;
}
.left_app
{
background-color: #660000;
}
.top_link
{
background-color: #0000A0;
}
.user_info
{
background-color: #FF3300;
color: #FFFFFF;
}
.admin_info
{
background-color: #0000A0;
color: #FFFFFF;
}
.bottom
{
background-color: #FF3300;
}
a:link,a:active,a:visited,a:hover
{
color: #0000A0;
}
a:link.top_link,a:active.top_link,a:visited.top_link
{
color: #FFFFFF;
font-weight: bold;
}
a:hover.top_link
{
font-weight: bold;
color: #660000;
background-color: #FFE000;
}
a:link.left,a:active.left,a:visited.left
{
color: #FFFFFF;
font-weight: bold;
}
a:hover.left
{
font-weight: bold;
color: #660000;
background-color: #FFE000;
}
.login,.portal,.about
{
background-color: #ADADAD;
border-color: #000000;
}
.portal_text
{
color: #FFFFFF;
}
.row_on,.th_bright,.app_header
{
background-color: #999999;
}
.msgbox
{
background-color: #FFFFFF;
}
.row_off
{
background-color: #FFFFFF;
}
.th
{
background-color: #FFE000;
}
.cal_today
{
background-color: #ffffcc;
}
.cal_dayview
{
background-color: #C0C0C0;
}
.email_folder
{
background-color: #adadad;
color: #ffffff;
}

View File

@ -0,0 +1,127 @@
body,p,td,th,table,input,form,option
{
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
line-height: normal;
text-decoration: none;
letter-spacing: 0em;
word-spacing: 0em;
}
body
{
margin-right: 0em;
margin-left: 0em;
margin-top: 0em;
margin-bottom: 0em;
}
table
{
border-width: 0;
}
a:link,a:visited,a:active
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
a:hover.left,a:hover.top_link
{
text-decoration: none;
}
a.th,a.th_text
{
font-weight: bold;
}
.top_top
{
height: 30;
}
.top_bottom
{
height: 30;
}
.info
{
font-size: 85%;
}
td.left
{
height: 30;
}
.bottom
{
width: 100%;
height: 5%;
}
table.portal
{
width: 100%;
}
table.about
{
width: 70%;
}
table.login
{
margin-top: 130px;
width: 40%;
text-align: center;
}
.login,.portal,.about,.msgbox
{
border-width: 1px;
border-style: ridge;
}
.portal_text
{
font-weight: bold;
background: url(../../default/images/bg_filler.png);
}
.user_info,.admin_info
{
font-size: 80%;
font-weight: bold;
}
.small_text
{
font-size: 80%;
}
.header_text
{
font-size: 110%;
font-weight: bold;
}
.th_text,.app_header_text
{
font-weight: bold;
}
.app_header,.th
{
font-weight: bold;
}

View File

@ -0,0 +1,141 @@
<!-- $Id$ -->
<xsl:template match="phpgw">
<xsl:variable name="phpgw_css_file"><xsl:value-of select="phpgw_css_file"/></xsl:variable>
<xsl:variable name="theme_css_file"><xsl:value-of select="theme_css_file"/></xsl:variable>
<xsl:variable name="charset"><xsl:value-of select="charset"/></xsl:variable>
<xsl:variable name="webserver_url"><xsl:value-of select="webserver_url"/></xsl:variable>
<xsl:variable name="logo_img"><xsl:value-of select="logo_img"/></xsl:variable>
<xsl:variable name="home_link"><xsl:value-of select="home_link"/></xsl:variable>
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_link"/></xsl:variable>
<xsl:variable name="logout_link"><xsl:value-of select="logout_link"/></xsl:variable>
<xsl:variable name="about_link"><xsl:value-of select="about_link"/></xsl:variable>
<xsl:variable name="home_statustext"><xsl:value-of select="home_statustext"/></xsl:variable>
<xsl:variable name="prefs_statustext"><xsl:value-of select="prefs_statustext"/></xsl:variable>
<xsl:variable name="logout_statustext"><xsl:value-of select="logout_statustext"/></xsl:variable>
<xsl:variable name="about_statustext"><xsl:value-of select="about_statustext"/></xsl:variable>
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
<meta name="author" content="phpGroupWare http://www.phpgroupware.org"/>
<meta name="description" content="phpGroupWare"/>
<meta name="keywords" content="phpGroupWare"/>
<meta name="robots" content="noindex"/>
<link rel="icon" href="favicon.ico" type="image/x-ico"/>
<link rel="shortcut icon" href="favicon.ico"/>
<title><xsl:value-of select="website_title"/></title>
<link rel="stylesheet" type="text/css" href="{$phpgw_css_file}"/>
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
</head>
<body>
<!-- BEGIN top_part -->
<table width="100%" height="100%" cellspacing="2" cellpadding="2" valign="top">
<tr>
<td width="131" height="30" valign="bottom" class="top_top">[phpGroupWare]</td>
<td height="30" width="19%" valign="bottom" class="user_info">[<xsl:value-of select="user_info_name"/>]</td>
<xsl:choose>
<xsl:when test="current_users">
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
<td class="admin_info" valign="bottom"><a href="{$url_current_users}">[<xsl:value-of select="current_users"/>]</a></td>
</xsl:when>
<xsl:otherwise>
<td class="admin_info"/>
</xsl:otherwise>
</xsl:choose>
<td height="30" width="19%" class="user_info" align="right" valign="bottom">[<xsl:value-of select="user_info_date"/>]</td>
</tr>
<tr align="right" height="30">
<td colspan="4" class="top_bottom">
<table cellpadding="2" cellspacing="2">
<tr class="top_bottom">
<td class="top_link"><a href="{$home_link}" onMouseOver="window.status='{$home_statustext}'; return true;" onMouseOut="window.status='';return true;" class="top_link">[<xsl:value-of select="home_title"/>]</a></td>
<td class="top_link"><a href="{$prefs_link}" onMouseOver="window.status='{$prefs_statustext}'; return true;" onMouseOut="window.status='';return true;" class="top_link">[<xsl:value-of select="prefs_title"/>]</a></td>
<td class="top_link"><a href="{$logout_link}" onMouseOver="window.status='{$logout_statustext}'; return true;" onMouseOut="window.status='';return true;" class="top_link">[<xsl:value-of select="logout_title"/>]</a></td>
<td class="top_link"><a href="{$about_link}" onMouseOver="window.status='{$about_statustext}'; return true;" onMouseOut="window.status='';return true;" class="top_link">[<xsl:value-of select="about_title"/>]</a></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END top_part -->
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr valign="top" width="100%">
<td width="17%">
<!-- BEGIN left_part -->
<table valign="top" cellpadding="2" cellspacing="2">
<xsl:apply-templates select="applications"/>
<tr>
<td/>
</tr>
</table>
<!-- END left_part -->
</td>
<td height="100%" width="80%" valign="top" align="center">
<xsl:choose>
<xsl:when test="msgbox_data">
<xsl:call-template name="msgbox"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="home">
<xsl:call-template name="portal"/>
</xsl:when>
<xsl:when test="about">
<xsl:call-template name="about"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="$app_tpl != ''">
<xsl:choose>
<xsl:when test="$app_tpl = 'delete'">
<xsl:call-template name="app_delete"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="app_data"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of disable-output-escaping="yes" select="body_data"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td width="3%"/>
</tr>
<tr valign="top">
<td colspan="3" align="center" valign="top" class="bottom">
<!-- BEGIN bottom_part -->
<xsl:value-of select="lang_powered_by"/>
<a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_phpgw_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
<xsl:text> phpGroupWare </xsl:text>
</a>
<xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> </xsl:text><xsl:value-of select="phpgw_version"/>
<!-- END bottom_part -->
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="applications">
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
<xsl:variable name="statustext"><xsl:value-of select="statustext"/></xsl:variable>
<tr>
<td height="30" width="131" valign="bottom" class="left">
<table class="left_app">
<tr>
<td class="left_app">
<a href="{$url}" onMouseOver="window.status='{$statustext}'; return true;" onMouseOut="window.status='';return true;" class="left">[<xsl:value-of select="title"/>]</a>
</td>
</tr>
</table>
</td>
</tr>
</xsl:template>

View File

@ -0,0 +1,66 @@
body,p,td,th,table,input,form,option
{
color: #000000;
}
body
{
background-color: #FFFFFF;
}
a:link,a:visited,a:active
{
color: mediumblue;
}
a:hover
{
color: #cc0000;
}
.navbar,.th
{
background-color: #80BBFF;
}
.login,.portal,.about
{
background-color: #80BBFF;
border-color: #000000;
}
.portal_text
{
color: #FFFFFF;
}
.row_on,.th_bright,.app_header
{
background-color: #CCEEFF;
}
.msgbox
{
background-color: #FFFFFF;
}
.row_off
{
background-color: #DDF0FF;
}
.cal_today
{
background-color: #FFFFCC;
}
.cal_dayview
{
background-color: #C0C0C0;
}
.email_folder
{
background-color: #7090FF;
color: #FFFFFF;
}

View File

@ -0,0 +1,66 @@
body,p,td,th,table,input,form,option
{
color: #000000;
}
body
{
background-color: #FFFFFF;
}
a:link,a:visited,a:active
{
color: mediumblue;
}
a:hover
{
color: #cc0000;
}
.navbar,.th
{
background-color: #80BBFF;
}
.login,.portal,.about
{
background-color: #80BBFF;
border-color: #000000;
}
.portal_text,.info
{
color: #FFFFFF;
}
.row_on,.th_bright,.app_header
{
background-color: #CCEEFF;
}
.msgbox
{
background-color: #FFFFFF;
}
.row_off
{
background-color: #DDF0FF;
}
.cal_today
{
background-color: #FFFFCC;
}
.cal_dayview
{
background-color: #C0C0C0;
}
.email_folder
{
background-color: #7090FF;
color: #FFFFFF;
}