QZ Forms
XML Templates
Every page requests starts with an XML template, which is a file in the directory specified in the configuration as TEMPLATE_PATH.
QZ Forms will add forms and menus to the div elements based on their id. (rows 13 - 17 below).
On line 4 in the example, the HTML editor tinymce is added by linking to their content delivery network.
template example:
- <!DOCTYPE html>
- <html>
- <head>
- <script src='https://cdn.tinymce.com/4/tinymce.min.js'></script>
- <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
- <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width" />
- <title> QZ Forms </title>
- </head>
- <body onload='form_refresh_init(30*1000);'>
- <h1> QZ Forms ✓ </h1>
- <div id='qzmenu'></div>
- <div id='qzsubmenu'></div>
- <div id='helpful_text'></div>
- <div id='pagemenu'></div>
- <div id='qz'>
- </div>
- </body>
- </html>