Issue \#1153458 by Deciphered: Fixed TinyMCE 'Verify HTML' setting being ignored.
[project/wysiwyg.git] / wysiwyg-dialog-page.tpl.php
1 <?php
2
3 /**
4 * @file
5 * Theme template to display a single Wysiwyg (plugin) dialog page.
6 *
7 * Available variables:
8 *
9 * General utility variables:
10 * - $base_path: The base URL path of the Drupal installation. At the very
11 * least, this will always default to /.
12 * - $css: An array of CSS files for the current page.
13 * - $directory: The directory the theme is located in, e.g. themes/garland or
14 * themes/garland/minelli.
15 * - $logged_in: TRUE if the user is registered and signed in.
16 * - $is_admin: TRUE if the user has permission to access administration pages.
17 *
18 * Page metadata:
19 * - $language: (object) The language the site is being displayed in.
20 * $language->language contains its textual representation.
21 * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'.
22 * - $head_title: A modified version of the page title, for use in the TITLE tag.
23 * - $head: Markup for the HEAD section (including meta tags, keyword tags, and
24 * so on).
25 * - $styles: Style tags necessary to import all CSS files for the page.
26 * - $scripts: Script tags necessary to load the JavaScript files and settings
27 * for the page.
28 *
29 * Site identity:
30 * - $site_name: The name of the site, empty when display has been disabled
31 * in theme settings.
32 *
33 * Page content (in order of occurrance in the default page.tpl.php):
34 * - $breadcrumb: The breadcrumb trail for the current page.
35 * - $title: The page title, for use in the actual HTML content.
36 * - $help: Dynamic help text, mostly for admin pages.
37 * - $messages: HTML for status and error messages. Should be displayed prominently.
38 * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view
39 * and edit tabs when displaying a node).
40 *
41 * - $content: The main content of the current Drupal page.
42 *
43 * Footer/closing data:
44 * - $footer : The footer region.
45 * - $closure: Final closing markup from any modules that have altered the page.
46 * This variable should always be output last, after all other dynamic content.
47 *
48 * @see template_preprocess()
49 * @see template_preprocess_wysiwyg_dialog_page()
50 */
51 ?>
52 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
53 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
54 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
55
56 <head>
57 <title><?php print $head_title; ?></title>
58 <?php print $head; ?>
59 <?php print $styles; ?>
60 <?php print $scripts; ?>
61 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script>
62 </head>
63 <body>
64 <div id="page">
65 <div id="container" class="clear-block">
66 <div id="main" class="column">
67 <?php if (!empty($breadcrumb)): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?>
68
69 <div id="content">
70 <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
71 <?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
72 <?php if (!empty($messages)): print $messages; endif; ?>
73 <?php if (!empty($help)): print $help; endif; ?>
74 <div id="content-content" class="clear-block">
75 <?php print $content; ?>
76 </div>
77 </div>
78
79 </div>
80 </div>
81 </div>
82 <?php print $closure; ?>
83 </body>
84 </html>