From 28e545574f35f0d6349a395648a7857ee58989c9 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 31 Jul 2010 17:17:43 +0000 Subject: cleaning up the admin pages --- views/default/tidypics/admin/settings.php | 27 ++++++++++----------------- views/default/tidypics/admin/thumbnails.php | 4 ++-- 2 files changed, 12 insertions(+), 19 deletions(-) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/admin/settings.php b/views/default/tidypics/admin/settings.php index bc0befa16..60c34b64e 100644 --- a/views/default/tidypics/admin/settings.php +++ b/views/default/tidypics/admin/settings.php @@ -2,25 +2,18 @@ echo elgg_view('output/longtext', array('value' => elgg_echo("tidypics:admin:instructions"))); -global $CONFIG; -$system_url = $CONFIG->wwwroot . 'mod/tidypics/pages/server_analysis.php'; -$upgrade_url = $CONFIG->wwwroot . 'mod/tidypics/actions/upgrade.php'; -$upgrade_url = elgg_add_action_tokens_to_url($upgrade_url); - -$upgrade = false; -if (!get_subtype_class('object', 'image') || !get_subtype_class('object', 'album')) { - $upgrade = true; -} ?>

- - Upgrade
- - Run Server Analysis +wwwroot . 'mod/tidypics/pages/server_analysis.php'; +$text = elgg_echo('tidypics:settings:server:analysis'); + +echo "$text"; +?>

Overview

This page allows you to create thumbnails for images when the thumbnail creation failed during upload. -You may experience problems with thumbnail creation if your image library in not configured properly or +You may experience problems with thumbnail creation if your image library is not configured properly or if there is not enough memory for the GD library to load and resize an image. If your users have -experienced problems with thumbnail creation and you have modified your setup, you can try to redo the +experienced problems with thumbnail creation and you have corrected your configuration, you can try to redo the thumbnails. Find the unique identifier of the photo (it is the number near the end of the url when viewing a photo) and enter it below.

-- cgit v1.2.3