forked from extern/egroupware
update xslt tpls
This commit is contained in:
parent
b69defa25b
commit
9a98095d50
@ -6,9 +6,30 @@
|
|||||||
|
|
||||||
<xsl:template match="delete">
|
<xsl:template match="delete">
|
||||||
<table cellpadding="2" cellspacing="2" align="center">
|
<table cellpadding="2" cellspacing="2" align="center">
|
||||||
|
<tr>
|
||||||
|
<td align="center" colspan="2"><xsl:value-of select="lang_error_msg"/></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
|
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="subs = 'yes'">
|
||||||
|
<tr>
|
||||||
|
<td align="center" colspan="2">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td><input type="radio" name="subs" value="move"/></td>
|
||||||
|
<td><xsl:value-of select="lang_sub_select_move"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="radio" name="subs" value="drop"/></td>
|
||||||
|
<td><xsl:value-of select="lang_sub_select_drop"/></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</xsl:when>
|
||||||
|
</xsl:choose>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<xsl:variable name="delete_url"><xsl:value-of select="delete_url"/></xsl:variable>
|
<xsl:variable name="delete_url"><xsl:value-of select="delete_url"/></xsl:variable>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="cat_filter">
|
<xsl:template name="cat_filter">
|
||||||
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
<xsl:variable name="select_url"><xsl:value-of select="select_url"/></xsl:variable>
|
||||||
<xsl:variable name="select_name"><xsl:value-of select="select_name"/></xsl:variable>
|
<xsl:variable name="select_name"><xsl:value-of select="select_name"/></xsl:variable>
|
||||||
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
||||||
<form method="post" action="{$select_action}">
|
<form method="post" action="{$select_url}">
|
||||||
<select name="{$select_name}" onChange="this.form.submit();" onMouseout="window.status='';return true;">
|
<select name="{$select_name}" onChange="this.form.submit();" onMouseout="window.status='';return true;">
|
||||||
<xsl:attribute name="onMouseover">
|
<xsl:attribute name="onMouseover">
|
||||||
<xsl:text>window.status='</xsl:text>
|
<xsl:text>window.status='</xsl:text>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<xsl:template match="cat_list">
|
<xsl:template match="cat_list">
|
||||||
<xsl:variable name="cat_id"><xsl:value-of select="cat_id"/></xsl:variable>
|
<xsl:variable name="cat_id"><xsl:value-of select="cat_id"/></xsl:variable>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="selected">
|
<xsl:when test="selected = 'selected'">
|
||||||
<option value="{$cat_id}" selected="selected"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
<option value="{$cat_id}" selected="selected"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="filter_select">
|
<xsl:template name="filter_select">
|
||||||
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
<xsl:variable name="select_url"><xsl:value-of select="select_url"/></xsl:variable>
|
||||||
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
||||||
<form method="post" action="{$select_action}">
|
<form method="post" action="{$select_url}">
|
||||||
<select name="filter" onChange="this.form.submit()" onMouseout="window.status='';return true;">
|
<select name="filter" onChange="this.form.submit()" onMouseout="window.status='';return true;">
|
||||||
<xsl:attribute name="onMouseover">
|
<xsl:attribute name="onMouseover">
|
||||||
<xsl:text>window.status='</xsl:text>
|
<xsl:text>window.status='</xsl:text>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="search_field">
|
<xsl:template name="search_field">
|
||||||
<xsl:variable name="search_url"><xsl:value-of select="search_url"/></xsl:variable>
|
<xsl:variable name="select_url"><xsl:value-of select="select_url"/></xsl:variable>
|
||||||
<xsl:variable name="query"><xsl:value-of select="query"/></xsl:variable>
|
<xsl:variable name="query"><xsl:value-of select="query"/></xsl:variable>
|
||||||
<xsl:variable name="lang_search"><xsl:value-of select="lang_search"/></xsl:variable>
|
<xsl:variable name="lang_search"><xsl:value-of select="lang_search"/></xsl:variable>
|
||||||
<form method="post" action="{$search_url}">
|
<form method="post" action="{$select_url}">
|
||||||
<input type="text" name="query" value="{$query}" onMouseout="window.status='';return true;">
|
<input type="text" name="query" value="{$query}" onMouseout="window.status='';return true;">
|
||||||
<xsl:attribute name="onMouseover">
|
<xsl:attribute name="onMouseover">
|
||||||
<xsl:text>window.status='</xsl:text>
|
<xsl:text>window.status='</xsl:text>
|
||||||
|
@ -39,7 +39,7 @@ td.left
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin_info
|
.admin_info,a:link.admin_info,a:active.admin_info,a:visited.admin_info,a:hover.admin_info
|
||||||
{
|
{
|
||||||
background-color: #0000A0;
|
background-color: #0000A0;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@ -78,7 +78,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row_on,.th_bright
|
.row_on,.th_bright,.app_header
|
||||||
{
|
{
|
||||||
background-color: #ADADAD;
|
background-color: #ADADAD;
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
|||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.th,.app_header,td.app_header
|
.th
|
||||||
{
|
{
|
||||||
background-color: #FFE000;
|
background-color: #FFE000;
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ table.login
|
|||||||
background: url(../../default/images/bg_filler.png);
|
background: url(../../default/images/bg_filler.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user_info,.admin_info,.small_text
|
.small_text
|
||||||
{
|
{
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
@ -125,10 +125,3 @@ table.login
|
|||||||
{
|
{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app_header
|
|
||||||
{
|
|
||||||
padding: 5px;
|
|
||||||
padding-bottom: 0px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
@ -39,7 +39,7 @@ td.left
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin_info
|
.admin_info,a:link.admin_info,a:active.admin_info,a:visited.admin_info,a:hover.admin_info
|
||||||
{
|
{
|
||||||
background-color: #000066;
|
background-color: #000066;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@ -78,7 +78,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row_on,.th_bright
|
.row_on,.th_bright,.app_header
|
||||||
{
|
{
|
||||||
background-color: #ADADAD;
|
background-color: #ADADAD;
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
|||||||
background-color: #999999;
|
background-color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.th,.app_header
|
.th
|
||||||
{
|
{
|
||||||
background-color: orange;
|
background-color: orange;
|
||||||
}
|
}
|
||||||
|
@ -37,16 +37,6 @@
|
|||||||
<title><xsl:value-of select="website_title"/></title>
|
<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="{$phpgw_css_file}"/>
|
||||||
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
|
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
|
||||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="app_css">
|
|
||||||
<style type="text/css">
|
|
||||||
<xsl:text><!--</xsl:text>
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
|
||||||
<xsl:text>--></xsl:text>
|
|
||||||
</style>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- BEGIN top_part -->
|
<!-- BEGIN top_part -->
|
||||||
@ -57,7 +47,7 @@
|
|||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="current_users">
|
<xsl:when test="current_users">
|
||||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
<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>
|
<td class="admin_info" valign="bottom"><a href="{$url_current_users}" class="admin_info">[<xsl:value-of select="current_users"/>]</a></td>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<td class="admin_info"/>
|
<td class="admin_info"/>
|
||||||
@ -84,18 +74,17 @@
|
|||||||
<!-- END top_part -->
|
<!-- END top_part -->
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||||
<tr valign="top" width="100%">
|
<tr valign="top" width="100%">
|
||||||
<td width="17%" rowspan="2">
|
<td width="131">
|
||||||
<!-- BEGIN left_part -->
|
<!-- BEGIN left_part -->
|
||||||
<table valign="top" cellpadding="2" cellspacing="2">
|
<table valign="top" cellpadding="2" cellspacing="2" width="131">
|
||||||
<xsl:apply-templates select="applications"/>
|
<xsl:apply-templates select="applications"/>
|
||||||
<tr>
|
|
||||||
<td/>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
<!-- END left_part -->
|
<!-- END left_part -->
|
||||||
</td>
|
</td>
|
||||||
<!-- BEGIN app_header -->
|
<td height="100%" width="100%" valign="top" align="center">
|
||||||
<td height="15" colspan="2">
|
<table valign="top" cellpadding="2" cellspacing="2" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="app_header">
|
<xsl:when test="app_header">
|
||||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||||
@ -103,10 +92,9 @@
|
|||||||
</xsl:when>
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</td>
|
</td>
|
||||||
<!-- END app_header -->
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<td height="100%" width="80%" valign="top" align="center">
|
<td align="center">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="msgbox_data">
|
<xsl:when test="msgbox_data">
|
||||||
<xsl:call-template name="msgbox"/>
|
<xsl:call-template name="msgbox"/>
|
||||||
@ -136,6 +124,9 @@
|
|||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
<td width="3%"/>
|
<td width="3%"/>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
|
Loading…
Reference in New Issue
Block a user