PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz 9bee8d89c1 Merge users/vacation.php and edit-vacation.php into vacation.php
vacation.php
- result of merging edit-vacation.php and users/vacation.php
- vacation.php comes with the svn history of edit-vacation.php
- display "vacation already active" (only) in user mode if vacation is active
  (would be useful in admin mode too, but needs a text change)
- various comment updates
- add username in $PALANG[pVacation_result_removed] and
  $PALANG[pVacation_result_added] using sprintf
- change compared to Jan Kruis' patch:
  - set return url for users to main.php instead of users/main.php
  - set return url for admins after setting $fDomain. Otherwise the return url
    does not contain the domain.
  - removed unused variable $tDomain

users/vacation.php:
- require(../vacation.php)
- remove everything else
- whitespace changes in the license header
- note: this is completely different from Jan Kruis' patch - his intention was
  to remove this file and use ../vacation.php. However, with his way all links
  in the users menu would point to the wrong place/directory

edit-vacation.php:
- deleted

templates/vacation.tpl
- display username only in admin mode

templates/list-virtual_mailbox.tpl
- link changed to merged vacation.php

languages/en.lang
- add username in $PALANG[pVacation_result_removed] and
  $PALANG[pVacation_result_added] as sprintf variable
- (comments added by Jan Kruis' patch are not part of this commit)

languages/nl.lang
- translation updates
- already contains the sprintf variable in $PALANG[pVacation_result_removed]
  and $PALANG[pVacation_result_added]

(updates for other *.lang files follow in another commit)

The following parts of Jan Kruis' patch are not part of this commit:
- rejected:
  - variables.inc.php: don't add $Admin_role and $Return_url
    If we initialize them, it should be done directly in (edit-)vacation.php,
    but the current code always sets them already in all cases.
  - templates/users_main.tpl: do not change url for vacation.php
- postponed:
  - added comments in en.lang about obsolete texts


Most parts of this commit (see exceptions above) were provided as patch 
by Jan Kruis (jan-kruis@SF), see
https://sourceforge.net/tracker/?func=detail&aid=3383236&group_id=191583&atid=937966



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1169 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
ADDITIONS ADDITIONS/delete-mailq-by-domain.pl, 13 years ago
DOCUMENTS SUPERADMIN.txt: 13 years ago
VIRTUAL_VACATION fix as per #3086890 13 years ago
admin Finally got rid of admin/ :-) 17 years ago
configs configs/menu.conf: 13 years ago
css added quota level percentage display 13 years ago
debian fix patch for config.inc.php when creating .deb 13 years ago
images added quota level percentage display 13 years ago
languages Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
model model/DomainHandler.php: 13 years ago
scripts scripts/shells/alias.php: 13 years ago
smarty smarty.inc.php: 14 years ago
templates Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
tests this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test 13 years ago
users Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
CHANGELOG.TXT Paperwork ;-) 13 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 18 years ago
INSTALL.TXT various documentation updates: 14 years ago
LICENSE.TXT LICENSE.TXT: 13 years ago
backup.php backup.php: 13 years ago
broadcast-message.php sendmail.php, broadcast-message.php: 13 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 15 years ago
common.php see changeset:952 ... move php code out of template into here 14 years ago
config.inc.php Replaced motd*.txt with $CONF[motd_*] options 13 years ago
create-admin.php Merge admin_edit-admin.tpl and admin_create-admin.tpl 13 years ago
create-alias-domain.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
create-alias.php create-alias.php: 13 years ago
create-domain.php Merge admin_edit-domain.tpl and admin_create-domain.tpl 13 years ago
create-mailbox.php create-mailbox: 13 years ago
delete.php delete.php: 13 years ago
edit-active-admin.php edit-active-admin.php, edit-active-domain.php, edit-active.php 13 years ago
edit-active-domain.php edit-active-admin.php, edit-active-domain.php, edit-active.php 13 years ago
edit-active.php edit-active-admin.php, edit-active-domain.php, edit-active.php 13 years ago
edit-admin.php Merge admin_edit-admin.tpl and admin_create-admin.tpl 13 years ago
edit-alias.php Merge edit-alias.tpl and create-alias.tpl 13 years ago
edit-domain.php Merge admin_edit-domain.tpl and admin_create-domain.tpl 13 years ago
edit-mailbox.php functions.inc.php: 13 years ago
fetchmail.php fetchmail.php: 13 years ago
functions.inc.php functions.inc.php: 13 years ago
index.php login.php, index.php: 15 years ago
list-admin.php list-admin.php 13 years ago
list-domain.php list-domain.php: 13 years ago
list-virtual.php added quota level percentage display 13 years ago
login.php Merge template for admin login and user login 13 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 16 years ago
main.php - big merge of Postfixadmin smarty into trunk 15 years ago
password.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
sendmail.php sendmail.php, broadcast-message.php: 13 years ago
setup.php setup.php: 13 years ago
smarty.inc.php Replaced motd*.txt with $CONF[motd_*] options 13 years ago
upgrade.php upgrade.php: 13 years ago
vacation.php Merge users/vacation.php and edit-vacation.php into vacation.php 13 years ago
variables.inc.php variables.inc.php: 13 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
xmlrpc.php Renamed UserHandler to MailboxHandler to make clear it's about mailboxes 13 years ago