[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1.1,1.2 |
Date: |
Fri, 30 May 2003 06:43:05 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv25364/templates/default
Modified Files:
admin_location.xsl
Log Message:
no message
Index: admin_location.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/admin_location.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** admin_location.xsl 29 May 2003 07:42:24 -0000 1.1
--- admin_location.xsl 30 May 2003 10:43:02 -0000 1.2
***************
*** 15,18 ****
--- 15,21 ----
<xsl:apply-templates select="list_config"/>
</xsl:when>
+ <xsl:when test="edit_config">
+ <xsl:apply-templates select="edit_config"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="list"/>
***************
*** 180,183 ****
--- 183,269 ----
</xsl:template>
+ <!-- edit_config -->
+ <xsl:template match="edit_config">
+ <div align="left">
+
+ <table cellpadding="2" cellspacing="2" width="80%"
align="center">
+ <xsl:choose>
+ <xsl:when test="msgbox_data != ''">
+ <tr>
+ <td align="left" colspan="3">
+ <xsl:call-template
name="msgbox"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
+ <form method="post" action="{$form_action}">
+
+ <xsl:for-each select="location_list" >
+ <tr>
+ <td class="th_text"
align="left" >
+ <xsl:value-of
select="id"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of
select="name"/>
+ </td>
+ <td align="left">
+
+ <xsl:choose>
+ <xsl:when
test="selected='selected'">
+ <input
type="radio" name="values[{//column_name}]" value="{id}" checked="checked"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="//lang_config_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </xsl:when>
+ <xsl:otherwise>
+ <input
type="radio" name="values[{//column_name}]" value="{id}"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="//lang_config_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </td>
+ </tr>
+ </xsl:for-each>
+
+ <tr height="50">
+ <td>
+ <xsl:variable
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+ <input type="submit"
name="values[save]" value="{$lang_save}" onMouseout="window.status='';return
true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_save_standardtext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </form>
+ <tr>
+ <td>
+ <xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
+ <xsl:variable
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
+ <form method="post"
action="{$done_action}">
+ <input type="submit"
name="done" value="{$lang_done}" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_done_standardtext"/>
+ <xsl:text>';
return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </xsl:template>
+
<xsl:template match="table_add">
<tr>
***************
*** 484,494 ****
<tr>
<td valign="top">
! <xsl:value-of
select="lang_entity_type"/>
</td>
<td valign="top">
<xsl:variable
name="lang_entity_statustext"><xsl:value-of
select="lang_entity_statustext"/></xsl:variable>
! <xsl:variable
name="select_entity_type"><xsl:value-of
select="select_entity_type"/></xsl:variable>
! <select name="{$select_entity_type}"
class="forms" onMouseover="window.status='{$lang_entity_statustext}'; return
true;" onMouseout="window.status='';return true;">
! <option value=""><xsl:value-of
select="lang_no_entity_type"/></option>
<xsl:apply-templates
select="entity_list"/>
</select>
--- 570,580 ----
<tr>
<td valign="top">
! <xsl:value-of
select="lang_location_type"/>
</td>
<td valign="top">
<xsl:variable
name="lang_entity_statustext"><xsl:value-of
select="lang_entity_statustext"/></xsl:variable>
! <xsl:variable
name="select_location_type"><xsl:value-of
select="select_location_type"/></xsl:variable>
! <select name="{$select_location_type}"
class="forms" onMouseover="window.status='{$lang_entity_statustext}'; return
true;" onMouseout="window.status='';return true;">
! <option value=""><xsl:value-of
select="lang_no_location_type"/></option>
<xsl:apply-templates
select="entity_list"/>
</select>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1.1,1.2,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/phpgroupware draft_transform.inc.php,NONE,1.1 edit_transform.inc.php,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.51,1.52 tables_current.inc.php,1.85,1.86
- Previous by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/phpgroupware draft_transform.inc.php,NONE,1.1 edit_transform.inc.php,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.51,1.52 tables_current.inc.php,1.85,1.86
- Index(es):