File manager - Edit - /usr/local/cpanel/base/webmail/jupiter/_assets/component.html.tt
Back
[% DEFAULT SLOT = 'default'; DEFAULT APP_KEY = 'home'; DEFAULT APP = 'webmail'; DEFAULT ARGS = {}; DEFAULT TAG = 'div'; # INPUTS: # APP_KEY - application key defining the page. HOME is the homepage. # TAG - HTML wrapper tag # ROLE - Optional, Role attribute value # CLASSES - Optional, The list of CSS class names to apply to the surrounding tag # SLOT - Optional, The name of the section to expand USE Components; SET page_components = Components.get_components(APP, APP_KEY); IF page_components && page_components.$SLOT; SET section_components = page_components.$SLOT; %] <[%TAG%] role="[%ROLE%]" id="[% "$APP-$APP_KEY-$SLOT" %]-components" class="[%CLASSES%]"> [% FOREACH component IN section_components %] [% IF component.css_url %] <link url="[% theme_magic_url(component.css_url) %]" /> [% ELSIF component.css %] <style> [% component.css %] </style> [% END %] [% IF component.has_markup %] [% Components.render_component(component, ARGS) %] [% END %] [% IF component.js_url %] <link url="[% theme_magic_url(component.js_url) %]" /> [% ELSIF component.js %] <script> [% component.js %] </script> [% END %] [% END %] </[%TAG%]> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings