ezmlm-web-archiv/ezmlm-web-3.3/template/gnupg_secret.cs
lars db6538cda5 ezmlm-web release:
* released source and debian file
2008-10-12 01:36:40 +00:00

53 lines
1.7 KiB
C#

<div class="title">
<h1><?cs var:html_escape(Lang.Title.GnupgSecret) ?></h1>
</div>
<div class="introduction">
<p><?cs var:html_escape(Lang.Introduction.GnupgSecret) ?></p>
</div>
<?cs include:TemplateDir + '/gnupg_import.cs' ?>
<fieldset>
<legend><?cs var:html_escape(Lang.Legend.GnupgSecretKeys) ?> </legend>
<?cs if:subcount(Data.List.gnupg_keys.secret) > 0 ?>
<?cs call:form_header("gnupg_secret_keys") ?>
<ul>
<li><table class="gnupg_keys">
<?cs each:key = Data.List.gnupg_keys.secret
?><tr><td><input type="checkbox" name="gnupg_key_<?cs var:key.id ?>"
id="gnupg_key_<?cs var:key.id ?>" /></td>
<td><label for="gnupg_key_<?cs var:key.id ?>"><?cs
var:html_escape(key.name) ?></label></td>
<td><label for="gnupg_key_<?cs var:key.id ?>"><?cs
var:html_escape(key.email) ?></label></td>
<td><label for="gnupg_key_<?cs var:key.id ?>"><?cs
if:key.expires ?><?cs var:html_escape(key.expires) ?><?cs
else ?><?cs var:html_escape(Lang.Misc.Never) ?><?cs /if
?></label></td>
<td><a href="<?cs call:link("action", "gnupg_export",
"list", Data.List.Name,
"gnupg_keyid", key.id) ?>"
title="<?cs var:html_escape(Lang.Buttons.GnupgExportKey)
?>"><?cs var:html_escape(Lang.Buttons.GnupgExportKey)
?></a></td>
</tr>
<?cs /each ?>
</table></li>
<li>
<input type="hidden" name="gnupg_subset" value="secret" />
<input type="hidden" name="action" value="gnupg_do" />
<button type="submit" name="send" value="do"><?cs
var:html_escape(Lang.Buttons.DeleteSecretKey) ?></button></li>
</ul>
</form>
<?cs else ?>
<p><?cs var:html_escape(Lang.Misc.GnupgNoSecretKeys) ?></p>
<?cs /if ?>
</fieldset>