⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 safari_inserttemplate.aspx

📁 1.把"Web"文件夹内的文件拷贝到某个文件夹 2.在IIS中新建站点
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" Inherits="CuteEditor.Dialogs.TemplateBrowserPage" %>
<HTML>
	<HEAD>
		
		<title>[[InsertTemplate]] 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</title>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)">
		<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.1)">
		<link rel="stylesheet" href='Safari_style.css'>
		<script src=safari_dialog.js></script>
		<script src="sorttable.js"></script>
		<script language="JavaScript">
		var OxObff0=["disabled","target","[[Disabled]]","[[SpecifyNewFolderName]]","","value","hiddenActionData","[[NotAailableinSafari]]","[[CopyMoveto]]","/","[[AreyouSureDelete]]","parentNode","isdir","text","hiddenAction","rename","path","True","False",":","cancelBubble","backgroundColor","style","#eeeeee","tagName","INPUT","changedir","htmlcode","hiddenFile","url","TargetUrl"]; function CreateDir_click(){if(event[OxObff0[0x1]][OxObff0[0x0]]){ alert(OxObff0[0x2]) ;return false;} ;var Ox2f4=prompt(OxObff0[0x3],OxObff0[0x4]);if(Ox2f4){ document.getElementById(OxObff0[0x6])[OxObff0[0x5]]=Ox2f4 ;return true;} else {return false;} ;}  ; function NewTemplate_Click(){ alert(OxObff0[0x7]) ;return false;}  ; function Move_click(){if(event[OxObff0[0x1]][OxObff0[0x0]]){ alert(OxObff0[0x2]) ;return false;} ;var Ox2f4=prompt(OxObff0[0x8],OxObff0[0x9]);if(Ox2f4){ document.getElementById(OxObff0[0x6])[OxObff0[0x5]]=Ox2f4 ;return true;} else {return false;} ;}  ; function Copy_click(){if(event[OxObff0[0x1]][OxObff0[0x0]]){ alert(OxObff0[0x2]) ;return false;} ;var Ox2f4=prompt(OxObff0[0x8],OxObff0[0x9]);if(Ox2f4){ document.getElementById(OxObff0[0x6])[OxObff0[0x5]]=Ox2f4 ;return true;} else {return false;} ;}  ; function Delete_click(){if(event[OxObff0[0x1]][OxObff0[0x0]]){ alert(OxObff0[0x2]) ;return false;} ;return confirm(OxObff0[0xa]);}  ; function RenImg_click(Oxba){if(Oxba[OxObff0[0x0]]){ alert(OxObff0[0x2]) ;return false;} ; row=Oxba[OxObff0[0xb]][OxObff0[0xb]] ;var name;if(row[OxObff0[0xc]]){ name=prompt(OxObff0[0x3],row.text) ;} else { name=prompt(OxObff0[0x3],row.text) ;} ;if(name&&name!=row[OxObff0[0xd]]){ document.getElementById(OxObff0[0xe])[OxObff0[0x5]]=OxObff0[0xf] ; document.getElementById(OxObff0[0x6])[OxObff0[0x5]]=(row[OxObff0[0xc]]?OxObff0[0x11]:OxObff0[0x12])+OxObff0[0x13]+row[OxObff0[0x10]]+OxObff0[0x13]+name ; postback() ;} ; event[OxObff0[0x14]]=true ;}  ; function EditImg_click(Oxba){ alert(OxObff0[0x7]) ;return false;}  ; function row_over(Oxc4){ Oxc4[OxObff0[0x16]][OxObff0[0x15]]=OxObff0[0x17] ;}  ; function row_out(Oxc4){ Oxc4[OxObff0[0x16]][OxObff0[0x15]]=OxObff0[0x4] ;}  ; function row_click(Oxc4){if(Oxc4[OxObff0[0xc]]){if(event[OxObff0[0x1]][OxObff0[0x18]]==OxObff0[0x19]){return ;} ; document.getElementById(OxObff0[0xe])[OxObff0[0x5]]=OxObff0[0x1a] ; document.getElementById(OxObff0[0x6])[OxObff0[0x5]]=Oxc4.getAttribute(OxObff0[0x10]) ; postback() ;} else {var htmlcode=Oxc4.getAttribute(OxObff0[0x1b]); document.getElementById(OxObff0[0x1c])[OxObff0[0x5]]=Oxc4.getAttribute(OxObff0[0x10]) ; document.getElementById(OxObff0[0x1e])[OxObff0[0x5]]=Oxc4.getAttribute(OxObff0[0x1d]) ; do_preview(htmlcode) ;} ;}  ; function postback(){ <%=Page.GetPostBackEventReference(hiddenAction,"")%> ;}  ;
		</script>
		<style>
		.row { HEIGHT: 22px }
		.cb { VERTICAL-ALIGN: middle }
		.itemimg { VERTICAL-ALIGN: middle }
		.editimg { VERTICAL-ALIGN: middle }
		.cell1 { VERTICAL-ALIGN: middle }
		.cell2 { VERTICAL-ALIGN: middle }
		.cell3 { PADDING-RIGHT: 4px; VERTICAL-ALIGN: middle; TEXT-ALIGN: right }
		.cb { }
		#divpreview {
			width: 355px;
			height: 235px;
			overflow:hidden;
			text-align: left;
			vertical-align: top;
			padding: 0px;
			margin: 0px;
			background-color: white;
		}
		</style>
	</HEAD>
	<body>
		<form runat="server" enctype="multipart/form-data" id="Form1">
			<!-- start hidden -->
			<script>
        var OxOf576=["onload","value","hiddenAlert","","hiddenAction","hiddenActionData"]; window[OxOf576[0x0]]=reset_hiddens ; function reset_hiddens(){if(document.getElementById(OxOf576[0x2])[OxOf576[0x1]]){ alert(document.getElementById(OxOf576[0x2]).value) ;} ; document.getElementById(OxOf576[0x2])[OxOf576[0x1]]=OxOf576[0x3] ; document.getElementById(OxOf576[0x4])[OxOf576[0x1]]=OxOf576[0x3] ; document.getElementById(OxOf576[0x5])[OxOf576[0x1]]=OxOf576[0x3] ;}  ;
			</script>
			<input type="hidden" runat="server" id="hiddenDirectory" NAME="hiddenDirectory"> <input type="hidden" runat="server" id="hiddenFile" NAME="hiddenFile">
			<input type="hidden" runat="server" enableviewstate="false" id="hiddenAlert" NAME="hiddenAlert"> <input type="hidden" runat="server" enableviewstate="false" id="hiddenAction" onserverchange="hiddenAction_ServerChange" NAME="hiddenAction">
			<input type="hidden" runat="server" enableviewstate="false" id="hiddenActionData" NAME="hiddenActionData">
			<!-- end hidden -->
			<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
				<tr>
					<td width="20">
						<asp:Image ID="Image1" Runat="server" ImageUrl="../images/openfolder.gif"></asp:Image>
					</td>
					<td width="240" class="normal">
						<asp:Label Runat="server" ID="FolderDescription"></asp:Label>
					</td>
					<td>
						<asp:ImageButton ID="CreateDir" Runat="server" AlternateText="[[Createdirectory]]" ImageUrl="../images/newfolder.gif"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)" Visible="true"
							OnClick="CreateDir_Click" />
						<asp:ImageButton ID="Copy" Runat="server" AlternateText="[[Copyfiles]]" ImageUrl="../images/Copy.gif"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)" Visible="true"
							OnClick="Copy_Click" />
						<asp:ImageButton ID="Move" Runat="server" AlternateText="[[Movefiles]]" ImageUrl="../images/move.gif"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)" Visible="true"
							OnClick="Move_Click" />
						<asp:ImageButton ID="NewTemplate" Runat="server" AlternateText="[[NewTemplate]]" ImageUrl="../images/newtemplate.gif"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)"  Visible="true"
							OnClick="NewTemplate_Click" />
					</td>
				</tr>
			</table>
			<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
				<tr>
					<td valign="top" nowrap width="250">
						<div style="BORDER: 1.5pt inset;  VERTICAL-ALIGN: middle; OVERFLOW: auto; WIDTH: 100%; HEIGHT: 240px; Padding: 0 0 0 0; BACKGROUND-COLOR: white">
							<asp:Table ID="FoldersAndFiles" Runat="server" CellSpacing="1" CellPadding="1" Width="100%" CssClass="sortable">
								<asp:TableRow BackColor="#f0f0f0">
									<asp:TableHeaderCell Width="16px" >
						<asp:ImageButton ID="Delete" Runat="server" AlternateText="Delete the selected files/directories"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)" ImageUrl="../images/s_cut.gif"
							Visible="true" OnClick="Delete_Click" />
									</asp:TableHeaderCell>
									<asp:TableHeaderCell Width="16px" >
						<asp:ImageButton ID="DoRefresh" Runat="server" AlternateText="[[Refresh]]" ImageUrl="../images/s_refresh.gif"
							onMouseOver="Check(this,1)" onMouseOut="Check(this,0)" Visible="true"
							OnClick="DoRefresh_Click" />
									</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="name_Cell" Width="136px" CssClass="filelistHeadCol">[[Name]]</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="size_Cell" Width="72px" CssClass="filelistHeadCol">[[Count]]/[[Size]]</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="op_Cell"  Width="16px">&nbsp;</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="op_Cell2"  Width="16px">&nbsp;</asp:TableHeaderCell>
								</asp:TableRow>
							</asp:Table>
						</div>
					</td>
					<td width="10">
					</td>
					<td valign="top">						
						<div style="BORDER: 1.5pt inset; VERTICAL-ALIGN: top; OVERFLOW: auto;WIDTH: 360px; HEIGHT: 240px; BACKGROUND-COLOR: white;">
							<div id="divpreview"></div>
						</div>
					</td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -