summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2011-11-25 09:34:42 (GMT)
committer JohnAlbin2011-11-25 09:35:56 (GMT)
commit28982dcccd66df98d092a9a934d791375dbe70c4 (patch)
tree2f244a8b7c7c897c78b2c2b76ac8f5cefeaabc77
parenteee0da8b000c5dc959333fcdec6ffae88b3486e4 (diff)
Issue #1352308: Add HTML comments for region template suggestions
-rw-r--r--templates/block--no-wrapper.tpl.php1
-rw-r--r--templates/region--no-wrapper.tpl.php6
-rw-r--r--templates/region--sidebar.tpl.php2
3 files changed, 5 insertions, 4 deletions
diff --git a/templates/block--no-wrapper.tpl.php b/templates/block--no-wrapper.tpl.php
index 059279e..89464fb 100644
--- a/templates/block--no-wrapper.tpl.php
+++ b/templates/block--no-wrapper.tpl.php
@@ -55,3 +55,4 @@
<?php print render($title_suffix); ?>
<?php print $content; ?>
+<!-- block--no-wrapper.tpl -->
diff --git a/templates/region--no-wrapper.tpl.php b/templates/region--no-wrapper.tpl.php
index ff49fb0..de383e6 100644
--- a/templates/region--no-wrapper.tpl.php
+++ b/templates/region--no-wrapper.tpl.php
@@ -25,7 +25,7 @@
* @see zen_preprocess_region()
* @see template_process()
*/
+?>
-if ($content) {
- print $content;
-}
+<?php print $content; ?>
+<!-- region--no-wrapper.tpl -->
diff --git a/templates/region--sidebar.tpl.php b/templates/region--sidebar.tpl.php
index 063f9d8..dd8d611 100644
--- a/templates/region--sidebar.tpl.php
+++ b/templates/region--sidebar.tpl.php
@@ -29,5 +29,5 @@
<?php if ($content): ?>
<div class="<?php print $classes; ?>"><div class="section">
<?php print $content; ?>
- </div></div><!-- /.section, /.region -->
+ </div></div><!-- region--sidebar.tpl -->
<?php endif; ?>