diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-13 14:25:56 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-13 14:25:56 -0700 |
commit | 75c68084136321b108e379643065fd21167990f8 (patch) | |
tree | d16943566f6a3bc5425dce430bf10e495a6199b4 /themes/default | |
parent | aed7ce916138ec31798bec9cbee66a8742670633 (diff) |
Only show the block anchor if one exists. Show block anchors for
admin themes too.
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/views/block.html.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/views/block.html.php b/themes/default/views/block.html.php index 37504861..e8cff833 100644 --- a/themes/default/views/block.html.php +++ b/themes/default/views/block.html.php @@ -1,5 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<? if ($anchor): ?> <a name="<?= $anchor ?>"></a> +<? endif ?> <div id="<?= $css_id ?>" class="gBlock"> <h2><?= $title ?></h2> <div class="gBlockContent"> |