📄 linkedit.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Blogger/Admin/BloggerAdmin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Blogger.Plugins.RuiaoLink.Admin.LinkEdit" Codebehind="LinkEdit.aspx.cs" %>
<asp:Content ID="MyHead" ContentPlaceHolderID="phHead" Runat="Server">
<script type="text/javascript">
//<![CDATA[
function addLoadEvent(func)
{
if ( typeof MyOnload!='function')
{
MyOnload=func;
}
else
{
var Oldonload=MyOnload;MyOnload=function(){Oldonload();func();}
}
}
//]]>
</script>
<script type="text/javascript" src="<%=AppUrl %>/Common/Script/xfn.js"></script>
</asp:Content>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMainAdmin" Runat="Server">
<div id="ContentTitle"><%=MyTitle %></div>
<div id="ContentBody">
<div style="">
<input type="button" class="LinkButton" value="管理链接" onclick="location='Default<%=ExtensionName %>'" />
<input type="button" class="LinkButton" value="添加链接" onclick="location='LinkAdd<%=ExtensionName %>'" />
<input type="button" class="LinkButton" value="链接分类" onclick="location='LinkCategoryManage<%=ExtensionName %>'" />
</div>
<fieldset class="ContentBox">
<div class="ContentBox_Head" onclick="BoxSwitch('mcBody','siBody','/Blogger/Admin/Images/Box_')"><div style="float:left;">基本资料</div><div id="siBody" class="SwitchIcon_Down"></div></div>
<div class="ContentBox_ContentBox" id="mcBody">
<div class="ContentBox_ContentItem">
<table id="MainOptions" width="100%" border="0" cellpadding="3" cellspacing="0" class="Body">
<tr>
<td align="right" style="width: 15%">链接名称:</td>
<td >
<img id="LinkIconPreview" alt="" src="" style="display:none;" />
<asp:DropDownList ID="ddlIcon" runat="server"></asp:DropDownList>
<asp:TextBox ID="tbName" runat="server" Width="260px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" style="width: 15%">连接地址:</td>
<td ><asp:TextBox ID="tbUrl" runat="server" Width="260px"></asp:TextBox></td>
</tr>
<tr>
<td align="right"style="width: 15%">简短描述:</td>
<td ><asp:TextBox ID="tbDescription" runat="server" TextMode="MultiLine" Width="260px" Height="68px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 15%">分类:</td>
<td ><asp:DropDownList ID="ddlLinkCategory" runat="server"></asp:DropDownList></td>
</tr>
</table>
</div>
</div>
</fieldset>
<div style="text-align:right; padding:5px">
<asp:Button ID="btSave" runat="server" Text="保存编辑" CssClass="SubmitButton" OnClick="btSave_Click" />
</div>
<fieldset class="ContentBox">
<div class="ContentBox_Head" onclick="BoxSwitch('mcXNF','siXNF','/Blogger/Admin/Images/Box_')"><div style="float:left;">链接关系网(XNF)</div><div id="siXNF" class="SwitchIcon_Down"></div></div>
<div class="ContentBox_ContentBox" id="mcXNF" style="display:none;">
<div class="ContentBox_ContentItem">
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
<tr>
<th scope="row" style="width:30%; text-align:right">关系:</th>
<td style="width:70%"><input type="text" name="link_rel" id="link_rel" size="50" value="<%=LinkEntity.Rel %>" /></td>
</tr>
<tr>
<th scope="row" style="text-align:right"><a href="http://gmpg.org/xfn/">XFN</a>引擎:</th>
<td>
<table cellpadding="3" cellspacing="5">
<tr>
<th scope="row"> 身份 </th>
<td>
<label for="me">
<input type="checkbox" name="identity" value="me" id="me" <%=(RelList.IndexOf("me") > -1)?"checked=\"checked\"":"" %> />
我的另一个网站地址</label>
</td>
</tr>
<tr>
<th scope="row"> 友谊 </th>
<td>
<label for="contact">
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <%=(RelList.IndexOf("contact") > -1)?"checked=\"checked\"":"" %> /> 联系</label>
<label for="acquaintance">
<input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <%=(RelList.IndexOf("acquaintance") > -1)?"checked=\"checked\"":"" %> /> 熟人</label>
<label for="friend">
<input class="valinp" type="radio" name="friendship" value="friend" id="friend" <%=(RelList.IndexOf("friend") > -1)?"checked=\"checked\"":"" %> /> 朋友</label>
<label for="friendship">
<input name="friendship" type="radio" class="valinp" value="" id="friendship"/> 无</label>
</td>
</tr>
<tr>
<th scope="row"> 接触 </th>
<td>
<label for="met">
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <%=(RelList.IndexOf("met") > -1)?"checked=\"checked\"":"" %> />
一面之交</label>
</td>
</tr>
<tr>
<th scope="row"> 职业关系 </th>
<td>
<label for="co-worker">
<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <%=(RelList.IndexOf("co-worker") > -1)?"checked=\"checked\"":"" %> />
同事</label>
<label for="colleague">
<input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <%=(RelList.IndexOf("colleague") > -1)?"checked=\"checked\"":"" %> />
亲密同事</label>
</td>
</tr>
<tr>
<th scope="row"> 同城 </th>
<td>
<label for="co-resident">
<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <%=(RelList.IndexOf("co-resident") > -1)?"checked=\"checked\"":"" %> />
同居</label>
<label for="neighbor">
<input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <%=(RelList.IndexOf("neighbor") > -1)?"checked=\"checked\"":"" %> />
邻居</label>
<label for="geographical">
<input class="valinp" type="radio" name="geographical" value="" id="geographical" />
无</label>
</td>
</tr>
<tr>
<th scope="row"> 家庭 </th>
<td>
<label for="child">
<input class="valinp" type="radio" name="family" value="child" id="child" <%=(RelList.IndexOf("child") > -1)?"checked=\"checked\"":"" %> />
子女</label>
<label for="kin">
<input class="valinp" type="radio" name="family" value="kin" id="kin" <%=(RelList.IndexOf("kin") > -1)?"checked=\"checked\"":"" %> />
亲戚</label>
<label for="parent">
<input class="valinp" type="radio" name="family" value="parent" id="parent" <%=(RelList.IndexOf("parent") > -1)?"checked=\"checked\"":"" %> />
父母</label>
<label for="sibling">
<input class="valinp" type="radio" name="family" value="sibling" id="sibling" <%=(RelList.IndexOf("sibling") > -1)?"checked=\"checked\"":"" %> />
同胞</label>
<label for="spouse">
<input class="valinp" type="radio" name="family" value="spouse" id="spouse" <%=(RelList.IndexOf("spouse") > -1)?"checked=\"checked\"":"" %> />
配偶</label>
<label for="family">
<input class="valinp" type="radio" name="family" value="" id="family" />
无</label>
</td>
</tr>
<tr>
<th scope="row"> 罗曼史 </th>
<td>
<label for="muse">
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <%=(RelList.IndexOf("muse") > -1)?"checked=\"checked\"":"" %> />
单恋</label>
<label for="crush">
<input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <%=(RelList.IndexOf("crush") > -1)?"checked=\"checked\"":"" %> />
好感</label>
<label for="date">
<input class="valinp" type="checkbox" name="romantic" value="date" id="date" <%=(RelList.IndexOf("date") > -1)?"checked=\"checked\"":"" %> />
交往</label>
<label for="romantic">
<input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <%=(RelList.IndexOf("sweetheart") > -1)?"checked=\"checked\"":"" %> />
恋人</label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
<br />
<fieldset class="ContentBox">
<div class="ContentBox_Head" onclick="BoxSwitch('mcAdv','siAdv','/Blogger/Admin/Images/Box_')"><div style="float:left;">高级</div><div id="siAdv" class="SwitchIcon_Down"></div></div>
<div class="ContentBox_ContentBox" id="mcAdv" style="display:none;">
<div class="ContentBox_ContentItem">
<table id="Table1" width="100%" border="0" cellpadding="3" cellspacing="0" class="Body">
<tr>
<td align="right" style="width: 15%">图片链接:</td>
<td ><asp:TextBox ID="tbImage" runat="server" Width="260px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 15%">RSS地址:</td>
<td ><asp:TextBox ID="tbRssUrl" runat="server" Width="260px"></asp:TextBox></td>
</tr>
<tr>
<td align="right"style="width: 15%">附录:</td>
<td ><asp:TextBox ID="tbNotes" runat="server" TextMode="MultiLine" Width="260px" Height="68px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 15%">评级:</td>
<td >
<asp:DropDownList ID="ddlRating" runat="server">
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" style="width: 15%">打开目标:</td>
<td >
<asp:DropDownList ID="ddlTarget" runat="server">
</asp:DropDownList>(注意:<code>target</code>属性在严格的XHTML 1.1和1.0中是不合法的。)</td>
</tr>
<tr>
<td align="right" style="width: 15%">公开显示:</td>
<td >
<asp:CheckBox ID="cbxVisible" runat="server" Checked="true" /></td>
</tr>
</table>
</div>
</div>
</fieldset>
<br />
</div>
<div id="ContentBottom"></div>
<script type="text/javascript">if(typeof MyOnload=='function')MyOnload();</script>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -