Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Wrap your template with this
- [%
- USE Whostmgr;
- WRAPPER 'master_templates/master.tmpl'
- stylesheets = [
- ]
- scripts = [
- ]
- -%]
- <!--HTML/Template CONTENT -->
- [% END %]
- #In a seperate file have this to include the template
- Cpanel::Template::process_template(
- 'whostmgr',
- {
- 'template_file' => 'sometemplate.tmpl'
- },
- );
- #Use this to include a template in another template(templateception)
- [% PROCESS 'sometemplate.tmpl' -%]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement