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.deletetemplate.php
<?php
if( !isset($gCms) ) exit;
if( ! $this->CheckPermission('Modify Templates') )
  {
    // todo, permissions message here
    return;
  }

if( !(isset($params['template'])) )
  {
    $this->_DisplayErrorPage( $id, $params, $returnid, 
			      $this->Lang('error_insufficientparams'));
    return;
  }

$template = cms_html_entity_decode($params['template']);
$this->DeleteTemplate($template);
$this->myRedirectToTab($id, 'uploadform_template');

?>