2007-06-26 16:37:10 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
2008-05-16 16:00:58 +02:00
< title > YaCy '#[clientname]#': User Accounts< / title >
2007-06-26 16:37:10 +02:00
#%env/templates/metas.template%#
< / head >
< body >
#%env/templates/header.template%#
2007-07-11 01:56:25 +02:00
#%env/templates/submenuConfig.template%#
2006-12-20 23:14:45 +01:00
< h2 > User Administration< / h2 >
2007-02-28 10:22:31 +01:00
2006-12-20 23:14:45 +01:00
<!-- Page 1: Results -->
#(text)#
::
< p > User created: #[username]#< / p >
::
< p > User changed: #[username]#< / p >
#(/text)#
#(error)#
::
2007-02-28 10:22:31 +01:00
< p class = "error" > Generic error.< / p >
2006-12-20 23:14:45 +01:00
::
2007-02-28 10:22:31 +01:00
< p class = "error" > Passwords do not match.< / p >
2006-12-20 23:14:45 +01:00
::
2007-02-28 10:22:31 +01:00
< p class = "error" > Username too short. Username must be >= 4 Characters.< / p >
2008-05-15 22:13:43 +02:00
#(/error)#
2008-05-20 11:29:01 +02:00
#(commitIntranetWarning)#::< div class = "error" > With an intranet indexing configuration it is not allowed to authentify automatically from localhost!< / div > #(/commitIntranetWarning)#
#(passwordNotSetWarning)#::< div class = "error" > No password is set for the administration account. Please define a password for the admin account.< / div > #(/passwordNotSetWarning)#
2008-05-15 22:13:43 +02:00
< fieldset > < legend > Admin Account< / legend >
< form action = "ConfigAccounts_p.html" method = "post" >
< fieldset >
< legend >
2008-07-27 13:39:42 +02:00
< input type = "radio" name = "access" id = "access_localhost" value = "localhost" # ( localhost . checked ) # :: checked = "checked" # ( / localhost . checked ) # / >
< label for = "access_localhost" > Access from localhost without account< / label >
2008-05-15 22:13:43 +02:00
< / legend >
Access to your peer from your own computer (localhost access) is granted. No need to configure an administration account.
< / fieldset >
< fieldset >
< legend >
2008-07-27 13:39:42 +02:00
< input type = "radio" name = "access" id = "access_account" value = "account" # ( account . checked ) # :: checked = "checked" # ( / account . checked ) # / >
< label for = "access_account" > Access only with qualified account< / label >
2008-05-15 22:13:43 +02:00
< / legend >
You need this only if you want a remote access to your peer.
< dl class = "userConfig" >
< dt > < label for = "adminuser" > Peer User:< / label > < / dt >
< dd > < input type = "text" name = "adminuser" id = "adminuser" value = "#[defaultUser]#" size = "16" maxlength = "32" / > < / dd >
< dt > < label for = "adminpw1" > New Peer Password:< / label > < / dt >
< dd > < input type = "password" name = "adminpw1" id = "adminpw1" value = "" size = "16" maxlength = "32" / > < / dd >
< dt > < label for = "adminpw2" > Repeat Peer Password:< / label > < / dt >
< dd > < input type = "password" name = "adminpw2" id = "adminpw2" value = "" size = "16" maxlength = "32" / > < / dd >
< / dl >
< / fieldset >
< input type = "submit" name = "setAdmin" value = "Define Administrator" / >
< / form >
< / fieldset >
2007-02-28 10:22:31 +01:00
2008-05-15 22:13:43 +02:00
< fieldset > < legend > User Accounts< / legend >
2008-08-26 20:45:19 +02:00
< form action = "ConfigAccounts_p.html" >
2007-03-08 15:00:04 +01:00
< fieldset > < legend > Select user< / legend >
2007-02-28 10:22:31 +01:00
< dl >
< dt > < label for = "user" > Select user< / label > :< / dt >
< dd >
< select name = "user" id = "user" >
< option value = "newuser" > New user< / option > #{users}#
< option > #[user]#< / option > #{/users}#
< / select >
< / dd >
< dt > < / dt >
< dd >
< input type = "submit" name = "change_user" value = "Edit User" / >
< input type = "submit" name = "delete_user" value = "Delete User" / >
< / dd >
2007-03-08 15:00:04 +01:00
< / dl >
2007-02-28 10:22:31 +01:00
< / fieldset >
< / form >
2008-05-15 22:13:43 +02:00
< form action = "ConfigAccounts_p.html" method = "post" >
2007-03-08 15:00:04 +01:00
< fieldset > < legend > Edit current user: #[username]#< / legend >
2007-02-28 10:22:31 +01:00
<!-- Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly> -->
< input type = "hidden" name = "current_user" value = "#[current_user]#" / >
< dl >
< dt > < label for = "username" > Username< / label > :< / dt >
< dd > < input type = "text" id = "username" name = "username" value = "#[username]#" / > < / dd >
< dt > < label for = "password" > Password< / label > :< / dt >
< dd > < input type = "password" id = "password" name = "password" / > < / dd >
< dt > < label for = "password2" > Repeat password< / label > :< / dt >
< dd > < input type = "password" id = "password2" name = "password2" / > < / dd >
< dt > < label for = "firstname" > First name< / label > :< / dt >
< dd > < input type = "text" id = "firstname" name = "firstname" value = "#[firstname]#" / > < / dd >
< dt > < label for = "lastname" > Last name< / label > :< / dt >
< dd > < input type = "text" id = "lastname" name = "lastname" value = "#[lastname]#" / > < / dd >
< dt > < label for = "address" > Address< / label > :< / dt >
< dd > < input type = "text" id = "address" name = "address" value = "#[address]#" / > < / dd >
< dt > Rights:< / dt >
< dd >
2007-06-09 21:34:09 +02:00
#{rights}#
< input type = "checkbox" id = "#[name]#" name = "#[name]#" # ( set ) # :: checked = "checked" # ( / set ) # / > < label for = "#[name]#" > #[friendlyName]# right< / label > < br / >
#{/rights}#
2007-02-28 10:22:31 +01:00
< / dd >
< dt > < label for = "tlimit" > Timelimit< / label > :< / dt >
< dd > < input type = "text" id = "tlimit" name = "timelimit" value = "#[timelimit]#" / > < / dd >
< dt > < label for = "tused" > Time used< / label > :< / dt >
< dd > < input type = "text" id = "tused" name = "timeused" value = "#[timeused]#" / > < / dd >
< dt > < / dt >
< dd > < input type = "submit" name = "change" value = "Save User" / > < / dd >
2007-03-08 15:00:04 +01:00
< / dl >
2007-02-28 10:22:31 +01:00
< / fieldset >
2008-05-15 22:13:43 +02:00
< / form >
< / fieldset >
2007-06-26 16:37:10 +02:00
#%env/templates/footer.template%#
< / body >
< / html >