A-Z, 0-9, - and _
AJAX mode
CodeMirror for PHP; the code is executed on the site
HTML and tags CodeMirror
HTML fragments and executable blocks for site templates.
PHP block code
active
Active
Alias
Without a group
Block enabled
No blocks found.
Blocks of this group.
Blocks
in the current filter,
Visual
Visual editor
Visual block editor
External call
Total blocks
everything.
Select revision
off
Group
The group only affects the organization of the list.
Block groups
No groups found.
Groups make navigation easier; deleting a group moves the blocks to "No Group".
Availability of the block and how its contents are processed.
Unified block registry
Use block in AJAX requests
History of system unit snapshots.
Block code
The code and metadata will appear on the right after you select a photo.
Content and logic
Title, alias, description or code
Execution Settings
New group
New block
Drag the rows by the handle to change the order of the groups.
The order of groups is set in control mode.
Once a block is saved, its cache is cleared automatically.
View revision
Allow calling outside site templates
Allow use on the site
Audits
Block revisions
Content Mode
Pictures
Create block
States
retains and leaves the shape open.
List of revisions
Text without highlighting
Block text without highlighting
(copy)
>' +
'<b>Revision
'<div class=
>There are no revisions yet. The first snapshot will appear after saving the block.</div>';
this.currentRevisionId = 0;
this.showRevisionEmpty();
return;
}
list.innerHTML = items.map(function (item) {
return '<div class=
PHP CLI is not available for syntax checking.
PHP syntax: error in block code
PHP syntax: error on line
Alias is free
Block restored from revision
Blocks
Blocks without reference to a group.
Blocks: PHP executable
Blocks: view
Blocks: control
There is a syntax error in the PHP code.
Recovery
Restored from revision
return $blockId;
}
public static function delete($revisionId)
{
$revision = self::one($revisionId);
if (!$revision) {
return false;
}
DB::Delete(self::table(),
Group not found
Group created
Group saved
Group deleted
Import
System unit cache cleared
block code
Content
Copy
Block copy
return $newId;
}
public static function saveGroup($id, array $input)
{
$title = trim(isset($input[
Copy created
Failed to write temporary file for verification.
Failed to create temporary file for verification.
Insufficient rights
Insufficient rights to change the PHP executable block
Before recovery
The order of the groups is preserved
PHP validation is not needed: Eval is disabled.
Check the form fields
View HTML and system blocks, as well as their groups.
Revisions deleted
Revision not found
Revision deleted
PHP syntax without errors.
System unit not found
The system unit has been created
System unit saved
System unit removed
Snapshot before recovery
Creation
Creating a block
Creating, modifying, copying and restoring blocks with PHP code.
Create, modify, copy and delete blocks.
Saving
Saving a block
This alias is already in use
A-Z only, 0-9, hyphen and underscore, up to 20 characters; not a number
Removal
Delete a block
Specify an alias
Please enter a name