[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety phpgw.xsl,1.3,1.4
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety phpgw.xsl,1.3,1.4 |
Date: |
Thu, 24 Oct 2002 23:04:30 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/idsociety
In directory subversions:/tmp/cvs-serv4957/phpgwapi/templates/idsociety
Modified Files:
phpgw.xsl
Log Message:
update to use xslt *** HEAD IS CURRENTLY BROKEN ***
Index: phpgw.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/idsociety/phpgw.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** phpgw.xsl 23 Oct 2002 20:47:32 -0000 1.3
--- phpgw.xsl 25 Oct 2002 03:04:28 -0000 1.4
***************
*** 2,22 ****
<xsl:template match="phpgw">
! <xsl:variable name="phpgw_css_path"><xsl:value-of
select="phpgw_css_path"/></xsl:variable>
! <xsl:variable name="theme_css_path"><xsl:value-of
select="theme_css_path"/></xsl:variable>
<xsl:variable name="charset"><xsl:value-of
select="charset"/></xsl:variable>
<xsl:variable name="onload"><xsl:value-of
select="onload"/></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="preferences_link"><xsl:value-of
select="preferences_link"/></xsl:variable>
<xsl:variable name="logout_link"><xsl:value-of
select="logout_link"/></xsl:variable>
! <xsl:variable name="help_link"><xsl:value-of
select="help_link"/></xsl:variable>
! <xsl:variable name="welcome_img_hover"><xsl:value-of
select="welcome_img_hover"/></xsl:variable>
! <xsl:variable name="preferences_img_hover"><xsl:value-of
select="preferences_img_hover"/></xsl:variable>
<xsl:variable name="logout_img_hover"><xsl:value-of
select="logout_img_hover"/></xsl:variable>
<xsl:variable name="about_img_hover"><xsl:value-of
select="about_img_hover"/></xsl:variable>
! <xsl:variable name="welcome_img"><xsl:value-of
select="welcome_img"/></xsl:variable>
! <xsl:variable name="preferences_img"><xsl:value-of
select="preferences_img"/></xsl:variable>
<xsl:variable name="logout_img"><xsl:value-of
select="logout_img"/></xsl:variable>
<xsl:variable name="about_img"><xsl:value-of
select="about_img"/></xsl:variable>
<html>
<head>
--- 2,28 ----
<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="onload"><xsl:value-of
select="onload"/></xsl:variable>
<xsl:variable name="logo_img"><xsl:value-of
select="logo_img"/></xsl:variable>
+ <xsl:variable name="nav_bar_left_top_bg_img"><xsl:value-of
select="nav_bar_left_top_bg_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="preferences_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_img_hover"><xsl:value-of
select="home_img_hover"/></xsl:variable>
! <xsl:variable name="prefs_img_hover"><xsl:value-of
select="prefs_img_hover"/></xsl:variable>
<xsl:variable name="logout_img_hover"><xsl:value-of
select="logout_img_hover"/></xsl:variable>
<xsl:variable name="about_img_hover"><xsl:value-of
select="about_img_hover"/></xsl:variable>
! <xsl:variable name="home_img"><xsl:value-of
select="home_img"/></xsl:variable>
! <xsl:variable name="prefs_img"><xsl:value-of
select="prefs_img"/></xsl:variable>
<xsl:variable name="logout_img"><xsl:value-of
select="logout_img"/></xsl:variable>
<xsl:variable name="about_img"><xsl:value-of
select="about_img"/></xsl:variable>
+ <xsl:variable name="home_title"><xsl:value-of
select="home_title"/></xsl:variable>
+ <xsl:variable name="prefs_title"><xsl:value-of
select="prefs_title"/></xsl:variable>
+ <xsl:variable name="logout_title"><xsl:value-of
select="logout_title"/></xsl:variable>
+ <xsl:variable name="about_title"><xsl:value-of
select="about_title"/></xsl:variable>
+ <xsl:variable name="phpgw_body"><xsl:value-of
select="phpgw_body"/></xsl:variable>
<html>
<head>
***************
*** 28,36 ****
<link rel="icon" href="favicon.ico"
type="image/x-ico"/>
<link rel="shortcut icon" href="favicon.ico"/>
! <title><xsl:value-of
select="phpgw_website_title"/></title>
<script language="JavaScript"
type="text/javascript">
<xsl:text>
! function MM_swapImgRestore()
{ //v3.0
var i,x,a=document.MM_sr;
--- 34,42 ----
<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>
<script language="JavaScript"
type="text/javascript">
<xsl:text>
! <!-- function MM_swapImgRestore()
{ //v3.0
var i,x,a=document.MM_sr;
***************
*** 73,93 ****
if(right_doc != null){
parent.right.location.href=right_doc; }
if(bottom_doc != null){
parent.bottom.location.href=bottom_doc; }
! }
</xsl:text>
</script>
! <link rel="stylesheet" type="text/css"
href="{$phpgw_css_path}">
! <link rel="stylesheet" type="text/css"
href="{$theme_css_path}">
</head>
<body onLoad="{$onload}">
<table width="100%" height="100%"
cellspacing="0" cellpadding="0">
<tr>
! <td colspan="2">
<!-- BEGIN top_part -->
<table width="100%"
height="73" cellspacing="0" cellpadding="0">
! <tr
class="top_top">
<!-- 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" valign="top">
!
<img src="{$logo_img}" border="0">
</td>
<td
valign="bottom">
--- 79,99 ----
if(right_doc != null){
parent.right.location.href=right_doc; }
if(bottom_doc != null){
parent.bottom.location.href=bottom_doc; }
! } -->
</xsl:text>
</script>
! <link rel="stylesheet" type="text/css"
href="{$phpgw_css_file}"/>
! <link rel="stylesheet" type="text/css"
href="{$theme_css_file}"/>
</head>
<body onLoad="{$onload}">
<table width="100%" height="100%"
cellspacing="0" cellpadding="0">
<tr>
! <td colspan="2" valign="top">
<!-- BEGIN top_part -->
<table width="100%"
height="73" cellspacing="0" cellpadding="0">
! <tr
class="top_top" height="58">
<!-- 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" valign="top">
!
<img src="{$logo_img}" border="0"/>
</td>
<td
valign="bottom">
***************
*** 101,105 ****
<xsl:otherwise>
<td></td>
!
</xsl:othwerwise>
</xsl:choose>
<td width="33%" class="info" align="right"><xsl:value-of
select="user_info_date"/></td>
--- 107,111 ----
<xsl:otherwise>
<td></td>
!
</xsl:otherwise>
</xsl:choose>
<td width="33%" class="info" align="right"><xsl:value-of
select="user_info_date"/></td>
***************
*** 108,120 ****
</td>
</tr>
! <tr
align="right" class="top_bottom">
<td
colspan="2">
<!--
row 2 right nav buttons -->
<table cellpadding="0" cellspacing="0">
!
<tr>
!
<td><a href="{$home_link}"
onMouseOver="nine.src='{$welcome_img_hover}'"
onMouseOut="nine.src='{$welcome_img}'"><img src="{$welcome_img}" border="0"
name="nine" alt="{$welcome_title}" title="{$welcome_title}"></a></td>
!
<td><a href="{$preferences_link}"
onMouseOver="ten.src='{$preferences_img_hover}'"
onMouseOut="ten.src='{$preferences_img}'"><img src="{$preferences_img}"
border="0" name="ten" alt="{$prefs_title}" title="{$prefs_title}"></a></td>
!
<td><a href="{$logout_link}"
onMouseOver="eleven.src='{$logout_img_hover}'"
onMouseOut="eleven.src='{$logout_img}'"><img src="{$logout_img}" border="0"
name="eleven" alt="{$logout_title}" title="{$logout_title}"></a></td>
!
<td><a href="{$help_link}"
onMouseOver="help.src='{$about_img_hover}'"
onMouseOut="help.src='{$about_img}'"><img src="{$about_img}" border="0"
name="help" alt="{$about_title}" title="{$about_title}"></a></td>
</tr>
</table>
--- 114,126 ----
</td>
</tr>
! <tr
align="right" class="top_bottom" height="15">
<td
colspan="2">
<!--
row 2 right nav buttons -->
<table cellpadding="0" cellspacing="0">
!
<tr class="top_bottom">
!
<td><a href="{$home_link}"
onMouseOver="nine.src='{$home_img_hover}'"
onMouseOut="nine.src='{$home_img}'"><img src="{$home_img}" border="0"
name="nine" alt="{$home_title}" title="{$home_title}"/></a></td>
!
<td><a href="{$prefs_link}"
onMouseOver="ten.src='{$prefs_img_hover}'"
onMouseOut="ten.src='{$prefs_img}'"><img src="{$prefs_img}" border="0"
name="ten" alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
!
<td><a href="{$logout_link}"
onMouseOver="eleven.src='{$logout_img_hover}'"
onMouseOut="eleven.src='{$logout_img}'"><img src="{$logout_img}" border="0"
name="eleven" alt="{$logout_title}" title="{$logout_title}"/></a></td>
!
<td><a href="{$about_link}"
onMouseOver="help.src='{$about_img_hover}'"
onMouseOut="help.src='{$about_img}'"><img src="{$about_img}" border="0"
name="help" alt="{$about_title}" title="{$about_title}"/></a></td>
</tr>
</table>
***************
*** 131,146 ****
<xsl:apply-templates select="applications"/>
<tr>
!
<td><img src="{$nav_bar_left_top_bg_img}"></td>
</tr>
</table>
<!-- END left_part -->
</td>
! <td width="85%" height="85%"
valign="top" align="center">
! <xsl:call-template
name="msgbox"/>
! <xsl:call-template
name="phpgw_body"/>
</td>
</tr>
<tr>
! <td colspan="2" align="center"
valign="middle" class="info">
<!-- BEGIN bottom_part -->
<xsl:value-of
select="lang_powered_by"/>
--- 137,163 ----
<xsl:apply-templates select="applications"/>
<tr>
!
<td><img src="{$nav_bar_left_top_bg_img}"/></td>
</tr>
</table>
<!-- END left_part -->
</td>
! <td width="100%" height="100%"
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:otherwise>
!
<xsl:value-of disable-output-escaping="yes" select="body_data"/>
! </xsl:otherwise>
! </xsl:choose>
</td>
</tr>
<tr>
! <td colspan="2" align="center"
valign="middle" class="bottom">
<!-- BEGIN bottom_part -->
<xsl:value-of
select="lang_powered_by"/>
***************
*** 163,169 ****
<xsl:template match="applications">
<tr>
<td class="left">
! <a href="{$url}"
onMouseOver="{$name}.src='{$img_src_over}'"
onMouseOut="{$name}.src='{$icon}'"><img src="{$icon}" border="0" alt="{$title}"
title="{$title}" name="{$name}"></a>
</td>
</tr>
--- 180,191 ----
<xsl:template match="applications">
+ <xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
+ <xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
+ <xsl:variable name="img_src_over"><xsl:value-of
select="img_src_over"/></xsl:variable>
+ <xsl:variable name="icon"><xsl:value-of select="icon"/></xsl:variable>
+ <xsl:variable name="title"><xsl:value-of select="title"/></xsl:variable>
<tr>
<td class="left">
! <a href="{$url}"
onMouseOver="{$name}.src='{$img_src_over}'"
onMouseOut="{$name}.src='{$icon}'"><img src="{$icon}" border="0" alt="{$title}"
title="{$title}" name="{$name}"/></a>
</td>
</tr>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety phpgw.xsl,1.3,1.4,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: stocks/inc class.ui.inc.php,1.14,1.15 hook_home.inc.php,1.17,1.18
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default portal.xsl,1.10,1.11
- Previous by thread:
[Phpgroupware-cvs] CVS: stocks/inc class.ui.inc.php,1.14,1.15 hook_home.inc.php,1.17,1.18
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default portal.xsl,1.10,1.11
- Index(es):