<%@ Page Language="VB"  MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RedirectManagement.aspx.vb" Inherits="Configurations_RedirectManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="adminPageBody" runat="Server">
<h3>Redirect Management</h3>
    <Table>
        <tr>
            <td>
                <b>To make the changes made on this admin page take effect in the corresponding environment, you'll need to reset the site's cache'.</b>
                <br />
                <br />
            </td>
        </tr>                                                                                                                                             
    </table>
    

    <Table cellspacing="10">
    <tr>
        <td valign="top">
           <asp:ListBox id="ListBox1" runat="server"  Height="450px" AutoPostBack="true"></asp:ListBox> <br />
           <asp:Button ID="btnDeleteRedirect" Text="Delete Selected Redirect" runat="server"></asp:Button>
           <asp:Button ID="btnCreateNewRedirect" Text="Create New Redirect" runat="server"></asp:Button>
        </td>
        <td  valign="top" bgcolor="Gainsboro">
            <table>
                <tr>
                    <td align="right" style="font-weight:bold">ID</td> <td align="left"><asp:Label ID="lblTableID" runat="server"></asp:Label></td>
                </tr>       
                <tr>
                    <td align="right" style="font-weight:bold">CREATE DATE</td> <td align="left"> <asp:Label ID="lblCreateDate" runat="server"></asp:Label></td>
                </tr>   
                <tr>
                    <td align="right" style="font-weight:bold">MODIFY DATE</td> <td align="left"> <asp:Label ID="lblModifyDate" runat="server"></asp:Label></td>
                </tr> 
                <tr>
                    <td align="right" style="font-weight:bold">SEO REDIRECT URL:</td> 
                    <td align="left"> 
                        <asp:CheckBox ID="chkSEORedirect" runat="server" Onclick="alert('When converting SEO Redirects to Folder Redirects (by using this checkbox), delete your temp internet files on your local machine, then load the Folder Redirect in your browser.  IE tends to cache pages that have been SEO redirected giving the impression that the conversion has not taken place when it has.')"></asp:CheckBox>
                        
                    </td>
                </tr>                                       
                <tr>
                    <td align="right" style="font-weight:bold">REQUEST URL:</td> 
                    <td align="left">
                        <asp:HiddenField ID="hiddenRequestURL" runat="server"></asp:hiddenfield>  
                        <asp:TextBox ID="txtRequestURL" runat="server"  Columns="50"></asp:TextBox>
                    </td>
                </tr>   
                <tr>
                    <td align="right" style="font-weight:bold">REDIRECT URL:</td> <td align="left"><asp:TextBox ID="txtRedirectURL" runat="server"  Columns="50"></asp:TextBox></td>
                </tr>                  
                <tr>
                    <td align="right" style="font-weight:bold">
                        <br />
                        <br />
                    </td> <td></td>
                </tr>                                                                                                                                                                             
            </table>
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnUpdateRedirect" Text="Update The Redirect" runat="server"></asp:Button>
                        <asp:Button ID="btnAddNewRedirect" Text="Add New Redirect" runat="server"></asp:Button>
                        <asp:Button ID="btnCancelAddNewRedirect" Text="Cancel" runat="server"></asp:Button>
                    </td>
                </tr>                                                                                                                                             
            </table>
            
            
        </td>
    </tr>
    <tr align="Center">
        <td colspan="2">
            <asp:Label ID="lblMessage" runat="server" Font-Bold="true"></asp:Label><br />
            <asp:Button ID="btnOk" Text="Ok" runat="server" Visible="false"></asp:Button>
        </td>
    </tr>
</Table>
    
    
    
</asp:Content>

