<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   editURL.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

//      Copyright (c) 2006 AOL LLC.  All rights reserved.
//      This software contains valuable confidential and proprietary
//      information of AOL LLC. and is subject to applicable
//      licensing agreements.  Unauthorized reproduction, transmission or
//      distribution of this file and its contents is a violation of
//      applicable laws.
//
//            A O L   C O N F I D E N T I A L

****************************************************************************
-->


<?boxely version="1.0"?>

<!DOCTYPE window [
  <!ENTITY % im SYSTEM "box://imApp/resources/im.dtd">
  %im;
]>



<?import href="box://aimToolkit/content/gadgets.box"?>
<?import href="box://aimToolkit/theme/toolkit.box"?>
<?import href="box://imApp/theme/style.box"?>
<?import href="box://imApp/content/imAppLib.box"?>
<?import href="box://imApp/content/prefs/prefsContainerStyles.box"?>
<?import href="box://imApp/theme/coreGadgetStyles.box"?>

<aolDialog xmlns="http://www.aol.com/boxely/box.xsd"
           xmlns:s="http://www.aol.com/boxely/style.xsd"
           xmlns:on="http://www.aol.com/boxely/reaction.xsd"
           translucent="false" chromeless="true"
           id="dialogTitle" title="&editURL.dialog.title;"
           s:height="250" s:width="350"
           on:initialized="onInitialized();"
           on:presented="onPresented();">
    <code id="main" language="jscript" src="box://imApp/content/gadgets/editURL.js" />

    <reaction event="keyPress" keyCode="ESCAPE" action="toolkit:Close"/>

    <commandGroup>
        <command id="cmdOk" action="onOk();"/>
        <command id="cmdCancel" action="onCancel();"/>
    </commandGroup>

    <vbox s:flex="1" s:padding="10">
        <aolLabel value="&editURL.label.uri;"/>
        <hbox>
            <aolInput id="uri" accName="&editURL.label.uri;" on:modified="onURLModified();" s:flex="1" s:maxWidth="auto">
                <reaction event="attributeSet" attributeName="value" action="urlChanged();"/>
            </aolInput>
        </hbox>
        <aolLabel value="&editURL.label.description;"/>
        <aolMultilineInput id="description" accName="&editURL.label.description;" enablerich="false" s:flex="1" s:maxWidth="auto" s:overflow="scroll"/>
        <hbox hidden="true" id="encodeWarning" s:hAlign="center">
            <aolLabel wordWrap="true" s:textColor="&editURL.Warning.Color;" value="&editURL.invalidChar.Warning;"/>
        </hbox>
    </vbox>
    <hbox style="bottomButtonGroupContainer">
        <aolButton id="btnYes" label="&im.form.ok;" disabled="true" defaultButton="true" command="cmdOk"/>
        <aolButton id="btnNo" label="&im.form.cancel;" cancelButton="true" command="cmdCancel"/>
    </hbox>
</aolDialog>

