<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 name="panel_profile"
 label="Profile"
 top="0"
 left="0"
 height="480"
 width="420"
 follows="all"
 layout="topleft"
>
  <!--
  Date from server comes already converted to stl timezone,
  so display it as an UTC+0
  -->
   <string 
    name="date_format"
    value="SL birthdate: [mth,datetime,utc] [day,datetime,utc], [year,datetime,utc]" />
   <string
    name="age_format"
    value="[AGE]" />
   <string
    name="partner_text"
    value="Partner: [LINK]" />
   <string
    name="CaptionTextAcctInfo">
Account: [ACCTTYPE]
[PAYMENTINFO]
    </string>
    
    <!--Badges-->
    <string
     name="BadgeBeta"
     value="Original Beta Tester" />
    <string
     name="BadgeBetaLifetime"
     value="Beta Lifetime member" />
    <string
     name="BadgeLifetime"
     value="Lifetime member" />
    <string
     name="BadgeLinden"
     value="Linden Lab employee" />
    <string
     name="BadgePremiumLifetime"
     value="Premium lifetime" />
    <string
     name="BadgePremiumPlusLifetime"
     value="Premium Plus lifetime" />

  <layout_stack
   name="image_stack"
   top="8"
   left="6"
   bottom="-1"
   width="160"
   border_size="0"
   follows="left|top|bottom"
   layout="topleft"
   animate="false"
   orientation="vertical">
    <layout_panel
     name="image_panel"
     follows="all"
     layout="topleft"
     width="160"
     height="160"
     auto_resize="false"
     user_resize="false">

      <thumbnail
       name="2nd_life_pic"
       image_name="Generic_Person_Large"
       layout="topleft"
       follows="all"
       interactable="true"
       top="0"
       left="2"
       bottom="-1"
       right="-1"/>

      <loading_indicator
       name="image_upload_indicator"
       top="69"
       left="69"
       height="23"
       width="23"
       follows="top|left"
       layout="topleft"
       visible="false"/>
    </layout_panel>

    <layout_panel
     name="basics_panel"
     follows="all"
     layout="topleft"
     height="54"
     auto_resize="false"
     user_resize="false"
        >
      <line_editor
       name="user_name"
       border_thickness="0"
       use_bg_color="false"
       background_image_disabled=""
       background_image_focused=""
       enabled="false"
       value="(loading...)"
       top="4"
       left="3"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"/>

      <line_editor
       name="sl_birth_date"
       border_thickness="0"
       use_bg_color="false"
       background_image_disabled=""
       background_image_focused=""
       enabled="false"
       value="(loading...)"
       top_pad="0"
       left_delta="0"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"/>

      <line_editor
       name="user_age"
       border_thickness="0"
       use_bg_color="false"
       background_image_disabled=""
       background_image_focused=""
       enabled="false"
       value="(loading...)"
       top_pad="0"
       left_delta="0"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"/>
    </layout_panel>
    <layout_panel
     name="partner_layout"
     follows="all"
     layout="topleft"
     height="30"
     auto_resize="false"
     user_resize="false"
     visible="true">
      <text
       type="string"
       name="partner_link"
       value="Partner: (loading...)"
       top="0"
       left="5"
       right="-1"
       height="28"
       follows="left|top|right"
       layout="topleft"
       translate="false"
       use_ellipses="true"
       word_wrap="true"
       visible="true"/>
    </layout_panel>

    <layout_panel
     name="partner_spacer_layout"
     follows="all"
     layout="topleft"
     height="14"
     auto_resize="false"
     user_resize="false"
     visible="true">
    </layout_panel>

    <layout_panel
     name="badge_layout"
     follows="all"
     layout="topleft"
     height="40"
     auto_resize="false"
     user_resize="false"
     visible="false">
      <icon
       name="badge_icon"
       image_name="Beta_Tester"
       layout="topleft"
       follows="left|top"
       top="10"
       left="5"
       height="18"
       width="18"/>
      <text
       name="badge_text"
       value="Badge Tester"
       top="13"
       left_pad="3"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"
       translate="false"
       visible="true"/>
    </layout_panel>

    <layout_panel
     name="friend_layout"
     follows="all"
     layout="topleft"
     height="16"
     auto_resize="false"
     user_resize="false"
     visible="false">
      <text
       name="friend_text"
       value="You are friends"
       text_color="ConversationFriendColor"
       top="0"
       left="5"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"
       translate="false"
       visible="true"/>
    </layout_panel>
    <layout_panel
     name="online_layout"
     follows="all"
     layout="topleft"
     height="16"
     auto_resize="false"
     user_resize="false"
     visible="false">
      <icon
       name="online_icon"
       image_name="Profile_Friend_Online"
       layout="topleft"
       follows="left|top"
       top="0"
       left="5"
       height="10"
       width="10"/>
      <text
       name="online_text"
       value="Online"
       top="0"
       left="18"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"
       translate="false"
       visible="true"/>
    </layout_panel>
    <layout_panel
     name="offline_layout"
     follows="all"
     layout="topleft"
     height="16"
     auto_resize="false"
     user_resize="false"
     visible="false">
      <icon
       name="offline_icon"
       image_name="Profile_Friend_Offline"
       layout="topleft"
       follows="left|top"
       top="0"
       left="5"
       height="10"
       width="10"/>
      <text
       name="offline_text"
       value="Offline"
       top="0"
       left="18"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"
       translate="false"
       visible="true"/>
    </layout_panel>
    <layout_panel
     name="account_layout"
     follows="all"
     layout="topleft"
     height="33"
     auto_resize="false"
     user_resize="false">
      <text
       name="account_info"
       value="Account: (loading...)"
       top="0"
       left="5"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"
       word_wrap="true"/>
    </layout_panel>
    <layout_panel
     name="indicator_stack"
     follows="all"
     layout="topleft"
     height="33"
     auto_resize="false"
     user_resize="false">
      <loading_indicator
       name="progress_indicator"
       left="67"
       top="0"
       height="23"
       width="23"
       follows="left|top"
       layout="topleft"
       visible="true"/>
    </layout_panel>
    <layout_panel
     name="settings_panel"
     follows="all"
     layout="topleft"
     height="50"
     auto_resize="false"
     user_resize="false">
      <!-- only for self -->
      <text
       name="search_label"
       value="Show my profile in search:"
       top="1"
       left="6"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"/>
      <combo_box
       name="show_in_search"
       tool_tip="Let people see you in search results"
       left="1"
       top="18"
       height="23"
       width="140"
       follows="left|top"
       layout="topleft"
       visible="true"
       enabled="false">
        <combo_box.item
           name="Hide"
           label="Hide"
           value="0" />
        <combo_box.item
           name="Show"
           label="Show"
           value="1" />
      </combo_box>
    </layout_panel>
    
    <layout_panel
     name="menu_panel"
     follows="all"
     layout="topleft"
     height="55"
     auto_resize="false"
     user_resize="false"
        >
      <menu_button
       layout="topleft"
       follows="left|top"
       left="1"
       top="25"
       height="25"
       width="140"
       label="Actions"
       halign="left"
       image_unselected="DropDown_Off"
       image_selected="DropDown_On"
       image_pressed="DropDown_Press"
       image_pressed_selected="DropDown_Press"
       image_disabled="DropDown_Disabled"
       name="agent_actions_menu" />
    </layout_panel>
  </layout_stack>

  <layout_stack
   name="main_stack"
   top="8"
   left="168"
   bottom="-1"
   right="-1"
   follows="all"
   layout="topleft"
   animate="false"
   orientation="vertical">
    <layout_panel
     name="display_name_panel"
     follows="all"
     layout="topleft"
     height="24"
     auto_resize="false"
     user_resize="false">
      <line_editor
       name="display_name"
       border_thickness="0"
       use_bg_color="false"
       background_image_disabled=""
       background_image_focused=""
       enabled="false"
       value="(loading...)"
       font="SansSerifBigLarge"
       top="0"
       left="6"
       height="19"
       right="-86"
       follows="left|top|right"
       layout="topleft"/>

      <icon
       tool_tip="Friend can see my online status"
       mouse_opaque="true"
       name="can_see_online"
       image_name="Profile_Perm_Online_Enabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-61"
       height="24"
       width="24"
       left_pad="2" />

      <icon
       tool_tip="Friend can not see my online status"
       mouse_opaque="true"
       name="cant_see_online"
       image_name="Profile_Perm_Online_Disabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-61"
       height="24"
       width="24"
       left_pad="2" />

      <icon
       tool_tip="Friend can see me on map"
       mouse_opaque="true"
       name="can_see_on_map"
       image_name="Profile_Perm_Find_Enabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-30"
       height="24"
       width="24"
       left_pad="2" />

      <icon
       tool_tip="Friend can not see me on map"
       mouse_opaque="true"
       name="cant_see_on_map"
       image_name="Profile_Perm_Find_Disabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-30"
       height="24"
       width="24"
       left_pad="2" />

      <icon
       tool_tip="Friend can edit my objects"
       mouse_opaque="true"
       name="can_edit_objects"
       image_name="Profile_Perm_Objects_Enabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-1"
       height="24"
       width="24"
       left_pad="2" />

      <icon
       tool_tip="Friend can not edit my objects"
       mouse_opaque="true"
       name="cant_edit_objects"
       image_name="Profile_Perm_Objects_Disabled"
       layout="topleft"
       follows="right|top"
       interactable="true"
       top="0"
       right="-1"
       height="24"
       width="24"
       left_pad="2" />

    </layout_panel>

    <layout_panel
     name="about_panel"
     follows="all"
     layout="topleft"
     height="159"
     auto_resize="true"
     user_resize="false">
      <text_editor
       name="sl_description_edit"
       trusted_content="false"
       always_show_icons="true"
       commit_on_focus_lost="false"
       enabled="false"
       top="0"
       left="2"
       right="-1"
       bottom="-1"
       follows="all"
       layout="topleft"
       bg_readonly_color="Transparent"
       border_visible="true"
       font="SansSerifSmall"
       h_pad="2"
       max_length="65000"
       parse_urls="true"
       word_wrap="true"
        />
    </layout_panel>
    <layout_panel
     name="about_buttons_panel"
     follows="all"
     layout="topleft"
     height="34"
     auto_resize="false"
     user_resize="false">
        <button
         name="save_description_changes"
         label="Save"
         top="1"
         right="-105"
         height="20"
         width="80"
         enabled="false"
         follows="top|right"
         layout="topleft"/>
        <button
         name="discard_description_changes"
         label="Discard"
         top="1"
         right="-1"
         height="20"
         width="100"
         enabled="false"
         follows="top|right"
         layout="topleft"/>
        <view_border
         bevel_style="none"
         height="0"
         layout="topleft"
         left="0"
         name="cost_text_border"
         top_pad="9"
         width="492"/>
    </layout_panel>

    <layout_panel
     name="groups_panel"
     follows="all"
     layout="topleft"
     height="159"
     auto_resize="true"
     user_resize="false">
      <text
       name="group_label"
       value="Group memberships"
       top="1"
       left="2"
       right="-1"
       height="16"
       follows="left|top|right"
       layout="topleft"/>
      <group_list
       name="group_list"
       top="18"
       left="2"
       right="-1"
       bottom="-1"
       follows="all"
       layout="topleft"
       border_visible="true"
       color="ScrollBgWriteableColor"
       for_agent="false"/>

    </layout_panel>
  </layout_stack>
</panel>
