diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/album_edit.tpl | 2 | ||||
-rw-r--r-- | view/en/jot-header.tpl | 2 | ||||
-rw-r--r-- | view/photo_edit.tpl | 2 | ||||
-rw-r--r-- | view/photos_upload.tpl | 2 |
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> |