David Goodwin
c8ed2ffddf
vacation.pl: patch from kope (via forum post at http://sourceforge.net/forum/forum.php?thread_id=1837942&forum_id=676076 ) - Thankyou
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@127 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
809c1ec42c
- merge admin/search.php into search.php
...
- merge GET and POST code
- admin/search.php still has the old code commented out
@pgsql users: please test the search - I can't promise that everything works.
There are several TODOs / open questions regarding pgsql in search.php currently...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@126 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
57df6f53ea
- added 'create admin' link
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@125 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
b0cd475b04
- fix: unlimited is 0, not -1
...
- remove debugging code
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@124 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
4cdd5569cc
fix password handling:
...
- always check if password == password2 (even if password2 is empty)
- skip changing password if new password is empty. Reasons:
- empty passwords are insecure
- editing an admin does not always mean to edit the password. One might
edit the allowed domains without even knowing the password of the
edited admin.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@123 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
76af386cb7
- workaround for undefined variables (needed after template merge)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@122 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
5712070060
- merge admin_list-virtual.tpl into overview.tpl
...
- deleted admin_list-virtual.tpl
- admin/list-virtual.php now uses overview.tpl template
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@121 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
644997d8b0
- fix colspan in table headlines
...
- fix: display create mailbox link even if no mailbox exists yet
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@120 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
f91a6641c3
- Fix HTML (<span> is opened inside the error message, close it again)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@119 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
72991a4aa6
reformatting; should be ignorable
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@118 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
e4f2e45039
edit-mailbox.php; try and make it work properly
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@117 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4b84ff82bf
templates/edit-vacation.tpl: explicit action url
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@116 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
c1c97bc77d
edit-vacation.php: fix handling of empty goto field; fix handling of vacation editing if done by "someone else"
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@115 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
2ffb2ef3e6
functions.inc.php: reduce global usage
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@114 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
04ea2698f7
fix broken MySQL Schema (thanks to cytdevel - http://sourceforge.net/forum/forum.php?thread_id=1836415&forum_id=676076 )
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@113 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
f854128947
functions.inc.php: mysqli is a valid database_type as well!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@112 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
c1f25dce38
make links for adding mailbox and adding alias dependant on controller logic
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@111 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
3b38d12315
ensure domain name is in a list of valid domain names; set for use within the template so the right one is selected if ?domain=XXX was in the url
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@110 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4e4af1a099
admin/list-virtual.php: correctly display add mailbox or add alias links for a domain as appropriate (not if it is a backup mx or inactive or alias/mailbox limit has been reached
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@109 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
568f49a1f7
create-alias.php: syntax error fix
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@108 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
dc51d62e15
update license headers
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@107 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
4e58481b8b
fix template for edit-admin
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@106 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
01d61d011b
edit-admin.php: it should work now - if you are a super admin, the domain list is unhighlighted; note domains that are inactive or backupmx records will appear unhighlighted all the time
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@105 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
f2bf3cdf97
functions.inc.php: remove optional parameter for get_domains_for_admin()
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@104 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
cb66e25ba4
templates/header.tpl: basic flash messaging, basic capability for info and error messages; needs css styling
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@103 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
53df296722
common.php: magic quotes stuff
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@102 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
b15d558c81
functions.inc.php: fix escape_string to handle arrays, move magic_quotes stuff to common.php; add flash message stuff (See also header.php)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@101 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
9c0a7f4ad3
- fix: edit links contained <span ...>...</span> from search highlighting.
...
(see forum post: https://sourceforge.net/forum/message.php?msg_id=4540915 )
Now using separate variables for highlighting in strings that end up in links.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@100 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
1b603782d0
- fix: added edit_mailbox as allowed log action
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@99 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
65fafc8275
admin/edit-domain.php: sql refactoring
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@98 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
d56ada24e2
users/login.php: sql refactoring
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@97 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
fd67e6b120
screenshots: adding
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@96 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
14bd1d6cd9
- removed forgotten TODO
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@95 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz
8e88a41691
- added missing "global $CONF" in authentication_require_role
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@94 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
97767d4800
en.lang: added missing key for "create mailbox"
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@93 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
eb6bca9047
vacation.pl: debug patch from amsys - see http://sourceforge.net/tracker/download.php?group_id=191583&atid=937966&file_id=247066&aid=1801542 - thank you!
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@92 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
54650c8b1f
config.inc.php.sample: add missing array key
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@91 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
075d15b4b1
db_log patch from amsys - make db logging translatable
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@90 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
8b769b41b5
password.php: s/succes/success/
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@89 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
0229f99511
s/succes/success/; use db_get_boolean
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@88 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
cc0e532ecc
sendmail.php: s/succes/success/
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@87 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
e015b7d980
fix variable naming issue
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@86 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
f04389e793
create-alias.php: s/succes/success/g; use db_get_boolean()
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@85 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
11902aef57
spelling tpyo fix (s/succes/success/)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@84 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
377daa201d
spelling tpyo fix (s/succes/success/)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@83 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
bf5b01a624
spelling tpyo fix (s/succes/success/)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@82 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
499d663e3b
go back to prior database sql file structure
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@81 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
7863e733f6
move database stuff back into ../DATABASE_[MYSQL|PGSQL].txt
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@80 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
0f90886a46
DATABASE_MYSQL.TXT: remove the redundant "KEY $field" when $field is already a PRIMARY KEY
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@79 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin
ecd2e11dea
users/vacation.php: feature request from phb - handle users who do not have an alias record in an appropriate manner
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@78 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago