aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-07-31 19:38:29 +0000
committerCash Costello <cash.costello@gmail.com>2010-07-31 19:38:29 +0000
commit1d3b83e6791b1e9e3386bb79937ef58240ba94ba (patch)
treeb90b7ff2fdf45cfc8c9924d30e1fde914d80f247 /views/default/tidypics
parenta1f08342c8b8502197159a9fd78e48e6cead4ea0 (diff)
downloadelgg-1d3b83e6791b1e9e3386bb79937ef58240ba94ba.tar.gz
elgg-1d3b83e6791b1e9e3386bb79937ef58240ba94ba.tar.bz2
moved some actions into the admin directory
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/admin/imagelib.php2
-rw-r--r--views/default/tidypics/admin/thumbnails.php2
-rw-r--r--views/default/tidypics/forms/settings.php2
-rw-r--r--views/default/tidypics/forms/setupFlickr.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/views/default/tidypics/admin/imagelib.php b/views/default/tidypics/admin/imagelib.php
index a0d0c19e7..2b7a3a7b0 100644
--- a/views/default/tidypics/admin/imagelib.php
+++ b/views/default/tidypics/admin/imagelib.php
@@ -51,7 +51,7 @@ if (get_plugin_setting('tagging', 'tidypics') != "disabled")
$("#im_results").html("");
$.ajax({
type: "GET",
- url: "<?php echo $CONFIG->wwwroot . 'mod/tidypics/actions/imtest.php'; ?>",
+ url: "<?php echo $CONFIG->wwwroot . 'mod/tidypics/actions/admin/imtest.php'; ?>",
data: {location: loc},
cache: false,
success: function(html){
diff --git a/views/default/tidypics/admin/thumbnails.php b/views/default/tidypics/admin/thumbnails.php
index 960028fb9..5884b9dc3 100644
--- a/views/default/tidypics/admin/thumbnails.php
+++ b/views/default/tidypics/admin/thumbnails.php
@@ -22,7 +22,7 @@ function TestThumbnailCreation()
$("#im_results").html("");
$.ajax({
type: "GET",
- url: "<?php echo $CONFIG->wwwroot . 'mod/tidypics/actions/create_thumbnails.php'; ?>",
+ url: "<?php echo $CONFIG->wwwroot . 'mod/tidypics/actions/admin/create_thumbnails.php'; ?>",
data: {guid: image_id},
cache: false,
success: function(html){
diff --git a/views/default/tidypics/forms/settings.php b/views/default/tidypics/forms/settings.php
index c102b044e..dc5c02f15 100644
--- a/views/default/tidypics/forms/settings.php
+++ b/views/default/tidypics/forms/settings.php
@@ -5,7 +5,7 @@
-$action = $vars['url'] . 'action/tidypics/settings';
+$action = $vars['url'] . 'action/tidypics/admin/settings';
$plugin = find_plugin_settings('tidypics');
diff --git a/views/default/tidypics/forms/setupFlickr.php b/views/default/tidypics/forms/setupFlickr.php
index 3a9c76d11..54f0a37d1 100644
--- a/views/default/tidypics/forms/setupFlickr.php
+++ b/views/default/tidypics/forms/setupFlickr.php
@@ -5,7 +5,7 @@ $user = get_loggedin_user();
$flickr_username = get_metadata_byname( $user->guid, "flickr_username" );
$flickr_album_id = get_metadata_byname( $user->guid, "flickr_album_id" );
-$action = $vars['url'] . 'action/tidypics/flickrSetup';
+$action = $vars['url'] . 'admin/action/tidypics/flickrSetup';
$form_body = "<p>". elgg_echo( 'flickr:intro' ) . "</p><p>";
$form_body .= elgg_echo( 'flickr:usernamesetup') . " <input style='width: 20%;' type='text' name='flickr_username' value='$flickr_username->value' ' class='input-text' /> <br />";