updated help system

This commit is contained in:
ceb 2002-11-30 01:31:30 +00:00
parent ffa00332ce
commit f62568db1c
14 changed files with 160 additions and 32 deletions

View File

@ -0,0 +1,72 @@
<!-- $Id$ -->
<xsl:template name="help">
<xsl:apply-templates select="help_data"/>
</xsl:template>
<xsl:template match="help_data">
<table cellpadding="0" cellspacing="0" class="portal">
<tr>
<td class="portal_text">
<xsl:value-of disable-output-escaping="yes" select="space"/>
<xsl:value-of select="title"/>
</td>
<td valign="middle" align="right" class="portal_text">
<xsl:apply-templates select="control_link"/>
</td>
</tr>
<tr>
<td colspan="2">
<table cellpadding="3" cellspacing="0" class="portal">
<xsl:choose>
<xsl:when test="listbox != ''">
<tr>
<td>
<ul>
<xsl:apply-templates select="listbox"/>
</ul>
</td>
</tr>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="extrabox != ''">
<tr>
<td>
<xsl:value-of disable-output-escaping="yes" select="extrabox"/>
</td>
</tr>
</xsl:when>
<xsl:when test="xextrabox != ''">
<tr>
<td>
<xsl:call-template name="extrabox"/>
</td>
</tr>
</xsl:when>
</xsl:choose>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="control_link">
<xsl:variable name="param_url"><xsl:value-of select="param_url"/></xsl:variable>
<xsl:variable name="link_img"><xsl:value-of select="link_img"/></xsl:variable>
<xsl:variable name="img_width"><xsl:value-of select="img_width"/></xsl:variable>
<xsl:variable name="lang_param_statustext"><xsl:value-of select="lang_param_statustext"/></xsl:variable>
<a href="{$param_url}" onMouseover="window.status='{$lang_param_statustext}';return true;" onMouseout="window.status='';return true;">
<img src="{$link_img}" border="0" width="{img_width}" height="15" onMouseover="window.status='{$lang_param_statustext}';return true;" onMouseout="window.status='';return true;" alt="{$lang_param_statustext}"/>
</a>
</xsl:template>
<xsl:template match="listbox">
<xsl:variable name="link"><xsl:value-of select="link"/></xsl:variable>
<xsl:variable name="lang_link_statustext"><xsl:value-of select="lang_link_statustext"/></xsl:variable>
<li>
<a href="{$link}" onMouseover="window.status='{$lang_link_statustext}';return true;" onMouseout="window.status='';return true;">
<xsl:value-of select="text"/>
</a>
</li>
</xsl:template>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -9,19 +9,20 @@
<xsl:variable name="prefs_link" select="prefs_link"/> <xsl:variable name="prefs_link" select="prefs_link"/>
<xsl:variable name="logout_link" select="logout_link"/> <xsl:variable name="logout_link" select="logout_link"/>
<xsl:variable name="about_link" select="about_link"/> <xsl:variable name="about_link" select="about_link"/>
<xsl:variable name="manual_link" select="manual_link"/> <xsl:variable name="help_link" select="help_link"/>
<xsl:variable name="home_img" select="home_img"/> <xsl:variable name="home_img" select="home_img"/>
<xsl:variable name="prefs_img" select="prefs_img"/> <xsl:variable name="prefs_img" select="prefs_img"/>
<xsl:variable name="logout_img" select="logout_img"/> <xsl:variable name="logout_img" select="logout_img"/>
<xsl:variable name="about_img" select="about_img"/> <xsl:variable name="about_img" select="about_img"/>
<xsl:variable name="manual_img" select="manual_img"/> <xsl:variable name="help_img" select="help_img"/>
<xsl:variable name="home_title" select="home_title"/> <xsl:variable name="home_title" select="home_title"/>
<xsl:variable name="prefs_title" select="prefs_title"/> <xsl:variable name="prefs_title" select="prefs_title"/>
<xsl:variable name="logout_title" select="logout_title"/> <xsl:variable name="logout_title" select="logout_title"/>
<xsl:variable name="about_title" select="about_title"/> <xsl:variable name="about_title" select="about_title"/>
<xsl:variable name="manual_title" select="manual_title"/> <xsl:variable name="help_title" select="help_title"/>
<xsl:variable name="navbar_format" select="navbar_format"/> <xsl:variable name="navbar_format" select="navbar_format"/>
<xsl:variable name="app_tpl" select="app_tpl"/> <xsl:variable name="app_tpl" select="app_tpl"/>
<xsl:variable name="current_app" select="current_app"/>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -84,7 +85,7 @@
<td><a href="{$prefs_link}" onMouseOver="" onMouseOut=""><img src="{$prefs_img}" border="0" name="ten" alt="{$prefs_title}" title="{$prefs_title}"/></a></td> <td><a href="{$prefs_link}" onMouseOver="" onMouseOut=""><img src="{$prefs_img}" border="0" name="ten" alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
<td><a href="{$logout_link}" onMouseOver="" onMouseOut=""><img src="{$logout_img}" border="0" name="eleven" alt="{$logout_title}" title="{$logout_title}"/></a></td> <td><a href="{$logout_link}" onMouseOver="" onMouseOut=""><img src="{$logout_img}" border="0" name="eleven" alt="{$logout_title}" title="{$logout_title}"/></a></td>
<td><a href="{$about_link}" onMouseOver="" onMouseOut=""><img src="{$about_img}" border="0" name="about" alt="{$about_title}" title="{$about_title}"/></a></td> <td><a href="{$about_link}" onMouseOver="" onMouseOut=""><img src="{$about_img}" border="0" name="about" alt="{$about_title}" title="{$about_title}"/></a></td>
<td><a href="{$manual_link}" onMouseOver="" onMouseOut=""><img src="{$manual_img}" border="0" name="manual" alt="{$manual_title}" title="{$manual_title}"/></a></td> <td><a href="{$help_link}" onMouseOver="" onMouseOut="" target="_blank"><img src="{$help_img}" border="0" name="help" alt="{$help_title}" title="{$help_title}"/></a></td>
</tr> </tr>
</table> </table>
</td> </td>
@ -102,10 +103,10 @@
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:choose> <xsl:choose>
<xsl:when test="home"> <xsl:when test="$current_app = 'home'">
<xsl:call-template name="portal"/> <xsl:call-template name="portal"/>
</xsl:when> </xsl:when>
<xsl:when test="about"> <xsl:when test="$current_app = 'about'">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>

View File

@ -0,0 +1,51 @@
<!-- $Id$ -->
<xsl:template match="phpgw">
<xsl:variable name="phpgw_css_file" select="phpgw_css_file"/>
<xsl:variable name="theme_css_file" select="theme_css_file"/>
<xsl:variable name="charset" select="charset"/>
<xsl:variable name="current_app" select="current_app"/>
<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>
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr valign="top" width="100%">
<td>
<xsl:choose>
<xsl:when test="$current_app = 'help'">
<xsl:call-template name="help"/>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr valign="top">
<td 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>

View File

@ -10,20 +10,21 @@
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_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="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="about_link"><xsl:value-of select="about_link"/></xsl:variable>
<xsl:variable name="manual_link"><xsl:value-of select="manual_link"/></xsl:variable> <xsl:variable name="help_link"><xsl:value-of select="help_link"/></xsl:variable>
<xsl:variable name="about_img"><xsl:value-of select="about_img"/></xsl:variable> <xsl:variable name="about_img"><xsl:value-of select="about_img"/></xsl:variable>
<xsl:variable name="manual_img"><xsl:value-of select="manual_img"/></xsl:variable> <xsl:variable name="help_img"><xsl:value-of select="help_img"/></xsl:variable>
<xsl:variable name="home_statustext"><xsl:value-of select="home_statustext"/></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="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="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="about_statustext"><xsl:value-of select="about_statustext"/></xsl:variable>
<xsl:variable name="manual_statustext"><xsl:value-of select="manual_statustext"/></xsl:variable> <xsl:variable name="help_statustext"><xsl:value-of select="help_statustext"/></xsl:variable>
<xsl:variable name="top_css_home"><xsl:value-of select="top_css_home"/></xsl:variable> <xsl:variable name="top_css_home"><xsl:value-of select="top_css_home"/></xsl:variable>
<xsl:variable name="top_css_prefs"><xsl:value-of select="top_css_prefs"/></xsl:variable> <xsl:variable name="top_css_prefs"><xsl:value-of select="top_css_prefs"/></xsl:variable>
<xsl:variable name="top_css_about"><xsl:value-of select="top_css_about"/></xsl:variable> <xsl:variable name="top_css_about"><xsl:value-of select="top_css_about"/></xsl:variable>
<xsl:variable name="top_css_manual"><xsl:value-of select="top_css_manual"/></xsl:variable> <xsl:variable name="top_css_help"><xsl:value-of select="top_css_help"/></xsl:variable>
<xsl:variable name="top_css"><xsl:value-of select="top_css"/></xsl:variable> <xsl:variable name="top_css"><xsl:value-of select="top_css"/></xsl:variable>
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable> <xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
<xsl:variable name="current_app" select="current_app"/>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -62,7 +63,7 @@
<td class="top_menu"><a href="{$prefs_link}" onMouseOver="window.status='{$prefs_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_prefs}">[<xsl:value-of select="prefs_title"/>]</a></td> <td class="top_menu"><a href="{$prefs_link}" onMouseOver="window.status='{$prefs_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_prefs}">[<xsl:value-of select="prefs_title"/>]</a></td>
<td class="top_menu"><a href="{$logout_link}" onMouseOver="window.status='{$logout_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css}">[<xsl:value-of select="logout_title"/>]</a></td> <td class="top_menu"><a href="{$logout_link}" onMouseOver="window.status='{$logout_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css}">[<xsl:value-of select="logout_title"/>]</a></td>
<td class="top_menu"><a href="{$about_link}" onMouseOver="window.status='{$about_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_about}">[<xsl:value-of select="about_img"/>]</a></td> <td class="top_menu"><a href="{$about_link}" onMouseOver="window.status='{$about_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_about}">[<xsl:value-of select="about_img"/>]</a></td>
<td class="top_menu"><a href="{$manual_link}" onMouseOver="window.status='{$manual_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_manual}">[<xsl:value-of select="manual_img"/>]</a></td> <td class="top_menu"><a href="{$help_link}" onMouseOver="window.status='{$help_statustext}'; return true;" onMouseOut="window.status='';return true;" class="{$top_css_help}" target="_blank">[<xsl:value-of select="help_img"/>]</a></td>
</tr> </tr>
</table> </table>
</td> </td>
@ -88,10 +89,10 @@
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:choose> <xsl:choose>
<xsl:when test="home"> <xsl:when test="$current_app = 'home'">
<xsl:call-template name="portal"/> <xsl:call-template name="portal"/>
</xsl:when> </xsl:when>
<xsl:when test="about"> <xsl:when test="$current_app = 'about'">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 B

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

View File

@ -12,23 +12,24 @@
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_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="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="about_link"><xsl:value-of select="about_link"/></xsl:variable>
<xsl:variable name="manual_link"><xsl:value-of select="manual_link"/></xsl:variable> <xsl:variable name="help_link"><xsl:value-of select="help_link"/></xsl:variable>
<xsl:variable name="home_img_hover"><xsl:value-of select="home_img_hover"/></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="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="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="about_img_hover"><xsl:value-of select="about_img_hover"/></xsl:variable>
<xsl:variable name="manual_img_hover"><xsl:value-of select="manual_img_hover"/></xsl:variable> <xsl:variable name="help_img_hover"><xsl:value-of select="help_img_hover"/></xsl:variable>
<xsl:variable name="home_img"><xsl:value-of select="home_img"/></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="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="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="about_img"><xsl:value-of select="about_img"/></xsl:variable>
<xsl:variable name="manual_img"><xsl:value-of select="manual_img"/></xsl:variable> <xsl:variable name="help_img"><xsl:value-of select="help_img"/></xsl:variable>
<xsl:variable name="home_title"><xsl:value-of select="home_title"/></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="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="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="about_title"><xsl:value-of select="about_title"/></xsl:variable>
<xsl:variable name="manual_title"><xsl:value-of select="manual_title"/></xsl:variable> <xsl:variable name="help_title"><xsl:value-of select="help_title"/></xsl:variable>
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable> <xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
<xsl:variable name="current_app" select="current_app"/>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -82,7 +83,7 @@
<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="{$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="{$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="about.src='{$about_img_hover}'" onMouseOut="about.src='{$about_img}'"><img src="{$about_img}" border="0" name="about" alt="{$about_title}" title="{$about_title}"/></a></td> <td><a href="{$about_link}" onMouseOver="about.src='{$about_img_hover}'" onMouseOut="about.src='{$about_img}'"><img src="{$about_img}" border="0" name="about" alt="{$about_title}" title="{$about_title}"/></a></td>
<td><a href="{$manual_link}" onMouseOver="manual.src='{$manual_img_hover}'" onMouseOut="manual.src='{$manual_img}'"><img src="{$manual_img}" border="0" name="manual" alt="{$manual_title}" title="{$manual_title}"/></a></td> <td><a href="{$help_link}" onMouseOver="help.src='{$help_img_hover}'" onMouseOut="help.src='{$help_img}'" target="_blank"><img src="{$help_img}" border="0" name="help" alt="{$help_title}" title="{$help_title}"/></a></td>
</tr> </tr>
</table> </table>
</td> </td>
@ -109,10 +110,10 @@
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:choose> <xsl:choose>
<xsl:when test="home"> <xsl:when test="$current_app = 'home'">
<xsl:call-template name="portal"/> <xsl:call-template name="portal"/>
</xsl:when> </xsl:when>
<xsl:when test="about"> <xsl:when test="$current_app = 'about'">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>

View File

@ -12,18 +12,19 @@
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_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="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="about_link"><xsl:value-of select="about_link"/></xsl:variable>
<xsl:variable name="manual_link"><xsl:value-of select="manual_link"/></xsl:variable> <xsl:variable name="help_link"><xsl:value-of select="help_link"/></xsl:variable>
<xsl:variable name="home_img"><xsl:value-of select="home_img"/></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="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="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="about_img"><xsl:value-of select="about_img"/></xsl:variable>
<xsl:variable name="manual_img"><xsl:value-of select="manual_img"/></xsl:variable> <xsl:variable name="help_img"><xsl:value-of select="help_img"/></xsl:variable>
<xsl:variable name="home_title"><xsl:value-of select="home_title"/></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="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="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="about_title"><xsl:value-of select="about_title"/></xsl:variable>
<xsl:variable name="manual_title"><xsl:value-of select="manual_title"/></xsl:variable> <xsl:variable name="help_title"><xsl:value-of select="help_title"/></xsl:variable>
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable> <xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
<xsl:variable name="current_app" select="current_app"/>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -52,7 +53,7 @@
<td valign="bottom" width="85" class="top"><a href="{$prefs_link}"><img src="{$prefs_img}" width="85" height="23" border="0" alt="{$prefs_title}" title="{$prefs_title}"/></a></td> <td valign="bottom" width="85" class="top"><a href="{$prefs_link}"><img src="{$prefs_img}" width="85" height="23" border="0" alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
<td valign="bottom" width="56" class="top"><a href="{$logout_link}"><img src="{$logout_img}" width="56" height="23" border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td> <td valign="bottom" width="56" class="top"><a href="{$logout_link}"><img src="{$logout_img}" width="56" height="23" border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td>
<td valign="bottom" width="39" class="top"><a href="{$about_link}"><img src="{$about_img}" width="39" height="23" border="0" alt="{$about_title}" title="{$about_title}"/></a></td> <td valign="bottom" width="39" class="top"><a href="{$about_link}"><img src="{$about_img}" width="39" height="23" border="0" alt="{$about_title}" title="{$about_title}"/></a></td>
<td valign="bottom" width="39" class="top"><a href="{$manual_link}"><img src="{$manual_img}" width="39" height="23" border="0" alt="{$manual_title}" title="{$manual_title}"/></a></td> <td valign="bottom" width="39" class="top"><a href="{$help_link}" target="_blank"><img src="{$help_img}" width="39" height="23" border="0" alt="{$help_title}" title="{$help_title}"/></a></td>
</tr> </tr>
</table> </table>
</td> </td>
@ -111,10 +112,10 @@
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:choose> <xsl:choose>
<xsl:when test="home"> <xsl:when test="$current_app = 'home'">
<xsl:call-template name="portal"/> <xsl:call-template name="portal"/>
</xsl:when> </xsl:when>
<xsl:when test="about"> <xsl:when test="$current_app = 'about'">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

View File

@ -9,21 +9,22 @@
<xsl:variable name="prefs_link" select="prefs_link"/> <xsl:variable name="prefs_link" select="prefs_link"/>
<xsl:variable name="logout_link" select="logout_link"/> <xsl:variable name="logout_link" select="logout_link"/>
<xsl:variable name="about_link" select="about_link"/> <xsl:variable name="about_link" select="about_link"/>
<xsl:variable name="manual_link" select="manual_link"/> <xsl:variable name="help_link" select="help_link"/>
<xsl:variable name="home_img" select="home_img"/> <xsl:variable name="home_img" select="home_img"/>
<xsl:variable name="prefs_img" select="prefs_img"/> <xsl:variable name="prefs_img" select="prefs_img"/>
<xsl:variable name="logout_img" select="logout_img"/> <xsl:variable name="logout_img" select="logout_img"/>
<xsl:variable name="about_img" select="about_img"/> <xsl:variable name="about_img" select="about_img"/>
<xsl:variable name="manual_img" select="manual_img"/> <xsl:variable name="help_img" select="help_img"/>
<xsl:variable name="home_title" select="home_title"/> <xsl:variable name="home_title" select="home_title"/>
<xsl:variable name="prefs_title" select="prefs_title"/> <xsl:variable name="prefs_title" select="prefs_title"/>
<xsl:variable name="logout_title" select="logout_title"/> <xsl:variable name="logout_title" select="logout_title"/>
<xsl:variable name="about_title" select="about_title"/> <xsl:variable name="about_title" select="about_title"/>
<xsl:variable name="manual_title" select="manual_title"/> <xsl:variable name="help_title" select="help_title"/>
<xsl:variable name="phpgw_body" select="phpgw_body"/> <xsl:variable name="phpgw_body" select="phpgw_body"/>
<xsl:variable name="greybar" select="greybar"/> <xsl:variable name="greybar" select="greybar"/>
<xsl:variable name="phpgw_statustext" select="lang_phpgw_statustext"/> <xsl:variable name="phpgw_statustext" select="lang_phpgw_statustext"/>
<xsl:variable name="app_tpl" select="app_tpl"/> <xsl:variable name="app_tpl" select="app_tpl"/>
<xsl:variable name="current_app" select="current_app"/>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -58,7 +59,7 @@
<td><a href="{$prefs_link}"><img src="{$prefs_img}" border="0" alt="{$prefs_title}" title="{$prefs_title}"/></a></td> <td><a href="{$prefs_link}"><img src="{$prefs_img}" border="0" alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
<td><a href="{$logout_link}"><img src="{$logout_img}" border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td> <td><a href="{$logout_link}"><img src="{$logout_img}" border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td>
<td><a href="{$about_link}"><img src="{$about_img}" border="0" alt="{$about_title}" title="{$about_title}"/></a></td> <td><a href="{$about_link}"><img src="{$about_img}" border="0" alt="{$about_title}" title="{$about_title}"/></a></td>
<td><a href="{$manual_link}"><img src="{$manual_img}" border="0" alt="{$manual_title}" title="{$manual_title}"/></a></td> <td><a href="{$help_link}" target="_blank"><img src="{$help_img}" border="0" alt="{$help_title}" title="{$help_title}"/></a></td>
</tr> </tr>
</table> </table>
</td> </td>
@ -103,10 +104,10 @@
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
<xsl:choose> <xsl:choose>
<xsl:when test="home"> <xsl:when test="$current_app = 'home'">
<xsl:call-template name="portal"/> <xsl:call-template name="portal"/>
</xsl:when> </xsl:when>
<xsl:when test="about"> <xsl:when test="$current_app = 'about'">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>