aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 12:49:21 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 12:49:21 -0400
commitf7f38da31ca53c25775d1a28668a1dd9aefd5277 (patch)
tree7d5512e5db79ab8ca589c90978e4a9052fbec70f /views/default
parente52870068d67a2360769f76a13d35318a8ec14ef (diff)
downloadelgg-f7f38da31ca53c25775d1a28668a1dd9aefd5277.tar.gz
elgg-f7f38da31ca53c25775d1a28668a1dd9aefd5277.tar.bz2
cleaning up the admin area
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/settings/photos.php (renamed from views/default/admin/settings/tidypics.php)26
-rw-r--r--views/default/admin/settings/photos/help.php (renamed from views/default/admin/settings/tidypics/help.php)0
-rw-r--r--views/default/admin/settings/photos/image_lib.php (renamed from views/default/admin/settings/tidypics/image_lib.php)0
-rw-r--r--views/default/admin/settings/photos/server_config.php (renamed from views/default/admin/settings/tidypics/server_config.php)0
-rw-r--r--views/default/admin/settings/photos/server_info.php (renamed from views/default/admin/settings/tidypics/server_info.php)4
-rw-r--r--views/default/admin/settings/photos/settings.php (renamed from views/default/admin/settings/tidypics/settings.php)0
-rw-r--r--views/default/admin/settings/photos/thumbnail.php (renamed from views/default/admin/settings/tidypics/thumbnail.php)0
7 files changed, 14 insertions, 16 deletions
diff --git a/views/default/admin/settings/tidypics.php b/views/default/admin/settings/photos.php
index fcb96b6c8..cc3592f37 100644
--- a/views/default/admin/settings/tidypics.php
+++ b/views/default/admin/settings/photos.php
@@ -12,32 +12,32 @@ echo elgg_view('navigation/tabs', array(
'tabs' => array(
array(
'text' => elgg_echo('settings'),
- 'href' => '/admin/settings/tidypics',
+ 'href' => '/admin/settings/photos',
'selected' => ($tab == 'settings'),
),
array(
'text' => elgg_echo('tidypics:server_info'),
- 'href' => '/admin/settings/tidypics?tab=server_info',
+ 'href' => '/admin/settings/photos?tab=server_info',
'selected' => ($tab == 'server_info'),
),
array(
'text' => elgg_echo('tidypics:server_config'),
- 'href' => '/admin/settings/tidypics?tab=server_config',
+ 'href' => '/admin/settings/photos?tab=server_config',
'selected' => ($tab == 'server_config'),
),
array(
'text' => 'ImageMagick',
- 'href' => '/admin/settings/tidypics?tab=image_lib',
+ 'href' => '/admin/settings/photos?tab=image_lib',
'selected' => ($tab == 'image_lib'),
),
array(
'text' => elgg_echo('tidypics:settings:thumbnail'),
- 'href' => '/admin/settings/tidypics?tab=thumbnail',
+ 'href' => '/admin/settings/photos?tab=thumbnail',
'selected' => ($tab == 'thumbnail'),
),
array(
'text' => elgg_echo('tidypics:settings:help'),
- 'href' => '/admin/settings/tidypics?tab=help',
+ 'href' => '/admin/settings/photos?tab=help',
'selected' => ($tab == 'help'),
),
)
@@ -45,27 +45,27 @@ echo elgg_view('navigation/tabs', array(
switch ($tab) {
case 'server_info':
- echo elgg_view('admin/settings/tidypics/server_info');
+ echo elgg_view('admin/settings/photos/server_info');
break;
case 'server_config':
- echo elgg_view('admin/settings/tidypics/server_config');
+ echo elgg_view('admin/settings/photos/server_config');
break;
case 'image_lib':
- echo elgg_view('admin/settings/tidypics/image_lib');
+ echo elgg_view('admin/settings/photos/image_lib');
break;
case 'thumbnail':
- echo elgg_view('admin/settings/tidypics/thumbnail');
+ echo elgg_view('admin/settings/photos/thumbnail');
break;
case 'help':
- echo elgg_view('admin/settings/tidypics/help');
+ echo elgg_view('admin/settings/photos/help');
break;
default:
case 'settings':
- echo elgg_view('admin/settings/tidypics/settings');
+ echo elgg_view('admin/settings/photos/settings');
break;
-} \ No newline at end of file
+}
diff --git a/views/default/admin/settings/tidypics/help.php b/views/default/admin/settings/photos/help.php
index c3ac2477e..c3ac2477e 100644
--- a/views/default/admin/settings/tidypics/help.php
+++ b/views/default/admin/settings/photos/help.php
diff --git a/views/default/admin/settings/tidypics/image_lib.php b/views/default/admin/settings/photos/image_lib.php
index 6e519b607..6e519b607 100644
--- a/views/default/admin/settings/tidypics/image_lib.php
+++ b/views/default/admin/settings/photos/image_lib.php
diff --git a/views/default/admin/settings/tidypics/server_config.php b/views/default/admin/settings/photos/server_config.php
index 8268b646a..8268b646a 100644
--- a/views/default/admin/settings/tidypics/server_config.php
+++ b/views/default/admin/settings/photos/server_config.php
diff --git a/views/default/admin/settings/tidypics/server_info.php b/views/default/admin/settings/photos/server_info.php
index 1f32ab008..c100b0de2 100644
--- a/views/default/admin/settings/tidypics/server_info.php
+++ b/views/default/admin/settings/photos/server_info.php
@@ -3,8 +3,6 @@
* Tidypics server analysis
*/
-$title = elgg_echo('admin:administer_utilities:tidypics_tools');
-
function tp_readable_size($bytes) {
if (strpos($bytes, 'M')) {
return $bytes . 'B';
@@ -49,7 +47,7 @@ ob_start();
<td><?php echo elgg_echo('tidypics:server_info:gd_desc'); ?></td>
</tr>
<tr>
- <td>IMagick</td>
+ <td>imagick</td>
<td><?php echo (extension_loaded('imagick')) ? elgg_echo('tidypics:enabled') : elgg_echo('tidypics:disabled'); ?></td>
<td></td>
</tr>
diff --git a/views/default/admin/settings/tidypics/settings.php b/views/default/admin/settings/photos/settings.php
index 3645e749a..3645e749a 100644
--- a/views/default/admin/settings/tidypics/settings.php
+++ b/views/default/admin/settings/photos/settings.php
diff --git a/views/default/admin/settings/tidypics/thumbnail.php b/views/default/admin/settings/photos/thumbnail.php
index 5f9769e91..5f9769e91 100644
--- a/views/default/admin/settings/tidypics/thumbnail.php
+++ b/views/default/admin/settings/photos/thumbnail.php