Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Idea for Non-english Modifications

Quote Reply
Idea for Non-english Modifications
Hi,
With "Links 2 Non-english Modifications", displaying categories is really good. But categories select box when I add link, still it's english.

Could you help me to make it work??

Im find this code:

--------------------
in db_utils.pl

I added:
foreach $field (@fields) {
$kategory{$field} = &kategorie_title_mb($field);
}


And changed:
it was...
$values{$field} ?
($output .= "<OPTION SELECTED>$field\n") :
($output .= "<OPTION>$field");

now...
$values{$field} ?
($output .= "<OPTION SELECTED VALUE=\"$field\">$kategory{$field}\n") :
($output .= "<OPTION VALUE=\"$field\">$kategory{$field}");
-----------------

BUT check links:

CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::kategorie_title_mb called at /cgi-bin/links/admin/db_utils.pl line 190.

Script Location : z:/cgi-bin/links/admin/admin.cgi
Perl Version : 5.006001

Form Variables
-------------------------------------------
db : links
validate_form : 1


Help me, please

Subject Author Views Date
Post Idea for Non-english Modifications fkabir4 802 Jul 1, 2001, 4:43 PM