Project

General

Profile

« Previous | Next » 

Revision 1dc9554f

Added by Andreas Kohlbecker over 11 years ago

theme customization improved - layout adapts to image sizes

View differences:

7.x/themes/zen_dataportal/templates/html.tpl.php
63 63
 *     - one-sidebar and sidebar-first or sidebar-second: A combination of the
64 64
 *       two classes when only one of the two sidebars have content.
65 65
 * - $body_background_url: from zen_dataportal theme-settings.php
66
 * - $inline_styles: custom styles for specific elements from zen_dataportal
66
 * - $inline_styles: an array of custom styles for specific elements from zen_dataportal
67 67
 *    theme-settings.php
68 68
 *
69 69
 * @see template_preprocess()
......
90 90
  <meta http-equiv="cleartype" content="on">
91 91

  
92 92
  <?php print $styles; ?>
93
  <?php print $inline_styles; ?>
93
  <?php print '<style type="text/css">'. "\n" . implode("\n", $inline_styles) . "\n</style>;" ?>
94 94
  <?php print $scripts; ?>
95 95
  <?php if ($add_respond_js): ?>
96 96
    <!--[if lt IE 9]>
......
102 102
    <![endif]-->
103 103
  <?php endif; ?>
104 104
</head>
105
<?php
106
  // FIXME is not save only works if no other style given
107
//    if (isset($body_background_url)){
108
//      $attributes .= ' style="background: white url(' . $body_background_url .')  fixed repeat;"';
109
//    }
110
?>
111 105
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
112 106
  <?php if ($skip_link_text && $skip_link_anchor): ?>
113 107
    <p id="skip-link">

Also available in: Unified diff