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/admin_default/views | |
| parent | aed7ce916138ec31798bec9cbee66a8742670633 (diff) | |
Only show the block anchor if one exists. Show block anchors for
admin themes too.
Diffstat (limited to 'themes/admin_default/views')
| -rw-r--r-- | themes/admin_default/views/block.html.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php index 21512d02..6cbea76e 100644 --- a/themes/admin_default/views/block.html.php +++ b/themes/admin_default/views/block.html.php @@ -1,4 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<? if ($anchor): ?> +<a name="<?= $anchor ?>"></a> +<? endif ?> <div block_id="<?= $id ?>" id="<?= $css_id ?>" class="gBlock ui-widget"> <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-icon-right"> <? if ($css_id != "gBlockAdder"): ?> |
