ezmlm-web/template/gnupg_secret.cs
lars 4c83771e11 updated UPGRADE file
new configuration setting: HTML_LINKS
changed layout of top div
fixed some IE rendering problems
improved visualization of subscriber's log
changed interface of 'form_header' macros
moved interface and language selection to the top of the page
reverse order of subscriber's log entries
set explicit default values for UNSAFE_RM, PRETTY_NAMES, ALIAS_USER, HTML_LINKS, HTML_LANGUAGE, FILE_UPLOAD and DEFAULT_OPTIONS
HTML_CSS_FILE replaced by HTML_CSS_URL - it defaults to '/ezmlm-web.css'
added manpages for 'webusers' and 'ezmlmwebrc' file formats
added check for required settings
ignore 'taintness' of 'send' input data due to non-ascii characters in buttons' values
2007-04-10 22:19:43 +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>