- 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>
38 lines
2.0 KiB
Smarty
38 lines
2.0 KiB
Smarty
{*
|
|
This is the header which is displayed on top of every page
|
|
$Id: header.tpl,v 2.13 2013/03/14 17:17:27 andig2 Exp $
|
|
*}
|
|
{include file="xml.tpl"}
|
|
|
|
<body>
|
|
|
|
<a name="top"></a>
|
|
<div align="center">
|
|
|
|
<table width="100%" class="menutable">
|
|
<tr>
|
|
<td width="120" valign="bottom">
|
|
<span class="logo">VideoDB</span>
|
|
</td>
|
|
<td width="100%" valign="bottom" align="center" style="text-align:center">
|
|
|
|
{if !empty($header.browse)}[ <a href="{$header.browse}" accesskey="i">{$lang.browse}</a> ] {/if}
|
|
{if !empty($header.trace)}[ <a href="{$header.trace}">{$lang.imdbbrowser}</a> ] {/if}
|
|
{if !empty($header.random)}[ <a href="{$header.random}">{$lang.random}</a> ] {/if}
|
|
{if !empty($header.search)}[ <a href="{$header.search}" accesskey="f">{$lang.search}</a> ] {/if}
|
|
{if !empty($header.new)}[ <a href="{$header.new}" accesskey="n">{$lang.n_e_w}</a> ] {/if}
|
|
{if !empty($header.edit)}[ <a href="{$header.edit}" accesskey="e">{$lang.edit}</a> ] {/if}
|
|
{if !empty($header.view)}[ <a href="{$header.view}">{$lang.view}</a> ] {/if}
|
|
{if !empty($header.del)}[ <a href="{$header.del}" onclick="return(confirm('{$lang.really_del|escape:javascript|escape}?'))">{$lang.delete}</a> ] {/if}
|
|
{if !empty($header.contrib)}[ <a href="{$header.contrib}" accesskey="c">{$lang.contrib}</a> ] {/if}
|
|
{if !empty($header.borrow)}[ <a href="{$header.borrow}" accesskey="b">{$lang.borrow}</a> ] {/if}
|
|
{if !empty($header.stats)}[ <a href="{$header.stats}">{$lang.statistics}</a> ] {/if}
|
|
{if !empty($header.setup)}[ <a href="{$header.setup}">{$lang.setup}</a> ] {/if}
|
|
{if !empty($header.profile)}[ <a href="{$header.profile}">{$lang.profile}</a> ] {/if}
|
|
{if !empty($header.help)}[ <a href="{$header.help}" accesskey="h">{$lang.help}</a> ] {/if}
|
|
{if !empty($header.login)}[ <a href="{$header.login}" accesskey="l">{if !empty($loggedin)}{$lang.logout}{else}{$lang.login}{/if}</a> ]{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|