File: D:/HostingSpaces/RMourik/bassol.nl/CMS/CMSModules/Content/CMSDesk/Search/default.aspx
<%@ Page Language="C#" AutoEventWireup="true" Inherits="CMSModules_Content_CMSDesk_Search_default"
Theme="Default" MasterPageFile="~/CMSMasterPages/UI/SimplePage.master" Title="Content - Search" CodeFile="default.aspx.cs" %>
<%@ Import Namespace="CMS.Base" %>
<%@ Register Src="~/CMSModules/Content/Controls/SearchDialog.ascx" TagName="SearchDialog"
TagPrefix="cms" %>
<%@ Register Src="~/CMSModules/SmartSearch/Controls/SearchResults.ascx" TagName="SearchResults"
TagPrefix="cms" %>
<%@ Register Src="~/CMSAdminControls/UI/Pager/UIPager.ascx" TagName="UIPager"
TagPrefix="cms" %>
<asp:Content ID="Content1" ContentPlaceHolderID="plcContent" runat="server">
<cms:CMSUpdatePanel ID="pnlUpdate" runat="server">
<ContentTemplate>
<cms:SearchDialog ID="searchDialog" runat="server" />
</ContentTemplate>
</cms:CMSUpdatePanel>
<br />
<asp:Panel runat="server" ID="pnlBody">
<asp:Panel ID="pnlResultsSQL" runat="server">
<cms:CMSSearchResults ID="repSearchSQL" runat="server" Path="/%" CheckPermissions="true" CssClass="search-results" />
<cms:SearchResults ID="repSmartSearch" runat="server" Path="/%" CheckPermissions="true" CssClass="search-results" />
<cms:UIPager runat="server" ID="pagerElem" />
</asp:Panel>
</asp:Panel>
<script type="text/javascript">
//<![CDATA[
// Select item action for transformation
function SelectItem(nodeId, culture) {
if (nodeId != 0) {
var origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port : ''),
newHref = origin + "<%= SystemContext.ApplicationPath %>" + "/Admin/CMSAdministration.aspx/default.aspx?action=edit&nodeid=" + nodeId + "&culture=" + culture + "<%= CMS.PortalEngine.UIContextHelper.GetApplicationHash("cms.content", "content") %>",
target = window.parent.parent;
if (target.location.href !== newHref) {
parent.parent.location.href = newHref;
} else {
// Reload topWindow when the only thing that has changed is hash
target.location.reload(true);
}
}
}
//]]>
</script>
</asp:Content>