CMS  Version 3.9
custom_css_edit.inc File Reference

Go to the source code of this file.

Variables

 $editor = checkIdentifier($_GET["editor"])
 
if(!checkRole("admin")) $c = Component::getComponent("html_editor")
 
 $form = new SettingAutoForm($c, new InclusionFilter("enable_custom_CSS", "custom_CSS"))
 
$form action = "/action/html_editor/custom_css_edit?editor=" . $editor
 
if($method=="POST") $script = $form->writeScript()
 

Variable Documentation

◆ $c

if (!checkRole("admin")) $c = Component::getComponent("html_editor")

Definition at line 11 of file custom_css_edit.inc.

◆ $editor

$editor = checkIdentifier($_GET["editor"])

Definition at line 4 of file custom_css_edit.inc.

◆ $form

$form = new SettingAutoForm($c, new InclusionFilter("enable_custom_CSS", "custom_CSS"))

Definition at line 13 of file custom_css_edit.inc.

◆ $script

if ( $method=="POST") $script = $form->writeScript()

Definition at line 32 of file custom_css_edit.inc.

◆ action

$form action = "/action/html_editor/custom_css_edit?editor=" . $editor

Definition at line 16 of file custom_css_edit.inc.