0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
Christian Boltz
20d1ffcafc functions.inc.php:
- new function db_pgsql() to replace lots of
  "if ($CONF[database_type] == 'pgsql')) checks
- delete unused function boolconf()

several files:
- use db_pgsql() instead of checking $CONF[database_type]



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1582 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-16 00:00:53 +00:00
Christian Boltz
6e2e132bac remove "postfixadmin.com" in comments in lots of files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1558 a1433add-5e2c-0410-b055-b7f2511e0802
2013-11-10 15:57:32 +00:00
Christian Boltz
f02b781376 backup.php:
- move "unmaintained" warning to templates/backupwarning.tpl (that's 
  the easiest way to have working HTML tags) 
- remove <p> tag from pgsql error message

templates/backupwarning.tpl
- new file, contains the "unmaintained" warning for backup.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1542 a1433add-5e2c-0410-b055-b7f2511e0802
2013-10-19 18:58:59 +00:00
David Goodwin
1a9104cab4 sql injection fix - ported back to trunk from branches/2.3 ...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1326 a1433add-5e2c-0410-b055-b7f2511e0802
2012-01-10 22:55:09 +00:00
Christian Boltz
cc0a63ce3a backup.php:
- switch from tMessage to flash_error()
- style download link as button

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1079 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-18 22:05:07 +00:00
Christian Boltz
058f46f1a5 users/vacation.php, edit-vacation.php, backup.php:
- supress warnings about PHP's date.timezone not set.

  The risk of doing this is low IMHO - the worst thing that can happen 
  is a wrong default date for vacation or a "wrong" tempfile name for
  backup.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1076 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-14 21:27:07 +00:00
Christian Boltz
f6cb50e914 backup.php:
- add a warning that backup.php is poorly maintained and might contain bugs
- disable HTML escaping for the message - we feed it with HTML tags...


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1049 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-19 22:59:00 +00:00
Christian Boltz
d66262f00e Remove usage of $CONF['postfix_admin_url'] in various Location: headers
to avoid problems with wrong values of $CONF['postfix_admin_url'].

https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3039042&group_id=191583
contains the technical details and reasons.

Note: $CONF['postfix_admin_url'] is still used at some places that are
a bit harder to change.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1021 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-09 22:09:37 +00:00
Sebastian
b1287d97e2 - big merge of Postfixadmin smarty into trunk
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@757 a1433add-5e2c-0410-b055-b7f2511e0802
2009-11-05 14:55:39 +00:00
Christian Boltz
4168dd5d7b config.inc.php:
- add comment about courier_authlib SHA passwords

backup.php
- also backup quota and quota2 table


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@736 a1433add-5e2c-0410-b055-b7f2511e0802
2009-10-24 00:11:09 +00:00
David Goodwin
df41f03d96 backup.php: fix bug 2829452
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@697 a1433add-5e2c-0410-b055-b7f2511e0802
2009-07-30 07:35:14 +00:00
Christian Boltz
8f5f9a0df3 backup.php:
- replace table_by_pos with table_by_key - script was totally broken
  while table_by_pos was used (only admin table backed up)
- changed Content-Type: header to text/plain - file is still offered
  for download, but can be opened in a text editor easier


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@406 a1433add-5e2c-0410-b055-b7f2511e0802
2008-07-18 23:15:52 +00:00
Christian Boltz
159736eb2d backup.php, config.inc.php:
- added alias_domain table at various places
- also opened https://sourceforge.net/tracker/index.php?func=detail&aid=1969168&group_id=191583&atid=937967
  ("backup.php should use table list from config")


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@364 a1433add-5e2c-0410-b055-b7f2511e0802
2008-05-21 22:06:08 +00:00
Christian Boltz
68a8af7671 backup.php:
- also backup fetchmail table


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@362 a1433add-5e2c-0410-b055-b7f2511e0802
2008-05-21 11:22:09 +00:00
Christian Boltz
481012a2a9 backup.php
- also backup vacation_notification table
  Reported by Johan Hendriks (sylhouette) - thanks!
  https://sourceforge.net/tracker/index.php?func=detail&aid=1860193&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@282 a1433add-5e2c-0410-b055-b7f2511e0802
2007-12-30 19:14:35 +00:00
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
2007-12-02 13:59:33 +00:00
Christian Boltz
b4b7212853 backup.php:
- also backup config table


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@232 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-17 00:38:41 +00:00
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
2007-10-31 18:24:40 +00:00