empty setting handling fixed (closes #21)
gnupg key generation page added
This commit is contained in:
parent
1a6839cd63
commit
bda51b0100
12 changed files with 42 additions and 21 deletions
19
template/gnupg_generate_key.cs
Normal file
19
template/gnupg_generate_key.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
<div class="title">
|
||||
<h1><?cs var:html_escape(Lang.Title.GnupgGenerateKey) ?></h1>
|
||||
</div>
|
||||
|
||||
<fieldset class="form">
|
||||
<legend><?cs var:html_escape(Lang.Legend.GnupgGenerateKey) ?> </legend>
|
||||
|
||||
<form method="post" action="<?cs call:link("","","","","","") ?>" enctype="application/x-www-form-urlencoded">
|
||||
|
||||
<?cs call:show_options(UI.Options.GenerateKey) ?>
|
||||
|
||||
<!-- include default form values -->
|
||||
<?cs include:TemplateDir + '/form_common.cs' ?>
|
||||
|
||||
<input type="hidden" name="action" value="gnupg_generate_key" />
|
||||
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.GnupgGenerateKey) ?></button>
|
||||
</form>
|
||||
|
||||
</fieldset>
|
|
@ -132,7 +132,7 @@
|
|||
?><li><a <?cs if:(Data.Action == "gnupg_generate")
|
||||
?> class="nav_active"<?cs /if ?>
|
||||
href="<?cs call:link("list",Data.List.Name,"action","gnupg_ask",
|
||||
"gnupg_subset","generate") ?>"
|
||||
"gnupg_subset","generate_key") ?>"
|
||||
title="<?cs var:html_escape(Lang.Menue.GnupgGenerateKey) ?>"><?cs
|
||||
var:html_escape(Lang.Menue.GnupgGenerateKey) ?></a></li><?cs /if ?>
|
||||
</ul></li><?cs /if ?>
|
||||
|
|
|
@ -26,13 +26,11 @@ UI {
|
|||
|
||||
Options {
|
||||
|
||||
Create {
|
||||
# TODO: was soll hier ein?
|
||||
Listname = create_listname
|
||||
Listaddress = create_listaddress
|
||||
Listlanguage = lang_select
|
||||
Mysql = mysql
|
||||
Webuser = webusers
|
||||
GenerateKey {
|
||||
KeyName = gnupg_keyname
|
||||
KeyComment = gnupg_keycomment
|
||||
KeySize = gnupg_keysize
|
||||
KeyType = gnupg_keytype
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,18 +38,15 @@ UI {
|
|||
Main {
|
||||
#Language = lang_select
|
||||
#Charset = charset_select
|
||||
SignMessages = gpg_sign_messages
|
||||
EncryptToAll = gpg_encrypt_to_all
|
||||
AllowKeySubmission = gpg_allow_key_submission
|
||||
NokeyNocrypt = gpg_nokey_nocrypt
|
||||
VerifiedKeyReq = gpg_verified_key_required
|
||||
RequireSub = gpg_require_subscriber
|
||||
SignMessages = gnupg_sign_messages
|
||||
EncryptToAll = gnupg_encrypt_to_all
|
||||
AllowKeySubmission = gnupg_allow_key_submission
|
||||
NokeyNocrypt = gnupg_nokey_nocrypt
|
||||
VerifiedKeyReq = gnupg_verified_key_required
|
||||
RequireSub = gnupg_require_subscriber
|
||||
WebUsers = webusers
|
||||
}
|
||||
|
||||
Gnupg {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue