<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\UI.xsd"> <Script File="PortraitHealthConfig.lua"/> <Frame name="PH_ConfigFrame"> <Frames> <!-- Sound Toggle CheckButton --> <CheckButton name="$parentSoundToggle" inherits="InterfaceOptionsCheckButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="20" y="-24" /> </Anchors> <Scripts> <OnLoad> _G[self:GetName().."Text"]:SetText("Play sound when execute phase is reached."); </OnLoad> </Scripts> </CheckButton> <!-- Display Toggle CheckButton --> <CheckButton name="$parentDisplayToggle" inherits="InterfaceOptionsCheckButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="20" y="-48" /> </Anchors> <Scripts> <OnLoad> _G[self:GetName().."Text"]:SetText("Display the target health."); </OnLoad> </Scripts> </CheckButton> </Frames> <Scripts> <OnLoad> PH_ConfigFrame_OnLoad(self); </OnLoad> <OnEvent> </OnEvent> </Scripts> </Frame> </Ui>