diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-21 22:42:39 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-21 22:42:39 +0000 |
commit | 6ce057f5162e18cd5190717145a13e7c29fe9da7 (patch) | |
tree | 0ce23ee020d366bd27892b0055fe7dc333520dc7 /views/default/tidypics | |
parent | 8a76d53f35eabe1b33f012e91fd745c1e0653203 (diff) | |
download | elgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.gz elgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.bz2 |
added in skeleton for image and album classes
Diffstat (limited to 'views/default/tidypics')
-rw-r--r-- | views/default/tidypics/settings.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/tidypics/settings.php b/views/default/tidypics/settings.php index e69d6d306..c8d12d861 100644 --- a/views/default/tidypics/settings.php +++ b/views/default/tidypics/settings.php @@ -4,8 +4,20 @@ global $CONFIG;
$system_url = $CONFIG->wwwroot . 'mod/tidypics/system.php';
+ $upgrade_url = $CONFIG->wwwroot . 'mod/tidypics/upgrade.php';
+
+ $upgrade = false;
+ if (!get_subtype_class('object', 'image') || !get_subtype_class('object', 'album'))
+ $upgrade = true;
?>
<p>
+<?php
+ if ($upgrade) {
+?>
+<a href="<?php echo $upgrade_url; ?>">Upgrade</a><br />
+<?php
+ }
+?>
<a href="<?php echo $system_url; ?>">Run Server Analysis</a>
</p>
<?php
|