aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-09 06:52:28 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-09 06:52:28 -0500
commit356b46c118fe5b5f7a874955b5d5c3a9fc7552a1 (patch)
tree260252997bdf3d73dbac159db1ffc4a50b415922 /views/default
parenteee08cc81b18730fa780169915679a68f143f9c5 (diff)
downloadelgg-356b46c118fe5b5f7a874955b5d5c3a9fc7552a1.tar.gz
elgg-356b46c118fe5b5f7a874955b5d5c3a9fc7552a1.tar.bz2
removed settings since those can be reached through Tidypics Administration
Diffstat (limited to 'views/default')
-rw-r--r--views/default/settings/tidypics/edit.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
deleted file mode 100644
index 681007ac5..000000000
--- a/views/default/settings/tidypics/edit.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-/**
- * Tidypics plugin settings view
- *
- * Set reasonable defaults if no settings saved
- */
-
-if (!get_plugin_setting('image_lib', 'tidypics')) {
- set_plugin_setting('image_lib', 'GD', 'tidypics');
- set_plugin_setting('download_link', 'enabled', 'tidypics');
- set_plugin_setting('tagging', 'enabled', 'tidypics');
- set_plugin_setting('photo_ratings', 'disabled', 'tidypics');
- set_plugin_setting('exif', 'disabled', 'tidypics');
- set_plugin_setting('view_count', 'disabled', 'tidypics');
- set_plugin_setting('maxfilesize', '5', 'tidypics');
- set_plugin_setting('quota', '0', 'tidypics');
- set_plugin_setting('img_river_view', 'batch', 'tidypics');
- set_plugin_setting('album_river_view', 'set', 'tidypics');
-
- $image_sizes = array();
- $image_sizes['large_image_width'] = 600;
- $image_sizes['large_image_height'] = 600;
- $image_sizes['small_image_width'] = 153;
- $image_sizes['small_image_height'] = 153;
- $image_sizes['thumb_image_width'] = 60;
- $image_sizes['thumb_image_height'] = 60;
- set_plugin_setting('image_sizes', serialize($image_sizes), 'tidypics');
-}
-
-global $CONFIG;
-$system_url = $CONFIG->wwwroot . 'mod/tidypics/pages/server_analysis.php';
-$settings_url = $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php';
-?>
-
-<p>
-<a href="<?php echo $system_url; ?>">Run Server Analysis</a>
-</p>
-<p>
-<a href="<?php echo $settings_url; ?>">Change Tidypics Settings</a>
-</p> \ No newline at end of file