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

20 Commits

Author SHA1 Message Date
Christian Boltz
4b7e59b662 edit-vacation:
- db_log vacation changes

Known bug: enabling vacation causes two log entries if the user used 
vacation before. Better than not logging vacation changes at all.

trunk already has a different fix - it uses VacationHandler which does
indirect logging via AliasHandler.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@987 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-06 21:30:55 +00:00
Christian Boltz
b9be63fc81 edit-vacation.php:
- fix another unqouted usage of boolean values


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@711 a1433add-5e2c-0410-b055-b7f2511e0802
2009-08-21 12:02:55 +00:00
David Goodwin
98d9d0e525 edit-vacation: fix second postgresql issue (removing vacation)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@708 a1433add-5e2c-0410-b055-b7f2511e0802
2009-08-20 07:09:41 +00:00
David Goodwin
06b170c70a edit-vacation.php: fix postgresql issue
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@707 a1433add-5e2c-0410-b055-b7f2511e0802
2009-08-20 07:08:44 +00:00
Christian Boltz
5a572e7265 edit-vacation.php:
- cleanup vacation_notification table when disabling vacation
  https://sourceforge.net/forum/message.php?msg_id=5131390


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@432 a1433add-5e2c-0410-b055-b7f2511e0802
2008-08-01 20:47:07 +00:00
Christian Boltz
ac44dc861d edit-vacation.php:
- fix: text changes when setting up vacation message were ignored if the
  user had used vacation before (UPDATE statement did only change active
  state, not subject and body)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@302 a1433add-5e2c-0410-b055-b7f2511e0802
2008-02-26 20:27:15 +00:00
David Goodwin
a633bd371c vacation: maintain away message after coming back for next time
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@297 a1433add-5e2c-0410-b055-b7f2511e0802
2008-01-19 16:48:15 +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
1df4b68ac8 several *.php files:
- no longer use $incpath - merging admin/ is done
  http://sourceforge.net/tracker/index.php?func=detail&aid=1838327&group_id=191583&atid=937964

Note that $incpath is still used by common.php - removing it would break users/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@243 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-26 23:30:16 +00:00
Christian Boltz
36ab16cf8e - Always display the $_POST data if available (tSubject and tBody were
not set, resulting in the default vacation texts displayed)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@212 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-12 00:14:16 +00:00
Christian Boltz
32a1e93c9f edit-vacation.php
- fix double-encoded special characters if language file contains
  entity-encoded strings by html_entity_decode'ing the string
  (will be encoded in template file later)

edit-vacation.tpl:
- encode tSubject with htmlentities() in template


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@200 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-05 21:23:37 +00:00
Christian Boltz
5bf5f470a3 edit-vacation.php:
- changed redirect targets to list-virtual.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@187 a1433add-5e2c-0410-b055-b7f2511e0802
2007-11-04 01:00:50 +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
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
2007-10-02 12:49:00 +00:00
David Goodwin
dc51d62e15 update license headers
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@107 a1433add-5e2c-0410-b055-b7f2511e0802
2007-09-30 15:53:54 +00:00
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
2007-09-22 10:59:41 +00:00
Christian Boltz
224cfa340b - merge identical parts of GET and POST code
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@37 a1433add-5e2c-0410-b055-b7f2511e0802
2007-08-20 00:08:50 +00:00
Christian Boltz
77997f7b33 - merged admin/edit-vacation.php into edit-vacation.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@36 a1433add-5e2c-0410-b055-b7f2511e0802
2007-08-20 00:00:02 +00:00
Greg
a5ce5620cf Made it possible for admins and superadmins to set a vacation message,
edit vacation messages, and remove them.

main.php added to admin directory so admin and / can share more
templates.

the new edit-vacation.php in admin and / are identical except
for template references

languages/en.lang and languages/default.lang are in sync now

I attempted to add some of the new .lang variables I created to
the spanish file (I don't know it that well, hope its OK)

fixed a bug in users/vacation.php

Added a "Main" menu item to the admin menu that gets you back to where
you started when you log in.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@2 a1433add-5e2c-0410-b055-b7f2511e0802
2007-06-19 22:38:05 +00:00
Mischa Peters
85dc57beee Initial Import in SourceForge
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1 a1433add-5e2c-0410-b055-b7f2511e0802
2007-03-24 07:27:00 +00:00