aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/admin/tidypics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-12 03:50:17 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-12 03:50:17 +0000
commitedd03acb340891ffa8ca973ca2ab24f87aa32158 (patch)
treefe2ddf1c6072fd6603e2472d2a479f3bf90ceaad /views/default/tidypics/admin/tidypics.php
parentee56a5b4bdb933c61786481e000aaff626fd59d5 (diff)
downloadelgg-edd03acb340891ffa8ca973ca2ab24f87aa32158.tar.gz
elgg-edd03acb340891ffa8ca973ca2ab24f87aa32158.tar.bz2
added a help page for common problems
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 7aeb3a195..fa518156c 100644
--- a/views/default/tidypics/admin/tidypics.php
+++ b/views/default/tidypics/admin/tidypics.php
@@ -8,6 +8,7 @@
$statsselect = '';
$imagelibselect = '';
$thumbnailselect = '';
+ $helpselect = '';
switch($tab) {
case 'settings':
$settingsselect = 'class="selected"';
@@ -21,6 +22,9 @@
case 'thumbnail':
$thumbnailselect = 'class="selected"';
break;
+ case 'help':
+ $helpselect = 'class="selected"';
+ break;
}
?>
@@ -31,6 +35,7 @@
<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>
+ <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
@@ -47,6 +52,9 @@
case 'thumbnail':
echo elgg_view("tidypics/admin/thumbnails");
break;
+ case 'help':
+ echo elgg_view("tidypics/admin/help");
+ break;
}
?>
</div>