Commit Graph

255 Commits (c1ca6f716acee62e089bc3e36f48b84ecc9a0c9f)
 

Author SHA1 Message Date
David Goodwin c1ca6f716a search.php: reindent; and merge patch from amsys - see http://sourceforge.net/tracker/index.php?func=detail&aid=1845743&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@259 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 9ef961a770 setup.php:
- added missing define('POSTFIXADMIN', 1);
  https://sourceforge.net/forum/message.php?msg_id=4660403


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@258 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e78a64d6ff language-update.sh
- added translation statistics script (new parameter --stats)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@257 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 02195254d7 common.php
- define('POSTFIXADMIN', 1)

templates/*.php
- check if POSTFIXADMIN is defined to prevent direct access to the
  template files


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@256 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 9a33ceb628 templates/users_vacation.php: everyone knows a "tab" is 4 spaces..
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@255 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6febf0396c fix possible XSS hole (security fix)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@254 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 63817ea955 fix possible XSS hole (security fix)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@253 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6fa88019ab try and stop it (the browser) remembering stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@252 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 8295f88637 config.inc.php: update - use dirname(__FILE__) for path resolution
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@251 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
Christian Boltz 9b295d27ce stylesheet.css:
- fixed some syntax errors
  Thanks to Jan Örnstedt (ornstedt) for the patch
  https://sourceforge.net/tracker/index.php?func=detail&aid=1839084&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@249 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 34f1b2efe5 edit-alias.php:
- correctly recognize empty input (first cleanup whitespace, then check).
  Before this fix, aliases with empty goto could be created by entering
  some spaces or newlines.
  https://sourceforge.net/tracker/index.php?func=detail&aid=1839061&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@248 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 664aa2b860 users/edit-alias.php:
- trim() goto targets to avoid wrong messages about empty goto field
  if first line is empty
  https://sourceforge.net/tracker/index.php?func=detail&aid=1839061&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@247 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8f0b75feda users_edit-alias.tpl:
- fix: mailbox not removed from alias targets
  https://sourceforge.net/tracker/index.php?func=detail&aid=1839063&group_id=191583&atid=937964
- don't list mailbox in "to" field. We have option fields for this
  below the textarea.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@246 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e74a109dc7 sv.lang:
- more translations by Jan Örnstedt (ornstedt)
  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@245 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0c69533dd7 da.lang:
- language upate by Jesper R. Meyer (jespermeyer) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1839068&group_id=191583

sv.lang:
- fixed an &Ouml that was accidently inserted by my editor


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@244 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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
17 years ago
David Goodwin 6797912ca9 common.php: ensure register_globals are not enabled
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@242 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3412aebb85 it.lang:
- italian language update by Luca Accomazzi (luca AT accomazzi DOT it)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@241 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f03d43f52f list-virtual.php: fix ticket 1837766
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@240 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz ea83fd8b9a fr.lang
- updated by Francois Grange (rumbaya @sf) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1835209&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@239 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz da62b757e1 UPGRADE.txt:
- removed references to TABLE_CHANGES.txt and TABLE_BACKUP_MX.txt
- added reference to setup.php (superadmin creation) and upgrade.php
- made the "change permissions" section easier
- swapped "configure" and "database update" sections
- added "delete setup.php"
- several small changes

TABLE_CHANGES.txt, TABLE_BACKUP_MX.txt:
- obsoleted by upgrade.php - DELETED


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@238 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e5bfb81e86 *.lang:
- now that broadcast is in a submenu, there's no need to use "BC" 
  instead of "broadcast".
  Changed in en.lang and all languages where it isn't translated yet.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@237 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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