HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/itpartnership.net (cms)/modules/Search/action.updateresulttemplate.php
<?php
if (!isset($gCms)) exit;

if( !$this->CheckPermission( 'Modify Templates' ) )
{
	return;
}

if( isset( $params['defaultsbutton'] ) )
{
	// reset to system defaults
	$this->SetTemplate('displayresult',$this->GetResultsHtmlTemplate());
}
else
{
	$this->SetTemplate('displayresult', $params['templatecontent2']);
}

$params = array('tab_message'=> 'resulttemplateupdated', 'active_tab' => 'result_template');
$this->Redirect($id, 'defaultadmin', '', $params);

?>