<?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 SYSTEM "box://aimToolkit/resources/localization.dtd">



<?import href="box://aimToolkit/content/windowingPack/windowGadgets.box"?>
<?import href="box://aimToolkit/content/inputPack/inputGadgets.box"?>
<?import href="box://aimToolkit/theme/toolkit.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"
           internalPadding="20" 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://aimToolkit/content/dialog/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:hAlign="stretch" s:vSpace="5">
        <aolLabel value="&editURL.label.uri;"/>
        <hbox s:hAlign="stretch" s:maxWidth="auto" s:flex="0">
            <aolInput id="uri" invalidCharMessagePrefix="&editURL.invalidChar.Prefix;" invalidCharMessageSufix="&editURL.invalidChar.Sufix;" on:modified="onURLModified();" s:flex="1" s:maxWidth="auto" s:height="20">
                <reaction event="attributeSet" attributeName="value" action="urlChanged();"/>
            </aolInput>
        </hbox>
        <aolLabel value="&editURL.label.description;"/>
        <vbox s:flex="1" s:maxWidth="auto">
            <aolMultilineInput id="description" enablerich="false" s:margin="2" s:flex="1" s:maxWidth="auto" s:overflow="scroll"/>
        </vbox>
        <hbox hidden="true" id="encodeWarning" s:hAlign="center">
            <aolLabel wordWrap="true" s:textColor="&editURL.Warning.Color;" value="&editURL.invalidChar.Warning;"/>
        </hbox>
        <hbox s:hAlign="center">
            <aolButton id="btnYes" label="&dialog.button.ok;" disabled="true" defaultButton="true" command="cmdOk"/>
            <separator/>
            <aolButton id="btnNo" label="&dialog.button.cancel;" cancelButton="true" command="cmdCancel"/>
        </hbox>
    </vbox>
</aolDialog>

