Use native Piwigo icons for album access toggle

This commit is contained in:
Terranom674
2026-08-16 23:58:29 +02:00
parent 8264eb194b
commit d8cb942b44

View File

@@ -29,7 +29,7 @@
<thead> <thead>
<tr> <tr>
<th>Album</th> <th>Album</th>
<th style="width:150px; text-align:center;">Zugriff</th> <th style="width:70px; text-align:center;">Zugriff</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -41,9 +41,9 @@
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN|escape:html}"> <input type="hidden" name="pwg_token" value="{$PWG_TOKEN|escape:html}">
<input type="hidden" name="lock_category_id" value="{$album.id}"> <input type="hidden" name="lock_category_id" value="{$album.id}">
{if $album.status == 'private'} {if $album.status == 'private'}
<button class="buttonLike" type="submit" name="bratonien_tool" value="album_lock_toggle" title="Album ist privat klicken zum Entsperren" aria-label="Album entsperren" onclick="return confirm('Dieses Album wieder öffentlich schalten?');"><i class="fas fa-lock-open" aria-hidden="true"></i> Entsperren</button> <button class="buttonLike" type="submit" name="bratonien_tool" value="album_lock_toggle" title="Album ist privat klicken zum Entsperren" aria-label="Album entsperren" onclick="return confirm('Dieses Album wieder öffentlich schalten?');"><span class="icon-lock" aria-hidden="true"></span></button>
{else} {else}
<button class="buttonLike" type="submit" name="bratonien_tool" value="album_lock_toggle" title="Album ist öffentlich klicken zum Sperren" aria-label="Album sperren" onclick="return confirm('Dieses Album auf privat stellen?');"><i class="fas fa-lock" aria-hidden="true"></i> Sperren</button> <button class="buttonLike" type="submit" name="bratonien_tool" value="album_lock_toggle" title="Album ist öffentlich klicken zum Sperren" aria-label="Album sperren" onclick="return confirm('Dieses Album auf privat stellen?');"><span class="icon-eye" aria-hidden="true"></span></button>
{/if} {/if}
</form> </form>
</td> </td>