﻿<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   homeCard.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

      Copyright (c) 2004-2005 America Online, Inc.  All rights reserved.
      This software contains valuable confidential and proprietary
      information of America Online, Inc. and is subject to applicable
      licensing agreements.  Unauthorized reproduction, transmission or
      distribution of this file and its contents is a violation of
      applicable laws.

            A M E R I C A   O N L I N E   C O N F I D E N T I A L

****************************************************************************
-->

<!DOCTYPE window SYSTEM "box://plaxoApp/resources/plaxoStrings.dtd">

<?import href="box://boxelyToolkit/theme/toolkit.box"?>
<?import href="box://plaxoApp/content/plaxoToolkit.box"?>

<library xmlns="http://www.aol.com/boxely/resource.xsd"
         xmlns:box="http://www.aol.com/boxely/box.xsd"
         xmlns:s="http://www.aol.com/boxely/style.xsd"
         xmlns:on="http://www.aol.com/boxely/reaction.xsd"> 

		<gadget id="homeCard" type="box" language="jscript" script="box://plaxoApp/content/gadget/card.js">
			<parts>
				<box:vbox s:flex="1" accDescription="&plaxoStrings.cards.home.header;">
				<box:vbox style="plaxoCardback2" s:margin="0">
					
					<!-- Card Header -->
					<box:hbox s:vAlign="center">
						<box:image src="box://plaxoApp/theme/images/plaxo_house.png" s:margin="6 0 6 16" />
						<box:vbox s:margin="8 0 8 6" s:minHeight="36" s:flex="1" >
							<box:aolMultilineStatic plaintext="true" s:marginLeft="0" s:marginRight="0" id="cardheader" s:flex="1" s:width="auto" wordwrap="true" s:fontBold="true" s:padding="0" s:fontSize="12px" value="&plaxoStrings.cards.home.header;" />
							<box:aolMultilineStatic plaintext="true" id="cardtext" s:minHeight="30" collapsed="true" s:width="370*" wordwrap="true" s:padding="0"/>
						</box:vbox>
					</box:hbox>	


					<box:hbox>
						<!-- Field Column 1 -->
						<box:vbox s:flex="3" id="col1" >
						
							<box:hbox id="homeName" s:vAlign="center" readOnly="true" field="0" s:height="30" s:maxWidth="auto" > 
								<box:text s:paddingLeft="0" value="&plaxoStrings.cards.fieldnames.name;" s:width="70*" s:hAlign="right"/>
								<box:aolInput s:marginLeft="0" s:marginRight="0" s:textColor="#aaaaaa" readOnly="true" s:paddingLeft="5" id="data" s:flex="1" s:maxWidth="auto" />
							</box:hbox>
							
							<box:plaxoNameValue id="homeEmail1" field="5" caption="&plaxoStrings.cards.fieldnames.email1;" maxLen="256" />
							<box:plaxoNameValue id="homeEmail2" field="6" caption="&plaxoStrings.cards.fieldnames.email2;" maxLen="256" />
							<box:plaxoMultilineNameValue id="homeAddress" field="26" caption1="&plaxoStrings.cards.fieldnames.homeAddress;" caption2="&plaxoStrings.cards.fieldnames.homeAddress.2;" h="50*" maxLen="256" accUseLabel="&plaxoStrings.cards.fieldnames.homeAddress.3;" />
							<box:plaxoMultilineNameValue id="homeMicroBlog" field="52" caption1="&plaxoStrings.cards.fieldnames.microBlog;" caption2="&plaxoStrings.cards.fieldnames.microBlog.2;" h="50*" maxLen="256" accUseLabel="&plaxoStrings.cards.fieldnames.microBlog.3;" />
						</box:vbox>

						<!-- Field Column 2 -->
						<box:vbox s:margin="0 10 0 10" s:flex="2" id="col2" >

							<box:hbox s:hAlign="end"> 
								<box:vbox accDescription="&plaxoStrings.cards.sharing.homePhoto;">
									<box:plaxoPhotoWidget id="photoWidget" s:zIndex="1" field="54" on:command="gadget:choosePhoto();" s:marginRight="3" />
								</box:vbox>
								<box:plaxoXClear id="xClear" s:top="3" s:right="6" s:position="fixed" hidden="true" s:zIndex="2" on:command="gadget:resetPhoto();" accValue="&plaxoStrings.cards.sharing.delHomePhoto;" />
							</box:hbox>

							<box:plaxoNameValue id="homeMobile" field="24" caption="&plaxoStrings.cards.fieldnames.homeMobile;" maxLen="20" />
							<box:plaxoNameValue id="homePhone" field="14" caption="&plaxoStrings.cards.fieldnames.homePhone;" maxLen="20" />
							<box:plaxoNameValue id="homeFax" field="16" caption="&plaxoStrings.cards.fieldnames.homeFax;" maxLen="20" />
							<box:plaxoNameValue id="homeWeb" field="11" caption="&plaxoStrings.cards.fieldnames.homeWeb;" maxLen="256" />

							<box:plaxoBirthday s:hAlign="end" field="48" s:flex="0" s:vAlign="center" s:marginRight="3"/>
						</box:vbox>
				</box:hbox>

				<box:hbox>
					<box:vbox id="shareSection" s:flex="1" s:minHeight="57" style="plaxoPrivacyback" >
						
						<box:hbox s:margin="8 0 0 8">
							
							<box:image id="shareimg" src="box://plaxoApp/theme/images/opt_private.png" s:maxWidth="49" s:width="49" s:maxHeight="40" s:height="40" />
                        
							<box:vbox s:flex="1">						
								<box:aolMultilineStatic plaintext="true" id="sharetxt" value="&plaxoStrings.sharing.options;" s:fontBold="true" s:margin="1 0 0 2" />
								<box:hbox id="sharingSettings" collapsed="false" s:vAlign="center" s:flex="1">
										<box:plaxoComboBox id="sharingCombo" s:width="100*" on:command="gadget:onSharingChange();" s:margin="3 6 0 2" friend="sharing/PerSharingCombo" accName="&plaxoStrings.sharing.options;" >
											<box:aolMenuItem label="&plaxoStrings.generic.private;" value="private" selected="true" id="private" />
											<box:aolMenuItem label="&plaxoStrings.generic.friends;" value="friends" id="friends" />
											<box:aolMenuItem label="&plaxoStrings.generic.public;" value="public" id="public" />
										</box:plaxoComboBox>
										<box:aolMultilineStatic plaintext="true" s:vAlign="center" s:maxWidth="auto" s:width="296" s:margin="5 0 0 0" id="sharetxtContent" s:flex="1" />
								</box:hbox>
								<box:spacer s:height="4" />
							</box:vbox>
						</box:hbox>		
					</box:vbox>
				</box:hbox>
			</box:vbox>
			</box:vbox>
			
		</parts>

        <behavior inherits="box://boxelyToolkit/content/behaviors.box#tabs">
            <reaction event="initialized" action="gadget:onConstructed();"/>
        </behavior>

	</gadget>

</library>
