wysiwyg-dialog-page.tpl.php 3.4 KB

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