31 lines
1.1 KiB
HTML
Executable File
31 lines
1.1 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{$instance_title}</title>
|
|
<link rel="stylesheet" media="screen" type="text/css" href="css/style.css" />
|
|
<link rel="icon" href="favicon.ico" />
|
|
</head>
|
|
<body>
|
|
{if condition="!$connection"}
|
|
<h1 id="title"><a href="{$base_url}">{$instance_title}</a></h1>
|
|
|
|
<div id="menu">
|
|
<ul>
|
|
<li><a href="index.php?do=new_invoice">Add a bill</a></li>
|
|
<li><a href="index.php?do=password">Change your password</a></li>
|
|
<li><a href="index.php?do=paybacks">See global paybacks</a></li>
|
|
<li><a href="index.php?do=disconnect">Disconnect</a></li>
|
|
</ul>
|
|
{if condition="$current_user->getAdmin() == 1"}
|
|
<ul>
|
|
<li><a href="index.php?do=manage_paybacks">Manage global paybacks</a></li>
|
|
<li><a href="index.php?do=edit_users">Edit users</a></li>
|
|
<li><a href="index.php?do=edit_notice">Edit notice on homepage</a></li>
|
|
<li><a href="index.php?do=settings">Settings</a></li>
|
|
</ul>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
{if condition="!empty($error)"}<p class="error">{$error}</p>{/if}
|