<Button parentKey="Logout" inherits="SyncUI_OptionsButtonTemplate,SecureActionButtonTemplate" text="LOGOUT">
<Attributes>
<Attribute name="type" value="macro" />
<Attribute name="macrotext" value="/logout" />
</Attributes>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Addons" relativePoint="BOTTOM"/>
</Anchors>
<Scripts>
<OnClick>
if not IsResting() then
HideUIPanel(GameMenuFrame)
end
</OnClick>
</Scripts>
</Button>
<Button parentKey="Exit" inherits="SyncUI_OptionsButtonTemplate,SecureActionButtonTemplate" text="EXIT_GAME">
<Attributes>
<Attribute name="type" value="macro" />
<Attribute name="macrotext" value="/exit" />
</Attributes>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Logout" relativePoint="BOTTOM" x="0" y="10" />
</Anchors>
<Scripts>
<OnClick>
if not IsResting() then
HideUIPanel(GameMenuFrame)
end
</OnClick>
</Scripts>
</Button>