feat: add videodb media index with Docker stack
- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
64
videodb/templates/modern/permissions.tpl
Normal file
64
videodb/templates/modern/permissions.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
{*
|
||||
Template for the permission management screen
|
||||
$Id: permissions.tpl,v 2.3 2005/05/27 13:53:43 chinamann Exp $
|
||||
*}
|
||||
|
||||
<div id="content">
|
||||
|
||||
|
||||
{if $message}
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr><td>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="center">
|
||||
<br/>{$message}<br/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
{else}
|
||||
{include file="topspacer.tpl"}
|
||||
{/if}
|
||||
<form action="permissions.php" method="post">
|
||||
<table width="100%">
|
||||
<tr><td align="center">
|
||||
<h3>{$lang.permforuser} {html_options name=from_uid options=$owners selected=$from_uid onchange="submit()"}:</h3>
|
||||
</td></tr>
|
||||
<tr><td class="center">
|
||||
<table width="100%">
|
||||
<tr class="{cycle values="even,odd"}">
|
||||
<th>{$lang.username}</th>
|
||||
<th>{$lang.read}</th>
|
||||
<th>{$lang.write}</th>
|
||||
</tr>
|
||||
|
||||
{foreach item=perm from=$permlist}
|
||||
<input type="hidden" name="newflag_{$perm.to_uid}" id="newflag_{$perm.to_uid}" value="{$perm.newentry}" />
|
||||
<tr class="{cycle values="even,odd"}">
|
||||
<td class="center">
|
||||
{$perm.to_name}
|
||||
</td>
|
||||
<td class="center">
|
||||
<input type="checkbox" name="readflag_{$perm.to_uid}" id="readflag_{$perm.to_uid}" value="1" {if $perm.read}checked="checked"{/if}/>
|
||||
</td>
|
||||
<td class="center">
|
||||
<input type="checkbox" name="writeflag_{$perm.to_uid}" id="writeflag_{$perm.to_uid}" value="1" {if $perm.write}checked="checked"{/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td class="center" colspan="4"><br/>
|
||||
<input type="submit" name="save" value="{$lang.save}" class="button" accesskey="s" />
|
||||
<input type="button" value="{$lang.back}" class="button" onclick="window.location.href='users.php';" accesskey="c" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user