diff options
Diffstat (limited to 'views/default/page_elements/spotlight.php')
-rw-r--r-- | views/default/page_elements/spotlight.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page_elements/spotlight.php b/views/default/page_elements/spotlight.php index 670e0e4c5..1c32f9b1d 100644 --- a/views/default/page_elements/spotlight.php +++ b/views/default/page_elements/spotlight.php @@ -28,11 +28,11 @@ } if ($closed) { ?> - <a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo $vars['url']; ?>action/user/spotlight?closed=false')">+</a> + <a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo elgg_validate_action_url("{$vars['url']}action/user/spotlight?closed=false"); ?>')">+</a> <?php } else { ?> - <a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo $vars['url']; ?>action/user/spotlight?closed=true')">-</a> + <a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo elgg_validate_action_url("{$vars['url']}action/user/spotlight?closed=true"); ?>')">-</a> <?php } @@ -54,4 +54,4 @@ </div><!-- /.collapsable_box --> </div><!-- /#wrapper_spotlight --> -</div><!-- /#layout_spotlight -->
\ No newline at end of file +</div><!-- /#layout_spotlight --> |