diff options
Diffstat (limited to 'views/default/tidypics/admin/tidypics.php')
-rw-r--r-- | views/default/tidypics/admin/tidypics.php | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/views/default/tidypics/admin/tidypics.php b/views/default/tidypics/admin/tidypics.php index fa518156c..a46781c2a 100644 --- a/views/default/tidypics/admin/tidypics.php +++ b/views/default/tidypics/admin/tidypics.php @@ -1,32 +1,32 @@ <?php - global $CONFIG; - - $tab = $vars['tab']; - - $settingsselect = ''; - $statsselect = ''; - $imagelibselect = ''; - $thumbnailselect = ''; - $helpselect = ''; - switch($tab) { - case 'settings': - $settingsselect = 'class="selected"'; - break; - case 'stats': - $statsselect = 'class="selected"'; - break; - case 'imagelib': - $imagelibselect = 'class="selected"'; - break; - case 'thumbnail': - $thumbnailselect = 'class="selected"'; - break; - case 'help': - $helpselect = 'class="selected"'; - break; - } - +global $CONFIG; + +$tab = $vars['tab']; + +$settingsselect = ''; +$statsselect = ''; +$imagelibselect = ''; +$thumbnailselect = ''; +$helpselect = ''; +switch($tab) { + case 'settings': + $settingsselect = 'class="selected"'; + break; + case 'stats': + $statsselect = 'class="selected"'; + break; + case 'imagelib': + $imagelibselect = 'class="selected"'; + break; + case 'thumbnail': + $thumbnailselect = 'class="selected"'; + break; + case 'help': + $helpselect = 'class="selected"'; + break; +} + ?> <div class="contentWrapper"> <div id="elgg_horizontal_tabbed_nav"> @@ -38,7 +38,7 @@ <li <?php echo $helpselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=help'; ?>"><?php echo elgg_echo('tidypics:settings:help'); ?></a></li> </ul> </div> -<?php + <?php switch($tab) { case 'settings': echo elgg_view("tidypics/admin/settings"); @@ -56,5 +56,5 @@ echo elgg_view("tidypics/admin/help"); break; } -?> + ?> </div> |