aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/admin/tidypics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-26 01:13:57 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-26 01:13:57 +0000
commit181b82b27317722f0701eda072943b9d2e7b6cb1 (patch)
tree1fdcc7bb129726f04a09a95778fa08abf531b1d0 /views/default/tidypics/admin/tidypics.php
parent97dcaaf23678191658df97930eca0360e1e555e7 (diff)
downloadelgg-181b82b27317722f0701eda072943b9d2e7b6cb1.tar.gz
elgg-181b82b27317722f0701eda072943b9d2e7b6cb1.tar.bz2
added a tab to admin page for testing image magick location
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 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>