Web/fckeditor/editor/plugins/code/InsertCode.aspx

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" EnableViewState="true" ValidateRequest="false" CodeBehind="InsertCode.aspx.cs" Inherits="Web.fckeditor.editor.dialog.InsertCode" %> 

<%@ Register TagPrefix="CH" Namespace="ActiproSoftware.CodeHighlighter" Assembly="ActiproSoftware.CodeHighlighter.Net20" %> 
<!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 id="Head1" runat="server"> 
<title>插入代码</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>

<script type="text/javascript"> 
var oEditor = window.parent.InnerDialogLoaded();

function Ok() 
{ 
if(GetE('txtCode').value == '') 
{ 
alert("代码内容不能为空!"); 
return false; 
} 
oEditor.FCK.InsertHtml(GetE("lblCode").innerHTML ) ; 
return true ; 
} 
</script>

<style type="text/css"> 
body{margin:0px;padding:0px;}
.langType 
{ 
padding-bottom:5px; 
} 
.btnRun 
{ 
padding-top:5px; 
text-align:right; 
} 
PRE { 
background-color: #FFFEF8; 
border-style: solid; 
border-width: 1px; 
border-color: #C0C0C0; 
font-family: Courier New, monospace; 
font-size: 10pt; 
} 
</style>
</head> 
<body> 
    <form id="form1" runat="server">         
        <div> 
            <div class="langType"> 
                语言类型:<asp:DropDownList ID="ddlLangType" runat="server"> 
                </asp:DropDownList></div> 
            <div class="textCode"> 
                <asp:TextBox ID="txtCode" runat="server" TextMode="multiline" Width="660px" Height="440px"></asp:TextBox> 
            </div> 
            <div class="btnRun"> 
                <asp:CheckBox ID="chkOutLining" Text="折叠代码" runat="server" /> 
                <asp:CheckBox ID="chkLineNum" Text="允许行号" runat="server" /> 
后面还有 9 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。