<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="ja">
<head>
<link rel="stylesheet" type="text/css" href="css/tkt.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>シークレットの設定</title>
</head><body><div align="center">
<h1>シークレットの設定</h1>
<form name="setsecret" method="post" action="{$uri}{if $back}?back={$back|escape:"url"}{/if}">
<table border="0" cellpadding="5">
{if $apps}
<tr><th align="right">アプリケーション:</th>
<td align="left">
<select name="app">
{foreach from=$apps item="name" key="value"}
<option value="{$value}" {if $app == $value}selected{/if}>{$name}</option>
{/foreach}
</select>
</td></tr>
{/if}
<tr><th align="right">ユーザ名:</th><td align="left">{$username}</td></tr>
<tr><th align="right">シークレットを入力:</th><td><input type="password" name="secret" /></td></tr>
<tr><td colspan="2" align="center"> 
<input type="submit" value="設定" />
</td></tr>
</table>
</form>
{if $error}<p class="warning">{else}<p class="info">{/if}
{if $message}{if $app}{$apps.$app}の{/if}{$message}{/if}</p>
<p class="info">
<a href="index.php?app=password">パスワードの変更</a>&nbsp;&nbsp;
<a href="logout.php">ログアウト</a></p>
</div>
</body>
</html>
