2010-02-28 01:08:10 +01:00
|
|
|
<h1>[if-one user_logged]{adduser_header_add}[else]{adduser_header_register}[end]</h1>
|
|
|
|
|
|
|
|
<form id="additem" method="post" action="[doc_base_url][dir]adduser">
|
|
|
|
<fieldset>
|
|
|
|
<legend>{adduser_form_legend}</legend>
|
|
|
|
|
|
|
|
<p class="withnext">{adduser_login}:</p>
|
|
|
|
<input class="edit" type="text" name="login" value="[adduser_last_login]">
|
|
|
|
|
|
|
|
<p class="withnext">{adduser_password}:</p>
|
|
|
|
<input class="edit" type="password" name="password" value="">
|
|
|
|
|
|
|
|
<p class="withnext">{adduser_confirm_password}:</p>
|
changed: when winix demonizes it creates a three new descriptors (0, 1 and 3)
pointing to /dev/null
added: DbBase::AssertValueBin(PGresult * r, int row, int col, std::string & result)
it reads binary (bytea) data
added: DbTextStream can handle 'bool' types now
(is puts 'true' of 'false' to the stream)
changed: now passwords can be stored either as plain text, a hash or can be encrypted
with RSA
currently we have following hashes:
md4, md5, sha1, sha224, sha256, sha384, sha512
we are using openssl to manage them
(look at config options for more info)
changed: winix version to 0.4.7
added: class Run - you can run any program from os and send a buffer to its standard input
and read what the program put on its standard output
added: class Crypt (in System) - calculating hashes, and crypting/decrypting
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@734 e52654a7-88a9-db11-a3e9-0013d4bc506e
2011-06-09 23:22:08 +02:00
|
|
|
<input class="edit" type="password" name="passwordconfirm" value="">
|
2012-02-28 22:09:44 +01:00
|
|
|
|
|
|
|
[if winix_account_need_email_verification]
|
|
|
|
<p class="withnext">{adduser_need_email}<br>{adduser_need_email2}:</p>
|
|
|
|
[else]
|
|
|
|
<p class="withnext">{adduser_email}:</p>
|
|
|
|
[end]
|
2010-02-28 01:08:10 +01:00
|
|
|
<input class="edit" type="text" name="email" value="[adduser_last_email]">
|
|
|
|
|
2012-02-28 22:09:44 +01:00
|
|
|
[if user_super_user]
|
|
|
|
<p>
|
|
|
|
<input type="checkbox" name="autoactivate" id="autoactivate"><label style="display: inline;" for="autoactivate">{adduser_auto_activate}</label>
|
|
|
|
</p>
|
|
|
|
[end]
|
|
|
|
|
2010-02-28 01:08:10 +01:00
|
|
|
<input class="submit" type="submit" value="[if-one user_logged]{adduser_submit}[else]{register_user_submit}[end]">
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|