<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<%@ Control language="c#" Inherits="Xpdt.Portal.QuickLinks" CodeBehind="QuickLinks.ascx.cs" AutoEventWireup="false" %>
<%@ Register TagPrefix="Portal" TagName="Divider" Src="~/ModuleDivider.ascx"%>
<TABLE width="100%">
	<TR>
		<TD class="ModuleFrame">
			<portal:title id="Title1" runat="server" EditText="Add Link" EditUrl="~/DesktopModules/EditQuickLinks.aspx"></portal:title><asp:datalist id="myDataList" runat="server" EnableViewState="false" Width="100%" CellPadding="4">
				<ItemTemplate>
					<span class="<%# GetNormalStyle() %>">
						<asp:Image id="Image2" Visible='<%# !IsEditable %>' ImageUrl='<%# linkImage %>' runat="server">
						</asp:Image>
						<asp:HyperLink id="Hyperlink3" ToolTip="Click here to edit this link" Visible='<%# IsEditable %>' ImageUrl='<%# linkImage %>' NavigateUrl='<%# "~/DesktopModules/EditQuickLinks.aspx?ItemID=" + DataBinder.Eval(Container.DataItem,"ItemID") + "&mid=" + ModuleId %>' runat="server" />
						<asp:HyperLink Text='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"Url") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem,"Description") %>' runat="server" ID="Hyperlink2" NAME="Hyperlink2"/>
					</span>
					<br>
				</ItemTemplate>
			</asp:datalist><br>
			<Portal:Divider runat="server" id="Divider1" />
		</TD>
	</TR>
</TABLE>
