REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.46 KB
Close
/proc/self/root/var/softaculous/sitepad/editor/site-data/plugins/siteseo-pro/assets/js/block.js
Text
Base64
(function (blocks, element, editor) { const el = element.createElement; const { InspectorControls } = editor; const { PanelBody, ToggleControl } = wp.components; blocks.registerBlockType('siteseo-pro/local-business', { title: 'Local Business', icon: 'store', category: 'siteseo', attributes: { displayOnHomepage: { type: 'boolean', default: true } }, edit: function (props) { return [ el('div', { className: props.className }, el('div', { className: 'local-business-preview' }, el('h3', null, 'Local Business'), el('div', { dangerouslySetInnerHTML: { __html: siteseoProLocalBusiness.previewData } }) ) ), el(InspectorControls, null, el(PanelBody, { title: 'Settings' }, el(ToggleControl, { label: 'Display on Homepage Only', checked: props.attributes.displayOnHomepage, onChange: (newVal) => props.setAttributes({ displayOnHomepage: newVal }) }) ) ) ]; }, save: function () { return null; // Use dynamic rendering } }); })(window.wp.blocks, window.wp.element, window.wp.blockEditor);
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
breadcrumbs
DIR
-
drwxr-xr-x
2026-04-25 02:31:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
admin.js
50.81 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
block.js
1.46 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index-highlight.js
2.35 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
metabox.js
26.72 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
quickedit.js
3.41 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).