From ef4d3660605efc7f1328d4533b0f4bfb6c1107e2 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sat, 26 Jan 2013 03:00:32 -0500 Subject: Cosmetics: death to tabs The refactoring I've been doing has reminded me of my strong preference for spaces, and I feel inclined to impose my will on the tree. --- templates/sidebar_localplay.inc.php | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'templates/sidebar_localplay.inc.php') diff --git a/templates/sidebar_localplay.inc.php b/templates/sidebar_localplay.inc.php index 287528f1..46e2675e 100644 --- a/templates/sidebar_localplay.inc.php +++ b/templates/sidebar_localplay.inc.php @@ -1,5 +1,5 @@ current_instance(); - $class = $current_instance ? '' : ' class="active_instance"'; + // Little bit of work to be done here + $localplay = new Localplay(Config::get('localplay_controller')); + $current_instance = $localplay->current_instance(); + $class = $current_instance ? '' : ' class="active_instance"'; ?>
  • -
  • +
  • -
  • +
  • -
  • +
  • -- cgit