diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-28 13:03:15 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-28 13:03:15 +0000 |
commit | d66faaf360f2f629fa96dd5e04ff0c6e38eb8213 (patch) | |
tree | 8f6c5b124818978975b66058ecd8a155127b66df | |
parent | 91f0c4a6d70d50de603b01ffb72b36e04122e29d (diff) | |
download | elgg-d66faaf360f2f629fa96dd5e04ff0c6e38eb8213.tar.gz elgg-d66faaf360f2f629fa96dd5e04ff0c6e38eb8213.tar.bz2 |
changing name of edit action since it works for both images and albums
-rw-r--r-- | actions/edit.php (renamed from actions/editalbum.php) | 0 | ||||
-rw-r--r-- | start.php | 2 | ||||
-rw-r--r-- | views/default/tidypics/forms/edit.php | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/actions/editalbum.php b/actions/edit.php index 78b1f1653..78b1f1653 100644 --- a/actions/editalbum.php +++ b/actions/edit.php @@ -196,7 +196,7 @@ // Register actions
register_action("tidypics/upload", false, $CONFIG->pluginspath . "tidypics/actions/upload.php");
register_action("tidypics/addalbum", false, $CONFIG->pluginspath. "tidypics/actions/addalbum.php");
- register_action("tidypics/editalbum", false, $CONFIG->pluginspath. "tidypics/actions/editalbum.php");
+ register_action("tidypics/edit", false, $CONFIG->pluginspath. "tidypics/actions/edit.php");
register_action("tidypics/delete", false, $CONFIG->pluginspath. "tidypics/actions/delete.php");
register_action("tidypics/icon", true, $CONFIG->pluginspath. "tidypics/actions/icon.php");
register_action("tidypics/edit_multi", false, $CONFIG->pluginspath. "tidypics/actions/edit_multi.php");
diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php index 08fe5cc81..d59d029cc 100644 --- a/views/default/tidypics/forms/edit.php +++ b/views/default/tidypics/forms/edit.php @@ -10,7 +10,7 @@ //set stuff if we are editing existing album or image
if (isset($vars['entity'])) {
$title = sprintf(elgg_echo("album:edit"),$object->title);
- $action = "tidypics/editalbum";
+ $action = "tidypics/edit";
$title = $vars['entity']->title;
$body = $vars['entity']->description;
$tags = $vars['entity']->tags;
|