Commit Graph

115 Commits (c1c97bc77d80c675a70a852ac3d84ea57a8e55f0)
 

Author SHA1 Message Date
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
David Goodwin b947f120b4 functions.inc.php: typo fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@77 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 9d7608b03d index.php: reword sentance
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@76 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6e03bcc8c3 index.php: improved welcome documentation (hopefully)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@75 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 7e4ca77044 INSTALL.TXT: minor edits
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@74 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 5c372ead52 functions.inc.php: add a db_get_boolean($bool) function to handle the 0/1/False/True stuff for MySQL&PostgreSQL
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@73 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 2d3058ed9c patch from amsys - see http://sourceforge.net/tracker/index.php?func=detail&aid=1800367&group_id=191583&atid=937966 - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@72 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 3e70f276c2 final set of refactoring patches (and the rest)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@71 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4eb83c4bdc final set of refactoring patches
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@70 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 941a0ddbd4 languages/en.lang: changed vacation success/error messages to be more useful (i.e. vacation set, vacation removed) (sorry translators!)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@69 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 2539dc47a4 templates/: refactoring and some fixes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@68 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin cf5b117aa5 admin/*, users/* - code refactoring
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@67 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 68511080ff setup.php: setting magic quotes off should be the ideal setting
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@66 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago