diff options
-rw-r--r-- | include/attach.php | 2 | ||||
-rwxr-xr-x | view/tpl/photo_view.tpl | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/attach.php b/include/attach.php index 10ff9f13f..de6c506ce 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1314,6 +1314,8 @@ function attach_delete($channel_id, $resource, $is_photo = 0) { ); file_activity($channel_id, $object, $object['allow_cid'], $object['allow_gid'], $object['deny_cid'], $object['deny_gid'], 'update', $notify=1); + + return; } /** diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 867a1e87b..bd5e68027 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -36,6 +36,7 @@ <div id="photo-edit" class="section-content-tools-wrapper"> <form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form"> <input type="hidden" name="item_id" value="{{$edit.item_id}}" /> + {{* album renaming is not supported atm. <div class="form-group"> <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$edit.newalbum_label}}</label> <input id="photo-edit-albumname" class="form-control" type="text" name="albname" value="{{$edit.album}}" placeholder="{{$edit.newalbum_placeholder}}" list="dl-albums" /> @@ -49,6 +50,7 @@ </datalist> {{/if}} </div> + *}} <div class="form-group"> <label id="photo-edit-caption-label" for="photo-edit-caption">{{$edit.capt_label}}</label> <input id="photo-edit-caption" class="form-control" type="text" name="desc" value="{{$edit.caption}}" /> |