<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 name="panel_profile_classified"
 top="0"
 left="0"
 height="420"
 width="315"
 follows="all"
 layout="topleft"
 help_topic="panel_profile_classified"
 min_height="250"
>
    <panel.string
     name="type_mature"
    >
        Moderate
    </panel.string>
    <panel.string
     name="type_pg"
    >
        General Content
    </panel.string>
    <panel.string
     name="l$_price"
    >
        L$[PRICE]
    </panel.string>
    <panel.string
     name="click_through_text_fmt"
    >
        [TELEPORT] teleport, [MAP] map, [PROFILE] profile
    </panel.string>
    <panel.string
     name="date_fmt"
    >
        [mthnum,datetime,slt]/[day,datetime,slt]/[year,datetime,slt]
    </panel.string>
    <panel.string
     name="auto_renew_on"
    >
        Enabled
    </panel.string>
    <panel.string
     name="auto_renew_off"
    >
        Disabled
    </panel.string>
    <panel.string
     name="location_notice"
    >
        (will update after save)
    </panel.string>
    <string
     name="publish_label"
    >
        Publish
    </string>
    <string
     name="save_label"
    >
        Save
    </string>

  <layout_stack
   name="main_classifieds_stack"
   top="0"
   bottom="-1"
   left="0"
   width="310"
   follows="all"
   layout="topleft"
   orientation="vertical"
   animate="false"
    >
    <layout_panel
     follows="all"
     width="310"
     height="300"
     layout="topleft"
     name="scroll_layout_panel"
     auto_resize="true">
      <scroll_container
       name="profile_scroll"
       top="0"
       left="0"
       height="300"
       width="310"
       follows="all"
       layout="topleft"
       color="DkGray2"
       opaque="true"
       reserve_scroll_corner="false"
      >
        <panel
         name="info_scroll_content_panel"
         top="0"
         left="0"
         height="562"
         width="280"
         follows="left|top|right"
         layout="topleft"
         background_visible="false"
         min_height="200"
        >
            <texture_picker
             name="classified_snapshot"
             enabled="false"
             top="0"
             left="10"
             height="161"
             width="260"
             follows="left|top"
             layout="topleft"
             fallback_image="default_land_picture.j2c"
            />
            <icon
             name="edit_icon"
             label=""
             tool_tip="Click to select an image"
             top="0"
             left="0"
             height="161"
             width="260"
             layout="topleft"
             follows="left|top"
             image_name="spacer24.tga"
             visible="false"
            />
            <layout_stack
             name="info_panel"
             top="145"
             left="0"
             height="375"
             width="310"
             follows="all"
             layout="topleft"
             visible="true"
             animate="false"
             orientation="vertical"
             >
                <layout_panel
                 name="main_info_panel"
                 top="0"
                 left="0"
                 height="160"
                 width="280"
                 follows="all"
                 layout="topleft"
                 auto_resize="false"
                    >
                    <text_editor
                     name="classified_name"
                     top="0"
                     left="10"
                     height="35"
                     width="270"
                     follows="left|top|right"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     font="SansSerifBig"
                     font.style="BOLD"
                     h_pad="0"
                     read_only="true"
                     text_color="white"
                     use_ellipses="true"
                     v_pad="0"
                     >
                        [name]
                    </text_editor>
                    <text
                     name="classified_location_label"
                     value="Location:"
                     top_pad="-2"
                     left="10"
                     height="10"
                     width="250"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="classified_location"
                     value="[loading...]"
                     top_pad="5"
                     left="10"
                     height="30"
                     width="280"
                     follows="left|top"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     read_only="true"
                     v_pad="0"
                     word_wrap="true"
                     />
                    <text
                     name="content_type_label"
                     value="Content Type:"
                     top_pad="10"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <icon
                     name="content_type_moderate"
                     top_pad="-11"
                     left_pad="0"
                     height="16"
                     width="18"
                     follows="top|left"
                     layout="topleft"
                     image_name="Parcel_M_Light"
                     />
                    <icon
                     name="content_type_general"
                     top_delta="0"
                     left_delta="0"
                     height="16"
                     width="18"
                     follows="top|left"
                     layout="topleft"
                     image_name="Parcel_PG_Light"
                     />
                    <text_editor
                     name="content_type"
                     value="[content type]"
                     top_delta="1"
                     left_pad="2"
                     height="18"
                     width="130"
                     follows="left|top|right"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     read_only="true"
                     v_pad="0"
                     />
                    <text
                     name="category_label"
                     value="Category:"
                     top_pad="0"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="category"
                     value="[category]"
                     top_pad="-10"
                     left_pad="0"
                     height="18"
                     width="150"
                     follows="left|top|right"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     parse_urls="true"
                     read_only="true"
                     v_pad="0"
                     />
                    <text
                     name="creation_date_label"
                     value="Creation date:"
                     top_pad="0"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="creation_date"
                     value="[date]"
                     tool_tip="Creation date"
                     top_pad="-10"
                     left_pad="0"
                     height="16"
                     width="150"
                     follows="left|top"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     halign="left"
                     read_only="true"
                     v_pad="0"
                     />
                    <text
                     name="price_for_listing_label"
                     value="Price for listing:"
                     top_pad="5"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="price_for_listing"
                     tool_tip="Price for listing."
                     top_pad="-10"
                     left_pad="0"
                     height="16"
                     width="105"
                     follows="left|top"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     halign="left"
                     read_only="true"
                     v_pad="0"
                     >
                     [PRICE]
                    </text_editor>
                </layout_panel>
                <layout_panel
                 name="clickthrough_layout_panel"
                 top="0"
                 left="0"
                 height="16"
                 width="290"
                 follows="all"
                 layout="topleft"
                 auto_resize="false"
                 >
                    <text
                     name="click_through_label"
                     value="Clicks:"
                     top_pad="0"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="click_through_text"
                     value="[clicks]"
                     tool_tip="Click through data"
                     top_pad="-10"
                     left_pad="0"
                     height="16"
                     width="150"
                     follows="left|top"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     halign="left"
                     read_only="true"
                     v_pad="0"
                     />
                </layout_panel>
                <layout_panel
                 name="auto_renew_layout_panel"
                 top="0"
                 left="0"
                 height="16"
                 width="290"
                 follows="all"
                 layout="topleft"
                 auto_resize="false"
                 >
                    <text
                     name="auto_renew_label"
                     value="Auto renew:"
                     top="0"
                     left="10"
                     height="10"
                     width="140"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text
                     name="auto_renew"
                     value="Enabled"
                     top_pad="-10"
                     left_pad="0"
                     height="16"
                     width="150"
                     follows="top|left"
                     layout="topleft"
                     />
                </layout_panel>
                <layout_panel
                 name="descr_layout_panel"
                 top="0"
                 left="0"
                 height="220"
                 width="290"
                 follows="all"
                 layout="topleft"
                 auto_resize="true"
                 >
                    <text
                     name="classified_desc_label"
                     value="Description:"
                     top="0"
                     left="10"
                     height="10"
                     width="250"
                     follows="left|top"
                     layout="topleft"
                     font.style="BOLD"
                     text_color="white"
                     />
                    <text_editor
                     name="classified_desc"
                     trusted_content="false"
                     value="[description]"
                     top_pad="7"
                     left="10"
                     height="200"
                     width="280"
                     follows="all"
                     layout="topleft"
                     allow_scroll="false"
                     bg_visible="false"
                     h_pad="0"
                     max_length="1023"
                     parse_urls="true"
                     read_only="true"
                     v_pad="0"
                     word_wrap="true"
                     />
                </layout_panel>
            </layout_stack>
            <panel
             name="edit_panel"
             top="145"
             left="0"
             height="420"
             width="320"
             follows="left|top|right"
             layout="topleft"
             visible="false"
            >
                <text
                 name="Name:"
                 top="0"
                 left="10"
                 height="15"
                 width="280"
                 follows="left|top"
                 layout="topleft"
                 font="SansSerifSmall"
                 font.style="BOLD"
                 length="1"
                 text_color="white"
                 type="string"
                >
                    Title:
                </text>
                <line_editor
                 name="classified_name_edit"
                 top_pad="2"
                 left="10"
                 height="20"
                 width="273"
                 follows="left|top|right"
                 layout="topleft"
                 font="SansSerif"
                 max_length_bytes="30"
                 prevalidate_callback="ascii"
                 commit_on_focus_lost="false"
                 text_color="black"
                />
                <text
                 name="description_label"
                 top_pad="10"
                 left="10"
                 height="15"
                 width="280"
                 follows="left|top"
                 layout="topleft"
                 font="SansSerifSmall"
                 font.style="BOLD"
                 length="1"
                 text_color="white"
                 type="string"
                >
                    Description:
                </text>
                <text_editor
                 name="classified_desc_edit"
                 top_pad="2"
                 left="10"
                 height="100"
                 width="273"
                 follows="left|top|right"
                 layout="topleft"
                 max_length="256"
                 text_color="black"
                 word_wrap="true"
                />
                <text
                 name="location_label"
                 top_pad="10"
                 left="10"
                 height="15"
                 width="280"
                 follows="left|top"
                 layout="topleft"
                 font="SansSerifSmall"
                 font.style="BOLD"
                 length="1"
                 text_color="white"
                 type="string"
                >
                    Location:
                </text>
                <text
                 name="classified_location_edit"
                 top_pad="2"
                 left="10"
                 right="-10"
                 height="30"
                 width="280"
                 follows="left|top"
                 layout="topleft"
                 length="1"
                 type="string"
                 word_wrap="true"
                >
                    loading...
                </text>
                <button
                 name="set_to_curr_location_btn"
                 label="Set to Current Location"
                 top_pad="5"
                 left="10"
                 height="23"
                 width="200"
                 follows="left|top"
                 layout="topleft"
                />
                <text
                 name="category_label"
                 value="Category:"
                 top_pad="10"
                 left="10"
                 height="10"
                 width="120"
                 follows="left|top"
                 layout="topleft"
                 font.style="BOLD"
                 text_color="white"
                />
                <combo_box
                 name="category_edit"
                 label=""
                 top_delta="-3"
                 left_pad="0"
                 height="23"
                 width="156"
                 follows="left|top"
                />
                <text
                 name="content_type_label"
                 value="Content type:"
                 top_pad="15"
                 left="10"
                 height="10"
                 width="120"
                 follows="left|top"
                 layout="topleft"
                 font.style="BOLD"
                 text_color="white"
                />
                <icons_combo_box
                 name="content_type_edit"
                 label="General Content"
                 top_delta="-3"
                 left_pad="0"
                 height="23"
                 width="156"
                 follows="left|top"
                 layout="topleft"
                >
                    <icons_combo_box.drop_down_button
                     image_overlay="Parcel_PG_Light"
                     image_overlay_alignment="left"
                     imgoverlay_label_space="3"
                     pad_left="3"
                    />
                    <icons_combo_box.item
                     name="mature_ci"
                     label="Moderate Content"
                     value="Mature"
                    >
                        <item.columns
                         value="Parcel_M_Light"
                         width="20"
                         halign="center"
                         type="icon"
                        />
                    </icons_combo_box.item>
                    <icons_combo_box.item
                     name="pg_ci"
                     label="General Content"
                     value="PG"
                    >
                        <item.columns
                         value="Parcel_PG_Light"
                         width="20"
                         halign="center"
                         type="icon"
                        />
                    </icons_combo_box.item>
                </icons_combo_box>
                <check_box
                 name="auto_renew_edit"
                 label="Auto renew each week"
                 top_pad="10"
                 left="10"
                 height="16"
                 width="250"
                 layout="topleft"
                />
              </panel>
        </panel>
      </scroll_container>
    </layout_panel>

    <layout_panel
     follows="all"
     width="310"
     height="25"
     layout="topleft"
     name="util_buttons_lp"
     auto_resize="true">
      <layout_stack
       name="util_buttons_stack"
       bottom="-1"
       left="1"
       right="-1"
       height="25"
       follows="left|bottom|right"
       layout="topleft"
       orientation="horizontal"
       animate="false"
      >
        <layout_panel
         follows="all"
         layout="topleft"
         name="util_resizer_left"
         auto_resize="true"
         user_resize="false"
         width="1"/>
        
        <layout_panel
            follows="all"
            height="25"
            layout="topleft"
            left="0"
            name="teleport_btn_lp"
            auto_resize="false"
            top="0"
            width="85">
            <button
             name="teleport_btn"
             label="Teleport"
             top="0"
             left="0"
             height="23"
             max_width="101"
             width="85"
             follows="bottom|left|right"
             layout="topleft"
             />
        </layout_panel>

        <layout_panel
            follows="all"
            height="25"
            layout="bottomleft"
            left_pad="2"
            name="map_btn_lp"
            auto_resize="false"
            max_width="101"
            width="85">
            <button
             name="show_on_map_btn"
             label="Map"
             top="0"
             left="0"
             height="23"
             width="85"
             follows="bottom|left|right"
             layout="topleft"
             />
        </layout_panel>

        <layout_panel
            follows="all"
            height="25"
            layout="bottomleft"
            left_pad="2"
            name="edit_btn_lp"
            auto_resize="false"
            max_width="101"
            width="85">
            <button
             name="edit_btn"
             label="Edit"
             top="0"
             left="0"
             height="23"
             width="85"
             follows="bottom|left|right"
             layout="topleft"
             />
        </layout_panel>

        <layout_panel
         follows="all"
         layout="topleft"
         name="util_resizer_right"
         auto_resize="true"
         width="1">
        </layout_panel>
      </layout_stack>
    </layout_panel>
    <layout_panel
     follows="all"
     width="310"
     height="41"
     layout="topleft"
     name="publish_layout_panel"
     auto_resize="false">
      <view_border
          bevel_style="none"
          height="0"
          follows="left|top|right"
          layout="topleft"
          left="0"
          name="publish_emphasis_border"
          top="5"
          width="310"/>
      <layout_stack
       name="publish_stack"
       left="1"
       right="-1"
       top="11"
       height="25"
       follows="left|top|right"
       layout="topleft"
       orientation="horizontal"
       animate="false"
      >
        <layout_panel
         follows="all"
         layout="topleft"
         name="pbl_resizer_left"
         auto_resize="true"
         user_resize="false"
         width="1"/>
        
        <layout_panel
         follows="all"
         layout="topleft"
         name="save_btn_lp"
         auto_resize="false"
         width="134">
          <button
           name="save_changes_btn"
           label="[LABEL]"
           top="0"
           left="0"
           left_pad="5"
           height="23"
           width="134"
           follows="left|top"
           layout="topleft"
             />
        </layout_panel>

        <layout_panel
         follows="all"
         layout="bottomleft"
         left_pad="2"
         name="cancel_btn_lp"
         auto_resize="false"
         width="134">
          <button
           name="cancel_btn"
           label="Cancel"
           top="0"
           left="0"
           height="23"
           width="134"
           follows="left|top"
           layout="topleft"
             />
        </layout_panel>

        <layout_panel
         follows="all"
         layout="topleft"
         name="pbl_resizer_right"
         auto_resize="true"
         width="1">
        </layout_panel>
        
      </layout_stack>
    </layout_panel>
  </layout_stack>
</panel>