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/News/action.updatesummarytemplate.php
<?php
if (!isset($gCms)) exit;

if( !$this->CheckPermission( 'Modify Templates' ) )
{
  return;
}
if( isset( $params['defaultsbutton'] ) )
{
   // reset to system defaults
   $this->SetTemplate('displaysummary',$this->GetSummaryHtmlTemplate());
}
else
{
  $this->SetTemplate('displaysummary', $params['templatecontent']);
}
$params = array('tab_message'=> 'summarytemplateupdated', 'active_tab' => 'summary_template');
$this->Redirect($id, 'defaultadmin', '', $params);
?>