Advertisement
Guest User

Untitled

a guest
Jul 29th, 2013
30
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Wrap your template with this
  2. [%
  3. USE Whostmgr;
  4. WRAPPER 'master_templates/master.tmpl'
  5. stylesheets = [
  6. ]
  7. scripts = [
  8. ]
  9. -%]
  10.  
  11. <!--HTML/Template CONTENT -->
  12.  
  13. [% END %]
  14.  
  15. #In a seperate file have this to include the template
  16.  
  17. Cpanel::Template::process_template(
  18. 'whostmgr',
  19. {
  20. 'template_file' => 'sometemplate.tmpl'
  21. },
  22. );
  23.  
  24. #Use this to include a template in another template(templateception)
  25. [% PROCESS 'sometemplate.tmpl' -%]
Advertisement
RAW Paste Data Copied
Advertisement