aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-05 18:08:36 -0800
committerFriendika <info@friendika.com>2010-12-05 18:08:36 -0800
commit75306b62942a12995db67f48dd9b1a16f38c43eb (patch)
tree5c43d74fcb6a28e5757df13ed106be9b419d4b88 /view
parente9a1abd133aa3db62d17ef8bdc91e8a75f4004d3 (diff)
downloadvolse-hubzilla-75306b62942a12995db67f48dd9b1a16f38c43eb.tar.gz
volse-hubzilla-75306b62942a12995db67f48dd9b1a16f38c43eb.tar.bz2
volse-hubzilla-75306b62942a12995db67f48dd9b1a16f38c43eb.zip
allow community page members to upload photos and assorted other stuff which was previously restricted to the page owner
Diffstat (limited to 'view')
-rw-r--r--view/album_edit.tpl2
-rw-r--r--view/en/jot-header.tpl2
-rw-r--r--view/photo_edit.tpl2
-rw-r--r--view/photos_upload.tpl2
4 files changed, 4 insertions, 4 deletions
diff --git a/view/album_edit.tpl b/view/album_edit.tpl
index 44b541607..56a7b73fc 100644
--- a/view/album_edit.tpl
+++ b/view/album_edit.tpl
@@ -1,5 +1,5 @@
<div id="photo-album-edit-wrapper">
-<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/album/$hexalbum" method="post" >
+<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/$nickname/album/$hexalbum" method="post" >
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >$nametext</label>
diff --git a/view/en/jot-header.tpl b/view/en/jot-header.tpl
index 26640d8f1..b687f65a6 100644
--- a/view/en/jot-header.tpl
+++ b/view/en/jot-header.tpl
@@ -53,7 +53,7 @@ tinyMCE.init({
$(document).ready(function() {
var uploader = new window.AjaxUpload(
'wall-image-upload',
- { action: 'wall_upload',
+ { action: 'wall_upload/$nickname',
name: 'userfile',
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
onComplete: function(file,response) {
diff --git a/view/photo_edit.tpl b/view/photo_edit.tpl
index 4fdc230e7..a40e3fef6 100644
--- a/view/photo_edit.tpl
+++ b/view/photo_edit.tpl
@@ -1,5 +1,5 @@
-<form action="photos/$resource_id" method="post" id="photo_edit_form" >
+<form action="photos/$nickname/$resource_id" method="post" id="photo_edit_form" >
<input type="hidden" name="item_id" value="$item_id" />
diff --git a/view/photos_upload.tpl b/view/photos_upload.tpl
index a03779775..8a9dc3c68 100644
--- a/view/photos_upload.tpl
+++ b/view/photos_upload.tpl
@@ -1,5 +1,5 @@
<h3>$pagename</h3>
-<form action="photos" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" >
+<form action="photos/$nickname" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" >
<div id="photos-upload-new-wrapper" >
<div id="photos-upload-newalbum-div">
<label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >$newalbum</label>