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

📄 selectpath.aspx

📁 最好用的站点内容管理系统 全部源代码都有
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="configuration_system_selectPath" Codebehind="selectPath.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title><%Response.Write(NetCMS.Config.UIConfig.HeadTitle); %></title>
<link href="../../sysImages/<%Response.Write(NetCMS.Config.UIConfig.CssPath()); %>/css/css.css" rel="stylesheet" type="text/css" />
</head>
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Public.js"></script>
<body>
<form id="Templetslist" action="" runat="server" method="post">
<div id="addfiledir" runat="server"></div>
<div id="File_List" runat="server"></div>
 <input type="hidden" name="Type" />
 <input type="hidden" name="Path"/>
 <input type="hidden" name="ParentPath" />
 <input type="hidden" name="OldFileName" />
 <input type="hidden" name="NewFileName" />
 <input type="hidden" name="filename" />
 <input type="hidden" name="Urlx" />
</form>

</body>
</html>

<script language="javascript" type="text/javascript">
function ListGo(Path,ParentPath)
{
    //self.location='?Path='+Path+'&ParentPath='+ParentPath;
	document.Templetslist.Path.value=Path;
	document.Templetslist.ParentPath.value=ParentPath;
	document.Templetslist.submit();
}
function EditFolder(path,filename)   
{
	var ReturnValue='';
	ReturnValue=prompt('修改的名称:',filename.replace(/'|"/g,''));
	if ((ReturnValue!='') && (ReturnValue!=null))
	{
	    //self.location.href='?Type=EidtDirName&Path='+path+'&OldFileName='+filename+'&NewFileName='+ReturnValue;
	    document.Templetslist.Type.value="EidtDirName";
	    document.Templetslist.Path.value=path;
	    document.Templetslist.OldFileName.value=filename;
	    document.Templetslist.NewFileName.value=ReturnValue;
	    document.Templetslist.submit();
	}
	else
	{
	    if(ReturnValue!=null)
	    {
	        alert('请填写要更名的名称');
	    }    
	}
}

function DelDir(path)
{
    if(confirm('确定删除此文件夹以及此文件夹下所有文件吗?'))
    {
	    document.Templetslist.Type.value="DelDir";
	    document.Templetslist.Path.value=path;
	    document.Templetslist.submit();
    }
}

function AddDir(path)
{
	var ReturnValue='';
	var filename='';
	ReturnValue=prompt('要添加的文件夹名称',filename.replace(/'|"/g,''));
	if ((ReturnValue!='') && (ReturnValue!=null))
	{
	    //self.location.href='?Type=AddDir&Path='+path+'&OldFileName='+filename+'&NewFileName='+ReturnValue;
	    document.Templetslist.Type.value="AddDir";
	    document.Templetslist.Path.value=path;
	    document.Templetslist.filename.value=ReturnValue;
	    document.Templetslist.submit();
	}
	else
	{
	    if(ReturnValue!=null)
	    {
	        alert('请填写要添加的文件夹名称');
	    }    
	}
}

function ReturnValue(obj)
{
    parent.ReturnFun(obj);
}
</script>

⌨️ 快捷键说明

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