4 $editor = checkIdentifier($_GET[
"editor"]);
6 if (!checkRole(
"admin"))
14 $form->setLayout(
new UngroupedFormLayout(
$form));
16 $form->action =
"/action/html_editor/custom_css_edit?editor=" .
$editor;
18 $form->ajaxSubmit(
"function (response){new CustomCSSManager().cssEditorResponse(response); }");
static getComponent($name)
static using()
Import the datamodels, views and manifest for the specified component(s).
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
$method
Pull out a simple reference to the request method.
if(!checkRole("admin")) $c
if($method=="POST") $script