<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML.Old\UI.xsd">
  <Frame name="SMN_SpamDisplayTemplate" parent="UIParent" frameStrata="DIALOG" enableMouse="true" virtual="true" hidden="true">
    <Size>
      <AbsDimension x="400" y="300"/>  
    </Size>
    <Anchors>
      <Anchor point="CENTER"></Anchor>
    </Anchors>
    <Backdrop bgFile="Interface/Tooltips/UI-Tooltip-Background" edgeFile="Interface/Tooltips/UI-Tooltip-Border" tile="true">
      <BackgroundInsets>
        <AbsInset bottom="9" right="9" top="9" left="9"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
      <Color a="0.8" r="0" g="0" b="0"/>
    </Backdrop>
    <Frames>
      <Button name="$parent_CloseButtonX" inherits="UIPanelCloseButton">
        <Anchors>
          <Anchor point="TOPRIGHT">
            <Offset>
              <AbsDimension x="-3" y="-3"/>
            </Offset>
          </Anchor>
        </Anchors>
      </Button>
      <Frame name="$parent_HeaderFrame">
        <Size>
          <AbsDimension x="375" y="40"/>          
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="12" y="-12"></Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Frame name="$parent_SpammerCombo" inherits="UIDropDownMenuTemplate" enableMouse="true">
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="60" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnShow>
                SpamMeNot:InitializeSpammerCombo()
              </OnShow>
            </Scripts>
          </Frame>
        </Frames>
        <Layers>          
          <Layer>             
            <FontString name="$parent_SpammerTitle" inherits="GameFontNormal" text="SMN_TEXT_SPAMMER_TITLE">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="5" y="-5"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_RatingTitle" inherits="GameFontNormal" text="SMN_TEXT_RATING_TITLE">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-100" y="-35"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_DateTitle" inherits="GameFontNormal" text="SMN_TEXT_DATE_TITLE" justifyH="LEFT">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-100" y="-5"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_TimeTitle" inherits="GameFontNormal" text="SMN_TEXT_TIME_TITLE" justifyH="LEFT">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-100" y="-20"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_SpammerName" inherits="GameFontWhite" text="Fred" hidden="true">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="70" y="-5"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_Rating" inherits="GameFontWhite" text="100">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-18" y="-35"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>

            <FontString name="$parent_Date" inherits="GameFontWhite" text="2007-05-12" justifyH="LEFT">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-18" y="-5"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
            <FontString name="$parent_Time" inherits="GameFontWhite" text="21:54:00" justifyH="LEFT">
              <Anchors>
                <Anchor point="TOPRIGHT">
                  <Offset x="-18" y="-20"/>
                </Anchor>
              </Anchors>
              <Size>
                <AbsDimension x="0" y="0"/>
              </Size>
            </FontString>
          </Layer>
        </Layers>
      </Frame>
      <ScrollFrame name="$parent_TextScoller" inherits="UIPanelScrollFrameTemplate">
        <Size>
          <AbsDimension x="355" y="190"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="12" y ="-70"></Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnShow>
            this:UpdateScrollChildRect();
          </OnShow>
        </Scripts>
        <ScrollChild>
          <Frame name="$parent_TextFrame" >
            <Size>
              <AbsDimension x="355" y ="10"/>
            </Size>
            <Anchors>              
              <Anchor point="TOPLEFT" relativeTo="$parentTextScroller">
                <Offset>
                  <AbsDimension x="5" y="5"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer>
                <FontString name ="$parent_Text" inherits="GameFontWhite" text="This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. " justifyH="LEFT">
                  <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="$parent"></Anchor>
                  </Anchors>
                  <Size x="355" y="0"></Size>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
        </ScrollChild>
      </ScrollFrame>
      <Button name="$parent_ReportButton" inherits="OptionsButtonTemplate" text="SMN_TEXT_REPORT" hidden="false">
        <Anchors>
          <Anchor point="BOTTOMLEFT">
            <Offset>
              <AbsDimension x="15" y="15"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Size>
          <AbsDimension x="80" y="20"/>
        </Size>
        <Scripts>
          <OnClick>
            SpamMeNot:UIReportSpammer()
          </OnClick>
        </Scripts>
      </Button>
      <Button name="$parent_InnocentButton" inherits="OptionsButtonTemplate" text="SMN_TEXT_INNOCENT">
        <Anchors>
          <Anchor point="BOTTOMLEFT">
            <Offset>
              <AbsDimension x="100" y="15"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Size>
          <AbsDimension x="80" y="20"/>
        </Size>
        <Scripts>
          <OnClick>
            SpamMeNot:UIInnocent()
          </OnClick>
        </Scripts>
      </Button>
      <Button name="$parent_CloseButton" inherits="OptionsButtonTemplate" text="SMN_TEXT_CLOSE">
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset>
              <AbsDimension x="-15" y="15"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Size>
          <AbsDimension x="80" y="20"/>
        </Size>
        <Scripts>
          <OnClick>
            getglobal(this:GetParent():GetName() .. "_CloseButtonX"):Click()
          </OnClick>
        </Scripts>
      </Button>
    </Frames>
    <Scripts>
      <OnLoad>
        this:RegisterForDrag("LeftButton")
        this:SetMovable(true)
      </OnLoad>
      <OnDragStart> this:StartMoving() </OnDragStart>
      <OnDragStop> this:StopMovingOrSizing() </OnDragStop>
    </Scripts>
  </Frame>
  
</Ui>
