Commit Graph

1501 Commits (8bad929a4490f93587ceb00b5931405586b5cc04)
 

Author SHA1 Message Date
David Goodwin a7c57b7c8e debian: fix rules file (stylesheet moved)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@306 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 51c5bdbd92 bump changelog up
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@305 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a2c909b6e9 edit-mailbox.php- if the user clicks on cancel, forward them to somewhere else, and not save stuff - see https://sourceforge.net/tracker/index.php?func=detail&aid=1888847&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@304 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 209ba99d00 users/vacation.php:
- 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
17 years ago
Christian Boltz ac44dc861d edit-vacation.php:
- 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
17 years ago
Christian Boltz 9a083d999f language.php:
- added japanese translation of "japanese" - taken from phpMyAdmin ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@301 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d5f85a7a34 ja.lang:
- 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
17 years ago
David Goodwin 99ee9f0176 applied patch from lenix - theme support for postfixadmin; see http://sourceforge.net/tracker/index.php?func=detail&aid=1898481&group_id=191583&atid=937966 - thank you
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@299 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz af3d7fdabc users/main.php
- only show vacation as active if active=true
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1875901&group_id=191583

  [That's what I meant with "side effects" when discussing the 
  DELETE -> UPDATE ... set active=false change...]


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@298 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a633bd371c vacation: maintain away message after coming back for next time
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@297 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f35fabc3d0 debian/rules: add stylesheet to .deb as per email reported bug (thanks)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@296 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 83c5ef318f index.php: update url
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@294 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 41e6436e77 rules: when building .debs, change the $CONF["postfix_admin_path"] manually to /usr/share/postfixadmin; this stops us having issues with dirname(__FILE__) returning the realpath
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@293 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 33e0c0de50 ru.lang:
- translation update by Pavel Usischev (pusischev) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1869896&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@292 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f2c56c9203 edit-mailbox.php
- 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
17 years ago
Christian Boltz 8f637b2162 de.lang:
- small fix: Mailboxes -> Mailboxen


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@290 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 88c3246764 setup.php:
- added check for $CONF['configured']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@289 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f12ac3a8c8 common.php:
- 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
17 years ago
David Goodwin 07a823ef6a edit-mailbox.php: Closes #1865124 - too short error was not telling the user the minimum size
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@287 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 7279fb2ac5 upgrade.php: needless echo removed; tested on another PostgreSQL database - worked fine
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@286 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 269c70d330 edit-mailbox.php: random edits - I thought password length check was already in... </confusion>
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@285 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 66a253d4d3 list-virtual.php: Exit after header redirect
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@284 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e16334361c functions.inc.php
- fixed wrong comment about check_language parameter


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@283 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 481012a2a9 backup.php
- also backup vacation_notification table
  Reported by Johan Hendriks (sylhouette) - thanks!
  https://sourceforge.net/tracker/index.php?func=detail&aid=1860193&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@282 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 56968abc0c templates/menu.php:
- added JS to enable dropdowns in IE
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1859556&group_id=191583

stylesheet.css:
- dupliated the menu :hover styles as .sfhover for IE


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@281 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f217f0c1bb Summary: Added language selector to login form
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
17 years ago
David Goodwin 44dbfb5e26 new .deb release
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@279 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6c758eb4db upgrade.php: fix pgsql isms - i..e check that fields exist before trying to remove them, likewise for tables; minor syntax fixes in upgrade etc; tested and works for me
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@278 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 36657401c7 upgrade.php: should work for postgresql now
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@277 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 7a914cd66a templates/users_vacation.php:
- whitespace changes to match vim: comment (ts=4)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@276 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 40045401d3 users/password.php:
- fixed syntax error
  https://sourceforge.net/tracker/index.php?func=detail&aid=1852533&group_id=191583&atid=937964
- use correct string for "password too short" message 
  (see r270 commit message)

en.lang:
- added usage comment on PALANG['pPasswordTooShort']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@275 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d39d7b44aa create-domain.php:
- 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
17 years ago
Christian Boltz eb1ddd2a80 create-domain.php:
- make $fBackupmx pgsql-compatible (using db_get_boolean())
  Thanks to Micheas Herman (micheas)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1858922&group_id=191583
- also use db_get_boolean() for $sqlBackupmx - that's better than 
  checking for pgsql explicitely


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@273 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 70dea6ca05 edit-mailbox.php; indentation fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@272 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 3c2bf37f4a upgrade.php: implemented some of the postgresql functions; have not tested it yet though
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@271 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 595ee7d37a users/password.php: add password length checking (thought I had already committed this!) (cboltz: what is the right string to use in the error message?)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@270 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz bbfb953ebe da.lang:
- translation update by jespermeyer - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1851126&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@269 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d821e03b93 setup.php:
- 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
17 years ago
Christian Boltz 6cb2953c90 broadcast-message.php:
- fix typo: encode_base64 -> base64_encode
  https://sourceforge.net/forum/forum.php?thread_id=1891143&forum_id=676076


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@267 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8c6f6fc8ee templates/search.php:
- removed superfluous and buggy superadmin check. Fixes
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1844063&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@266 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 282e90691f *.lang:
- 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
17 years ago
Christian Boltz a2bd792e9e language-update.sh:
- 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
17 years ago
Christian Boltz af19e515ed - removed duplicate, unused string $PALANG['pPassword_too_short_error'] again.
Please use the existing string pPasswordTooShort


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@263 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin d688b00197 languages/en.lang: fix string for successful mail sending
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@262 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b97855ba0b en.lang: add error message if password is too short
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@261 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a463f4865a templates/footer.php: change target for version check (does not exist yet)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@260 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
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