phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/skins/default profile.xsl,NONE,1.1.2.1


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default profile.xsl,NONE,1.1.2.1
Date: Mon, 10 Nov 2003 00:36:07 +0000

Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv17516/api/skins/default

Added Files:
      Tag: proposal-branch
        profile.xsl 
Log Message:
- Created a *basic* user profile editor, mainly so it will be easier to create 
the contacts class around it
- Added basic parts to auth.change_passsword, it only works for current user 
and needs to ACL checking
- I added profile.xsl pending talking to Seek3r about combing about.xsl, 
home.xsl and profile.xsl into base.xsl
- Added api.statecache.cancel, which will put you into the previous op history 
item.
  I didn't use prevop becuase if you refresh that form, or submit it, it will 
throw things off


--- NEW FILE: profile.xsl ---
<?xml version="1.0"?>
<!-- $Id: profile.xsl,v 1.1.2.1 2003/11/10 00:36:05 jengo Exp $ -->
<!-- $Source: /cvsroot/phpgroupware/api/skins/default/Attic/profile.xsl,v $ -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output indent="yes" />

<xsl:template match="APP[action_type='profile']">
        <br />
        <form method="POST">
        <input type="hidden" name="profile_submit" value="True" />

        <table class="normalbox" cellSpacing="1" cellPadding="0" width="40%" 
border="0">
                <tr> 
                        <td class="sideboxtitle" align="center" height="28" 
width="100%">&#160;</td>
                </tr>
                <tr>
                        <td class="sideboxcontent" bgColor="#efefef">
                                <table class="sideboxtext" cellSpacing="0" 
cellPadding="0" width="100%" border="0" valign="top">
                                        <tr>
                                                <td>First Name:</td>
                                                <td align="right"><input 
name="profile_firstname" value="{profile_firstname}" /></td>
                                                <td align="right">
                                                        <xsl:if 
test="missing_fields/profile_firstname = 1">
                                                        <font 
color="#CC0000">*</font>
                                                </xsl:if>
                                                </td>
                                        </tr>   
                                        <tr>
                                                <td>Last Name:</td>
                                                <td align="right"><input 
name="profile_lastname" value="{profile_lastname}" /></td>
                                                <td align="right">
                                                <xsl:if 
test="missing_fields/profile_lastname = 1">
                                                        <font 
color="#CC0000">*</font>
                                                </xsl:if>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td>Password:</td>
                                                <td align="right"><input 
type="password" name="profile_password" value="{profile_password}" /></td>
                                                <td align="right">
                                                <xsl:if 
test="missing_fields/profile_password = 1">
                                                        <font 
color="#CC0000">*</font>
                                                </xsl:if>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td>Re-enter Password:</td>
                                                <td align="right"><input 
type="password" name="profile_password_confirm" 
value="{profile_password_confirm}" /></td>
                                                <td align="right">
                                                <xsl:if 
test="missing_fields/profile_password_confirm = 1">
                                                        <font 
color="#CC0000">*</font>
                                                </xsl:if>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td colspan="3">&#160;</td>
                                        </tr>
                                        <tr>
                                                <td colspan="3">
                                                        <table width="100%" 
border="0">
                                                                <td 
align="left" width="24"><input type="image" name="op" 
src="{$api_image_path}/clearform.png" value="api.statecache.clear" alt="Clear 
Form" title="Clear Form" /></td>
                                                                <td 
align="left" width="24"><input type="image" name="op" 
src="{$api_image_path}/pause.png" value="api.statecache.pause" alt="Place form 
on hold" title="Place form on hold" /></td>
                                                                <td 
width="*">&#160;</td>
                                                                <td 
align="right" width="24"><input type="image" name="op" 
src="{$api_image_path}/cancel.png" value="api.statecache.cancel" alt="Cancel" 
title="Cancel" /></td>
                                                                <td 
align="right" width="24"><input type="image" name="op" 
src="{$api_image_path}/save.png" value="api.base.profile" alt="Save" 
title="Save" /></td>
                                                        </table>
                                                </td>
                                                <td>&#160;</td>
                                        </tr>
                                </table>
                        </td>
                </tr>
        </table>
        </form>

        <p>&#160;</p>
</xsl:template>

</xsl:stylesheet>






reply via email to

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