Guten Tag web-cyradm web-cyradm,

I'm preparing some fixes for web-cyradm.

1. alias.php and adminuser.php created a wrong link for next, when count is a 
multiple of the shown
rows. e.g. if you have 10 aliases (default shown is 10) you see all entries but 
get a clickable link
to an empty page (for results starting at/after 10). Same is probably found in 
adminuser.php, have
not checked, as i don't have that many admin users *g* See attached patches.

2. in settings.php I noticed only maxdisplay is (supposed to be see below) 
stored in the Database,
account_maxdisplay NOT. Nevertheless even maxdisplay is NOT stored, i have set 
the set maxdisplay to
25 and the database entry still holds the default of 15.. (but i get 25 domains 
displayed.. strange,
probably stored in session?

So before i go deeper in that: I assume there are some missing database fields 
for
account_maxdisplay, and probably alias_maxdisplay (which i would like to add). 
Is that correct?

3. Edit Email Addresses (in browseaccounts.php Line 147) is not translated, it 
is not even in any .mo file in tha
lang directory (or in the Template). So it is probably an older Version.
which is the correct way to get a new template and keep the old translations?
(i just want to add the new points).
so i get the new template probably with
xgettext -C *.php -o webcyradm.po --keyword=_

how can i add the missing parts?

I assume
msgfmt webcyradm.po --output-file=web-cyradm.mo
should output a new version..


Another Language Question:
How does Web-cyradm determine which locale to chosse? When i select spanish i 
still only get the
english translation. I even configured my browser to prefer [es] pages and the 
<Option> at the login
display spanish as default, but the text is english.


Jan

-- 
Nichts bewahrt uns so gründlich vor Illusion, wie ein Blick in den Spiegel

Mit freundlichen Grüßen
Jan Scholten
mailto:[EMAIL PROTECTED]

Attachment: patch_alias
Description: Binary data

Attachment: patch_adminuser
Description: Binary data

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to