Commit Graph

232 Commits (332d2d607baf52438296a09ccc3ee23b9a10711a)
 

Author SHA1 Message Date
Christian Boltz 332d2d607b broadcast-message.php:
- exit if $CONF['sendmail'] != 'YES'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@236 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 024fc15d29 menu.tpl:
- make broadcast a submenu of send "Send Email"
  Thanks to Jan Örnstedt (ornstedt @sf) for the suggestion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@235 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3b27e0309e config.inc.php:
- listed "md5" for $CONF['encrypt']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@234 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 850a449bde sv.lang:
- translation update by Jan Örnstedt (ornstedt) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1834023&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@233 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
Christian Boltz 3bbc918ca4 upgrade.php:
- change "edit_alias_state" to "edit_alias_active" in log table (was changed in r90)
  https://sourceforge.net/tracker/index.php?func=detail&aid=1830376&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@231 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fff08905e5 *.lang
- rename $PALANG['pViewlog_action_edit_alias_active']
  to      $PALANG['pViewlog_action_edit_alias_state']
  https://sourceforge.net/tracker/index.php?func=detail&aid=1830376&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@230 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz a3aef5dd40 - added --rename to rename a $PALANG string
- put most code into functions
- lots of whitespace changes and code reordering - this makes the diff 
  nearly useless, sorry


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@229 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin bd3aa027d5 nl.lang: updated by Johan Hendriks (sylhouette) - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@227 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 5559c4f26c file extensions should be lower case ;)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@226 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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