Commit Graph

14 Commits (43cfa0136f4cdf3a3950f04b4efb1f0de0712431)

Author SHA1 Message Date
David Goodwin 049a9ecc96 merge patch for dovecot quota viewing - see https://sourceforge.net/tracker/index.php?func=detail&aid=2060309&group_id=191583&atid=937966 - thank you shario; sorry it took so long to merge!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@518 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 15cfd911c9 list-virtual.php:
- show links to create mailboxes or alias even on disabled domains
  https://sourceforge.net/tracker/?func=detail&atid=937967&aid=2054502&group_id=191583
  (Only the first two lines and the last } (both removed) are real changes,
  everything else is a whitespace fix)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@447 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 5fa76d73d9 config.inc.php + all files related to alias domains
- added $CONF['alias_domain'] switch to disable alias domains
  (includes lots of whitespace changes in list-virtual.php)

functions.php:
- added some comments to boolconf()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@419 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f5dc943ce0 list-virtual.php:
- always initialize $tAliasDomains and $tTargetDomain
  (makes sure no evil data comes in, and also fixes the PHP notice)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@404 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 370e8fef6c inital merge of lenix's patch for domain aliasing; I think list-virtual.php needs some attention, but I've run out of time right now; upgrade.php has been updated to create the tables correctly (tested on pgsql and mysql); functionality or php scripts not tested yet
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@363 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 66a253d4d3 list-virtual.php: Exit after header redirect
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@284 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6febf0396c fix possible XSS hole (security fix)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@254 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 39953d029d rename templates to .php instead of .tpl
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@250 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f03d43f52f list-virtual.php: fix ticket 1837766
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@240 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 87c97df788 list-virtual.php: fix logic for display of vacation stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@191 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 69dce35307 list-virtual.php: remove unnecessary todo
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@190 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 0f357e7c97 list-virtual.php: fix unnecessary clause for psql query, that is not needed
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@189 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c51b27a9c9 merged overview.php into list-domain.php and list-virtual.php
list-domain.php:
- added several admin/superadmin switches and permission checks
- merged GET and POST code
- Note: still different templates for superadmins (admin_list-domain.tpl)
  and admins (overview-get.tpl) because of large layout difference

list-virtual.php:
- added several admin/superadmin switches and permission checks
- added check for admins without any domains (redirects to domain list,
  which can handle this situation)
- migrated FIXME from overview.php 
  -> David, please review the query and remove the FIXME afterwards

overview.php:
- DELETED - no longer needed

overview.tpl:
- RENAMED overview.tpl to list-virtual.tpl
- removed admin/superadmin filename switch
- removed $incpath switch for images

menu.tpl:
- menu for domain admins now has "domain list" and "virtual list"
  instead of "overview"

delete.php, edit-active.php, edit-alias.php, edit-mailbox.php, search.php:
- changed redirect to list-virtual.php

overview-get.tpl:
- changed link to list-virtual.php

main.tpl:
- changed overview link to list-domain.php



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@181 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 1132b958e5 Finally got rid of admin/ :-)
- moved admin-only scripts from admin/ to /
- removed all merged files ("require('../$file')") from admin/
- changed include paths - no more admin/superadmin switching needed
- admin_menu.tpl is also gone
- removed all menu.tpl / admin_menu.tpl switches - no more needed
- admin/index.php still exists and redirects to /



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@168 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago