make attach_delete() return and comment out album rename functionality since this is not supported by the backend at the moment.
This commit is contained in:
parent
6126070a1d
commit
58cf9d832c
@ -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);
|
file_activity($channel_id, $object, $object['allow_cid'], $object['allow_gid'], $object['deny_cid'], $object['deny_gid'], 'update', $notify=1);
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
<div id="photo-edit" class="section-content-tools-wrapper">
|
<div id="photo-edit" class="section-content-tools-wrapper">
|
||||||
<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form">
|
<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form">
|
||||||
<input type="hidden" name="item_id" value="{{$edit.item_id}}" />
|
<input type="hidden" name="item_id" value="{{$edit.item_id}}" />
|
||||||
|
{{* album renaming is not supported atm.
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$edit.newalbum_label}}</label>
|
<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" />
|
<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>
|
</datalist>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
*}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label id="photo-edit-caption-label" for="photo-edit-caption">{{$edit.capt_label}}</label>
|
<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}}" />
|
<input id="photo-edit-caption" class="form-control" type="text" name="desc" value="{{$edit.caption}}" />
|
||||||
|
Reference in New Issue
Block a user