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