diff options
Diffstat (limited to 'views/default/tidypics/admin/tidypics.php')
-rw-r--r-- | views/default/tidypics/admin/tidypics.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/tidypics/admin/tidypics.php b/views/default/tidypics/admin/tidypics.php index 7d6aa220c..3d31bd52e 100644 --- a/views/default/tidypics/admin/tidypics.php +++ b/views/default/tidypics/admin/tidypics.php @@ -6,6 +6,7 @@ $settingsselect = ''; $statsselect = ''; + $imagelibselect = ''; switch($tab) { case 'settings': $settingsselect = 'class="selected"'; @@ -13,6 +14,9 @@ case 'stats': $statsselect = 'class="selected"'; break; + case 'imagelib': + $imagelibselect = 'class="selected"'; + break; } ?> @@ -21,6 +25,7 @@ <ul> <li <?php echo $settingsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=settings'; ?>"><?php echo elgg_echo('tidypics:settings'); ?></a></li> <li <?php echo $statsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=stats'; ?>"><?php echo elgg_echo('tidypics:stats'); ?></a></li> + <li <?php echo $imagelibselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=imagelib'; ?>"><?php echo elgg_echo('tidypics:settings:image_lib'); ?></a></li> </ul> </div> <?php @@ -31,6 +36,9 @@ case 'stats': echo elgg_view("tidypics/admin/stats"); break; + case 'imagelib': + echo elgg_view("tidypics/admin/imagelib"); + break; } ?> </div> |