mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 15:14:34 +00:00
Add album rules and profile management sections
This commit is contained in:
@@ -15,33 +15,51 @@
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>Neues PNG hochladen:
|
||||
<input type="file" name="watermark_upload" accept="image/png">
|
||||
</label>
|
||||
</p>
|
||||
<p><label>PNG hochladen: <input type="file" name="watermark_upload" accept="image/png"></label></p>
|
||||
|
||||
<p>
|
||||
Position X: <input type="number" name="watermark_xpos" value="{$WATERMARK.xpos}" min="0" max="100">
|
||||
Position Y: <input type="number" name="watermark_ypos" value="{$WATERMARK.ypos}" min="0" max="100">
|
||||
</p>
|
||||
<p>Position X: <input name="watermark_xpos" value="{$WATERMARK.xpos}"> Position Y: <input name="watermark_ypos" value="{$WATERMARK.ypos}"></p>
|
||||
<p>Deckkraft: <input name="watermark_opacity" value="{$WATERMARK.opacity}"> %</p>
|
||||
|
||||
<p>
|
||||
Deckkraft: <input type="number" name="watermark_opacity" value="{$WATERMARK.opacity}" min="1" max="100"> %
|
||||
</p>
|
||||
<label><input type="checkbox" name="watermark_clear_cache" value="1"> Nach Speichern Cache leeren</label>
|
||||
|
||||
<p>
|
||||
Mindestgröße: <input type="number" name="watermark_minw" value="{$WATERMARK.minw}" min="0"> x
|
||||
<input type="number" name="watermark_minh" value="{$WATERMARK.minh}" min="0">
|
||||
</p>
|
||||
<button class="buttonLike">Wasserzeichen speichern</button>
|
||||
</form>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
<input type="checkbox" name="watermark_clear_cache" value="1">
|
||||
Nach Speichern Bildcache leeren
|
||||
</label>
|
||||
</p>
|
||||
<h3>Profile</h3>
|
||||
<table class="table2">
|
||||
<tr><th>Name</th><th>Datei</th><th>Deckkraft</th></tr>
|
||||
{foreach from=$WATERMARK_PROFILES item=profile}
|
||||
<tr>
|
||||
<td>{$profile.name|escape:html}</td>
|
||||
<td>{$profile.watermark_file|escape:html}</td>
|
||||
<td>{$profile.opacity}%</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<button type="submit" class="buttonLike">Wasserzeichen speichern</button>
|
||||
<h3>Albumregeln</h3>
|
||||
<p>Albumregeln erlauben eigene Profile oder die Vererbung von Einstellungen.</p>
|
||||
|
||||
<form method="post">
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN|escape:html}">
|
||||
<input type="hidden" name="bratonien_tool" value="watermark">
|
||||
|
||||
<label>Album:
|
||||
<select name="category_id">
|
||||
{foreach from=$WATERMARK_CATEGORIES item=category}
|
||||
<option value="{$category.id}">{$category.name|escape:html}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</label>
|
||||
|
||||
<label>Regel:
|
||||
<select name="rule_mode">
|
||||
<option value="inherit">Erben</option>
|
||||
<option value="profile">Profil</option>
|
||||
<option value="disabled">Kein Wasserzeichen</option>
|
||||
</select>
|
||||
</label>
|
||||
|
||||
<button class="buttonLike">Albumregel speichern</button>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user