aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/admin/tidypics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-09 00:58:37 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-09 00:58:37 +0000
commit5ccb3887f61af7b670f0fafe077401529c141700 (patch)
tree9c5279c63cdc38b8fd1ec7d42e444d641e8b9460 /views/default/tidypics/admin/tidypics.php
parentce396a3cf4cce3e74b79bb4c4512066404034c47 (diff)
downloadelgg-5ccb3887f61af7b670f0fafe077401529c141700.tar.gz
elgg-5ccb3887f61af7b670f0fafe077401529c141700.tar.bz2
added ability to create thumbnails for images that previously failed
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>