- fix: only show vacation as active if it is really active (inactive
vacation message caused the "vacation is active" message too)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@303 a1433add-5e2c-0410-b055-b7f2511e0802
- 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
- NEW: japanese translation added
by Daisuke Aoyama <aoyama at peach dot ne dot jp> / daoyama @SF
language.php:
- added ja to list of available languages
- added comment about the content of the language list
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@300 a1433add-5e2c-0410-b055-b7f2511e0802
- fix: put the values the user entered in the form again if an error was
detected (instead of showing the form completely empty)
- fix: do not check for password length when password is not going to be
changed (empty password field).
Thanks to Danilo Montagna (dmontagna) for pointing this out!
https://sourceforge.net/forum/message.php?msg_id=4709926
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@291 a1433add-5e2c-0410-b055-b7f2511e0802
- check if setup.php exists before blindly redirecting to it.
Display error message if the user has already deleted it.
(old behaviour caused some user confusion)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@288 a1433add-5e2c-0410-b055-b7f2511e0802
functions.inc.php:
- function check_language
- new optional parameter $use_post (needed by login.php)
- check for language cookie
- check for $_POST['lang']
- removed substr() call because it made pt-br translation unuseable
- new function language_selector
- returns a HTML dropdown language selector
- new function safecookie
- similar to safeget, but for cookies
templates/login.php, templates/users_login.php:
- display language selector dropdown
login.php, users/login.php:
- check for selected language
- set cookie if user selected non-default language
languages/language.php: (NEW FILE)
- list of supported languages
- language names taken from phpMyAdmin login form
common.php:
- include languages/language.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@280 a1433add-5e2c-0410-b055-b7f2511e0802
- partly undo last change (r273) - $fBackupmx is not used in the SQL query,
but in the template file
- keep usage of db_get_boolean() for $sqlBackupmx
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@274 a1433add-5e2c-0410-b055-b7f2511e0802
- added check for multibyte string extension (mb_encode_mimeheader)
- added note that Apache version check failure can be ignored if another
webserver is used
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@268 a1433add-5e2c-0410-b055-b7f2511e0802
- added re-translation comments for pSendmail_result_error and
pSendmail_result_success
de.lang:
- re-translated the two strings listed above
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@265 a1433add-5e2c-0410-b055-b7f2511e0802
- new parameter --addcomment - adds a comment to all *.lang files except en.lang
Useful if a text has changed and needs to be re-translated.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@264 a1433add-5e2c-0410-b055-b7f2511e0802
- 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