Gossamer Forum
Home : Products : Links 2.0 : Customization :

ADD.cgi/modify.cgi in noneglish

Quote Reply
ADD.cgi/modify.cgi in noneglish
There is something wrong with nonenglish mod.

In site_html_templates.pl I have this:

sub site_html_add_form {
# --------------------------------------------------------
# This routine determines how the add form page will look like.
#
&html_print_headers;

my $category = shift;
# ***************************************** nonenglish modification - begin ****************
# $category ?
# ($category = qq~$category <input type=hidden name="Category" value="$category">~) :
# ($category = &build_select_field ("Category", "$in{'Category'}"));
my ($kategorie) = &kategorie_title_mb ($category);
$category ?
($category = qq~$kategorie <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));
# ***************************************** nonenglish modification - end ******************

print &load_template ('add.html', {
Category => $category,
%globals
});
}



$category must be replaced with nonenglish field.Unimpressed

Can you help me!Unsure


Quote Reply
ADD.cgi/modify.cgi in noneglish In reply to
Can someone help me here!

In Reply To:
There is something wrong with nonenglish mod.

In site_html_templates.pl I have this:

sub site_html_add_form {
# --------------------------------------------------------
# This routine determines how the add form page will look like.
#
&html_print_headers;

my $category = shift;
# ***************************************** nonenglish modification - begin ****************
# $category ?
# ($category = qq~$category <input type=hidden name="Category" value="$category">~) :
# ($category = &build_select_field ("Category", "$in{'Category'}"));
my ($kategorie) = &kategorie_title_mb ($category);
$category ?
($category = qq~$kategorie <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));
# ***************************************** nonenglish modification - end ******************

print &load_template ('add.html', {
Category => $category,
%globals
});
}



$category must be replaced with nonenglish field.Unimpressed

Can you help me!Unsure
Quote Reply
Re: [delsio] ADD.cgi/modify.cgi in noneglish In reply to
You've not said what the problem is as far as I can see.