diff templates/block.tpl.php @ 0:a3750d724105 default tip

initital
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 09:16:36 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/block.tpl.php	Tue Jun 02 09:16:36 2015 +0200
@@ -0,0 +1,21 @@
+<?php
+/**
+ * @file
+ * Returns the HTML for a block.
+ *
+ * Complete documentation for this file is available online.
+ * @see https://drupal.org/node/1728246
+ */
+?>
+<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
+
+  <?php print render($title_prefix); ?>
+  <?php if ($title): ?>
+    <h2<?php print $title_attributes; ?>><?php print $title; ?></h2>
+  <?php endif; ?>
+  <?php print render($title_suffix); ?>
+
+  <div class="block-content">
+  <?php print $content; ?>
+  </div>
+</div>