global_urlgrid.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:2k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="c#" Inherits="Discuz.Web.Admin.urlgrid" Codebehind="global_urlgrid.aspx.cs" %>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <%@ Register Src="../UserControls/PageInfo.ascx" TagName="PageInfo" TagPrefix="uc1" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <html>
  6. <head>
  7. <title>伪静态url的替换规则</title>
  8. <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
  9. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
  10. <script type="text/javascript" src="../js/common.js"></script>
  11. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  12. </head>
  13. <body>
  14. <form id="Form1" runat="server">
  15. <uc1:PageInfo ID="info1" runat="server" Icon="information" Text="对正则式不太了解的情况下请不要改动, 如果修改建议事先备份论坛目录下的config/urls.config文件" />
  16. <uc1:PageInfo ID="PageInfo1" runat="server" Icon="warning" Text="[name为只读项]" />
  17. <cc1:DataGrid ID="DataGrid1" runat="server" OnCancelCommand="DataGrid_Cancel" OnEditCommand="DataGrid_Edit"
  18. OnUpdateCommand="DataGrid_Update">
  19. <Columns>
  20. <asp:TemplateColumn HeaderText="name">
  21. <itemtemplate>
  22. <%# DataBinder.Eval(Container.DataItem,"name")%>
  23. </itemtemplate>
  24. <edititemtemplate>
  25. <asp:TextBox id="nametext" runat="server"></asp:TextBox>
  26. </edititemtemplate>
  27. </asp:TemplateColumn>
  28. <asp:BoundColumn DataField="path" HeaderText="path"></asp:BoundColumn>
  29. <asp:BoundColumn DataField="pattern" HeaderText="pattern"></asp:BoundColumn>
  30. <asp:BoundColumn DataField="page" HeaderText="page"></asp:BoundColumn>
  31. <asp:BoundColumn DataField="querystring" HeaderText="querystring"></asp:BoundColumn>
  32. </Columns>
  33. </cc1:DataGrid><br />
  34. <p style="text-align:right;">
  35. <button type="button" class="ManagerButton" id="Button3" onclick="window.location='global_baseset.aspx';"><img src="../images/arrow_undo.gif"/> 返 回 </button>
  36. </p>
  37. </form>
  38. <%=footer%>
  39. </body>
  40. </html>