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/TinyMCE/function.admin_testarea.php
<?php
if (!isset($gCms)) exit;
if (!$this->VisibleToAdminUser()) {
	$this->ShowErrors($this->Lang("accessdenied"));
	return;
}


$testcontent=$this->Lang("testareatext");
echo "\n<div class=\"pageoverflow\" style=\"margin-top: 1em;\">\n";
echo $this->CreateFormStart($id,"defaultadmin");
echo $this->CreateInputHidden($id,"tab","testarea");
if (isset($params["testarea"])) {
  $testcontent=$params["testarea"];
  echo "<fieldset>";
  echo "<legend>".$this->Lang("testareaoutput")."</legend>";
  echo $params["testarea"];
  echo "</fieldset>";
  echo "<fieldset>";
  echo "<legend>".$this->Lang("testareaoutputsource")."</legend>";
  echo nl2br(htmlspecialchars($params["testarea"]));
  echo "</fieldset>";
}

echo "<fieldset>";
echo "<legend>".$this->Lang("testareaeditor")."</legend>";
echo $this->CreateTextArea(true,$id,$testcontent,"testarea","","","","",80,15,"TinyMCE");
echo "<br/>";
echo $this->CreateInputSubmit($id,"submit",$this->Lang("showtestingoutput"));
echo $this->CreateFormEnd();
echo "</fieldset>";
echo "</div>\n";
?>