phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/templates/default admin.xsl, 1.12, 1.13


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default admin.xsl, 1.12, 1.13
Date: Mon, 08 Sep 2003 13:36:39 -0400

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv22936/templates/default

Modified Files:
        admin.xsl 
Log Message:
no message

Index: admin.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/admin.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** admin.xsl   5 Aug 2003 13:32:39 -0000       1.12
--- admin.xsl   8 Sep 2003 17:36:37 -0000       1.13
***************
*** 6,9 ****
--- 6,12 ----
                                <xsl:apply-templates select="edit_id"/>
                        </xsl:when>
+                       <xsl:when test="contact_info">
+                               <xsl:apply-templates select="contact_info"/>
+                       </xsl:when>
                        <xsl:otherwise>
                                <xsl:apply-templates select="list_permission"/>
***************
*** 639,640 ****
--- 642,756 ----
                </table>
        </xsl:template>
+ 
+ 
+       <xsl:template match="contact_info">
+               <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>
+                       <tr>
+                               <td align="left">
+                                       <xsl:value-of select="lang_user"/>
+                               </td>
+                               <td align="left">
+                                       <xsl:call-template 
name="user_id_filter"/>
+                               </td>
+                       </tr>
+                       <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
+                       <form method="post" name="form" action="{$form_action}">
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of select="lang_email"/>
+                               </td>
+                               <td>
+                                       <input type="hidden" name="filter" 
value="{value_user_id}"></input>
+                                       <input type="hidden" 
name="values[old_email]" value="{value_old_email}"></input>
+                                       <input type="text" size = "30" 
name="values[email]" value="{value_email}" onMouseout="window.status='';return 
true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_email_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of select="lang_phone"/>
+                               </td>
+                               <td>
+                                       <input type="hidden" 
name="values[old_phone]" value="{value_old_phone}"></input>
+                                       <input type="text" size = "30" 
name="values[phone]" value="{value_phone}" onMouseout="window.status='';return 
true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_phone_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of 
select="lang_approval_from"/>
+                               </td>
+                               <td align="left">
+                                       <input type="hidden" 
name="values[old_approval_from]" value="{value_old_approval_from}"></input>
+                                       <xsl:variable 
name="lang_approval_from_statustext"><xsl:value-of 
select="lang_approval_from_statustext"/></xsl:variable>
+                                       <select name="values[approval_from]" 
class="forms" onMouseover="window.status='{$lang_approval_from_statustext}'; 
return true;" onMouseout="window.status='';return true;">
+                                               <option value=""><xsl:value-of 
select="lang_no_user"/></option>
+                                               <xsl:apply-templates 
select="approval_from"/>
+                                       </select>
+                               </td>
+                       </tr>
+                       <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_statustext"/>
+                                                       <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_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </form>
+                               </td>
+                       </tr>
+               </table>
+               </div>
+       </xsl:template>
+ 
+       <xsl:template match="approval_from">
+       <xsl:variable name="user_id"><xsl:value-of 
select="user_id"/></xsl:variable>
+               <xsl:choose>
+                       <xsl:when test="selected">
+                               <option value="{$user_id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <option value="{$user_id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:template>
+ 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]