aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/admin/tidypics.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics/admin/tidypics.php')
-rw-r--r--views/default/tidypics/admin/tidypics.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/tidypics/admin/tidypics.php b/views/default/tidypics/admin/tidypics.php
index 3d31bd52e..7aeb3a195 100644
--- a/views/default/tidypics/admin/tidypics.php
+++ b/views/default/tidypics/admin/tidypics.php
@@ -7,6 +7,7 @@
$settingsselect = '';
$statsselect = '';
$imagelibselect = '';
+ $thumbnailselect = '';
switch($tab) {
case 'settings':
$settingsselect = 'class="selected"';
@@ -17,6 +18,9 @@
case 'imagelib':
$imagelibselect = 'class="selected"';
break;
+ case 'thumbnail':
+ $thumbnailselect = 'class="selected"';
+ break;
}
?>
@@ -26,6 +30,7 @@
<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>
+ <li <?php echo $thumbnailselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=thumbnail'; ?>"><?php echo elgg_echo('tidypics:settings:thumbnail'); ?></a></li>
</ul>
</div>
<?php
@@ -39,6 +44,9 @@
case 'imagelib':
echo elgg_view("tidypics/admin/imagelib");
break;
+ case 'thumbnail':
+ echo elgg_view("tidypics/admin/thumbnails");
+ break;
}
?>
</div>