PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz 9f2a0db106 create_admin() cleanup
functions.inc.php:
- create_admin(): use db_insert instead of INSERT queries
  (this includes automatic escaping of all values)

create-admin.php:
- use safepost instead of isset($_POST[...])
- don't escape_string post values - it's done inside create_admin now
- remove superfluous emptying of empty $tDomains for GET
- allow htmlentities-escaping for pAdminCreate_admin_username_text
- some whitespace / linebreak changes

setup.php:
- load config.inc.php only once (loading it twice will break if custom
  hook functions exist in config.*.php - "can't redefine function ...")
- use safepost instead of isset($_POST[...])
- don't escape_string post values - it's done inside create_admin now
- escape $tUsername with htmlentities() instead of escape_string



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1190 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
ADDITIONS ADDITIONS/delete-mailq-by-domain.pl, 13 years ago
DOCUMENTS SUPERADMIN.txt: 13 years ago
VIRTUAL_VACATION fix as per #3086890 14 years ago
admin Finally got rid of admin/ :-) 17 years ago
configs configs/menu.conf: 13 years ago
css added quota level percentage display 13 years ago
debian fix patch for config.inc.php when creating .deb 14 years ago
images added quota level percentage display 13 years ago
languages de.lang: 13 years ago
model model/DomainHandler.php: 13 years ago
scripts config.inc.php: 13 years ago
smarty smarty.inc.php: 14 years ago
templates vacation.php: 13 years ago
tests this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test 14 years ago
users Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
CHANGELOG.TXT Paperwork ;-) 13 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 18 years ago
INSTALL.TXT various documentation updates: 14 years ago
LICENSE.TXT LICENSE.TXT: 14 years ago
backup.php backup.php: 14 years ago
broadcast-message.php sendmail.php, broadcast-message.php: 14 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 15 years ago
common.php config.inc.php: 13 years ago
config.inc.php config.inc.php: 13 years ago
create-admin.php create_admin() cleanup 13 years ago
create-alias-domain.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
create-alias.php create-alias.php: 13 years ago
create-domain.php Merge admin_edit-domain.tpl and admin_create-domain.tpl 13 years ago
create-mailbox.php create-mailbox: 13 years ago
delete.php delete.php: 14 years ago
edit-active-admin.php edit-active-admin.php, edit-active-domain.php, edit-active.php 14 years ago
edit-active-domain.php edit-active-admin.php, edit-active-domain.php, edit-active.php 14 years ago
edit-active.php edit-active-admin.php, edit-active-domain.php, edit-active.php 14 years ago
edit-admin.php Merge admin_edit-admin.tpl and admin_create-admin.tpl 13 years ago
edit-alias.php Merge edit-alias.tpl and create-alias.tpl 13 years ago
edit-domain.php Merge admin_edit-domain.tpl and admin_create-domain.tpl 13 years ago
edit-mailbox.php functions.inc.php: 13 years ago
fetchmail.php fetchmail.php: 14 years ago
functions.inc.php create_admin() cleanup 13 years ago
index.php login.php, index.php: 16 years ago
list-admin.php list-admin.php 14 years ago
list-domain.php list-domain.php: 13 years ago
list-virtual.php added quota level percentage display 13 years ago
login.php Merge template for admin login and user login 13 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 16 years ago
main.php - big merge of Postfixadmin smarty into trunk 15 years ago
password.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
sendmail.php sendmail.php, broadcast-message.php: 14 years ago
setup.php create_admin() cleanup 13 years ago
smarty.inc.php smarty.inc.php - select_options(): 13 years ago
upgrade.php upgrade.php: 13 years ago
vacation.php vacation.php: 13 years ago
variables.inc.php variables.inc.php: 13 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
xmlrpc.php Renamed UserHandler to MailboxHandler to make clear it's about mailboxes 14 years ago