mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 19:54:31 +00:00
Add one-click album lock section to sharing admin
This commit is contained in:
@@ -3,6 +3,26 @@
|
|||||||
<p class="bratonien-section__intro">Private Alben per individuellem Link und Passwort freigeben – ohne Abhängigkeit von ShareAlbum.</p>
|
<p class="bratonien-section__intro">Private Alben per individuellem Link und Passwort freigeben – ohne Abhängigkeit von ShareAlbum.</p>
|
||||||
|
|
||||||
<div class="bratonien-grid">
|
<div class="bratonien-grid">
|
||||||
|
<div class="bratonien-card">
|
||||||
|
<h4>Album sperren</h4>
|
||||||
|
<p class="bratonien-muted">Ein öffentliches Album mit einem Klick auf privat stellen. Dein eigener Benutzer erhält dabei automatisch Zugriff.</p>
|
||||||
|
<form method="post">
|
||||||
|
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN|escape:html}">
|
||||||
|
<div class="bratonien-form-grid">
|
||||||
|
<label for="lock_category_id">Öffentliches Album</label>
|
||||||
|
<select id="lock_category_id" name="lock_category_id" required>
|
||||||
|
<option value="">Album auswählen</option>
|
||||||
|
{foreach from=$BRATONIEN_PUBLIC_ALBUMS item=album}
|
||||||
|
<option value="{$album.id}">{$album.name|escape:html}</option>
|
||||||
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="bratonien-actions">
|
||||||
|
<button class="buttonLike" type="submit" name="bratonien_tool" value="album_lock" onclick="return confirm('Dieses Album wirklich auf privat stellen?');">Album sperren</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="bratonien-card">
|
<div class="bratonien-card">
|
||||||
<h4>Neue Freigabe</h4>
|
<h4>Neue Freigabe</h4>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|||||||
Reference in New Issue
Block a user