Commit Graph

522 Commits (0c97fb861ac9222bde589841f50437215bd3eadd)
 

Author SHA1 Message Date
David Goodwin dbc9debb66 HORDE.TXT: Adding
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@225 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 9af76e13e4 create-domain.php: fix for bug 1831720
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@224 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f1321de6b4 create-domain.php: fix for bug 1831720
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@223 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0ee06175d4 *.lang:
- checked for untranslated strings and added XXX markers
- added maintainer as a comment (taken from svn log and SF)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@222 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz cf77d1c91e ru.lang:
- language update by Pavel Usischev (pusischev) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1831782&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@221 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 18cebb5622 fetchmail.php:
- made edit form labels and descriptions translatable. This means that
  $fm_struct no longer holds the labels and descriptions
- fixed HTML error (missing > for </span>
- added some comments to document the main "if" block

fetchmail.tpl:
- changed button order and placement to make <enter> saving the entry
- made save and cancel buttons translatable
  Thanks to Johan for the reminder
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1830326&group_id=191583
- made edit form labels and descriptions translatable. This also means
  reworking of some list(...) = $fm_struct[$row] sections

*.lang:
- added translations for "Save" and "Cancel" buttons
- added translations for edit form labels and descriptions

de.lang:
- translated fetchmail-related texts


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@220 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c7cd4a8de4 nl.lang
- updated by an anonymous SF user. Whoever you are - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1830377&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@216 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz de82d65615 menu.tpl.orig:
- removed superfluous, unused menu.tpl.orig file


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@215 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5f7dcc18d5 functions.inc.php
- allow longer TLDs (.museum, .travel)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@214 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 29b143bee9 users/password.php
- merged GET and POST code
- make cancel button working
- redirect to main page on success
- displaying success note with flash_info()

templates/users_password.tpl:
- rename cancel button to fCancel to make it work

users/vacation.php
- redirect to main page on success
- displaying success note with flash_info()
- merge GET and POST code


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@213 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
Christian Boltz 2e94d4b7ff enabled expansion of $Id$ and $Rev$ on all non-binary files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@211 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 830a253bcd - removed outdated TODO note
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@210 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5cf48d6cb5 (basically the same as in r200, this time for users/vacation.php)
users/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)

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


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@209 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3aa9032cd9 list-virtual.tpl
- made '[and x more...]' translatable

*.lang:
- added 'and_x_more'
- added $Id$ keyword
- enabled expansion of $Id$ and $Rev$


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@208 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin d4a840700c vacation.pl: updating spam check bit
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@207 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz b594661356 - do not clear password on editing admins when no new password is entered
Thanks for Benny Pedersen (xpunkt) to find out that this bug reappeared.
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1829564&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@206 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 87ed834c9c updated translations:
- ru.lang updated by Pavel Usischev (pusischev)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1828828&group_id=191583
- da.lang updated by Jesper R. Meyer (jespermeyer)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1828916&group_id=191583

Thanks!


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@205 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 8f6a9bbecb update debian stuff so i can sign the package
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@204 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 3293ea8082 vacation.pl: do not send a vacation response if the mail has been previously classes as spam - assumes /^x-spam-flag:\s+yes$/i matches in the message
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@203 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz b54e71f235 - rename placeholder {UTF_8} to the more obvious {UTF-8}
This also fixes my last commit ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@202 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f35d0bee7e - completed upgrade_81_mysql() (several changes in vacation table)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@201 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
Christian Boltz a00d456084 functions.inc.php
- encode_header(): made charset parameter optional, defaults to utf-8
- db_delete(): escape_string() $where and $delete

create-mailbox.php:
- always encode mail header and insert Content-Type etc. headers
  (previous code never did this, $PALANG['charset'] is not set in any
  language. so this code part was never used)

sendmail.php:
- always encode mail header and insert Content-Type etc. headers
  (had the same bug as create-mailbox.php)
- merge GET and POST

These changes fix
http://sourceforge.net/tracker/index.php?func=detail&aid=1811214&group_id=191583&atid=937964



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@199 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c47222ac14 - clear float (no, motd right of the menu doesn't look good ;-)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@198 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 85eda998b6 - also read config.local.php when in /users/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@197 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f25876592c - remove DROP TABLE statements - they can do more harm than good
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@196 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f541634e39 - renamed -$PALANG['pViewlog_action_edit_alias_state'] to
$PALANG['pViewlog_action_edit_alias_active'] - fixes undefined
  messages in viewlog.php
- added some new strings to the language files
- pFetchmail_* strings were at the wrong location in several languages
- enforce at least one line of matching context in language-check.sh
  This might cause rejects (especially if there are empty lines next to
  the change), but avoids that strings are inserted at the wrong position



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@195 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 63fd034532 - removed forgotten debugging code
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@194 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin e2b0f09692 search.php: remove dead code, fix for pgsql
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@193 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a0833809df list-virtual.tpl: only display vacation stuff if vacation support is enabled
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@192 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
David Goodwin ade09f577c debian: adding - initial support for creating .debs; run dpkg-buildpakcage -rfakeroot within the trunk dir
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@188 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
Christian Boltz 61713c260b OOps. Removed forgotten debugging code again.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@186 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 06537afdbd - fix: password was always changed when editing a mailbox.
Thanks to Ryan Wagoner for pointing this out.
- first usage of db_update function ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@185 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5acd24515f functions.php:
- new function db_update ($table, $where, $values, $timestamp = array())
  to update a database entry with the values given as array
- added optional $timestamp parameter to db_insert()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@184 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz ae74e7a70c - list all domains for superadmins (instead of none)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@183 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 096a5ffbe6 - upgrade_90(): replace spaces with underscore in log.action
(change was caused by translatable logging)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@182 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
David Goodwin ef7b6f0925 setup.php: try and make sure the "ALL" domain exists to start with when creating the super admin user; fix html so li elements are closed
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@180 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f909eb53a2 functions.inc.php: change doc block formatting
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@179 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 7e76c24df3 SUPERADMIN.TXT: updating docs
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@178 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a6e0e9e9cc SUPERADMIN.TXT: updating docs
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@177 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 1b0ab9c874 DATABASE_PGSQL.TXT: schema typo fix; thanks to http://sourceforge.net/forum/forum.php?thread_id=1843123&forum_id=676076 and jpalmer on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@176 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 29e2d63422 - fixed some SQL syntax errors
- debug output now includes the query


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@175 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 16178cab58 - next try to expand $Revision$ in upgrade.php :-/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@174 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 7b14ea1b73 fetchmail.php:
- cancel button did not work on $new


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