Gossamer Forum
Home : Products : Links 2.0 : Discussions :

&build_select_field at non-english mod

Quote Reply
&build_select_field at non-english mod
Dear Sir :
and hello everyone
i am a chinese character user..
after i use non-english mod..i found a problem at categories name select-field of add.html and modify.html
is still apear english character...i think the fault is near site_templates_html.pl
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 ******************
##########################################################
how to modify to got
I WANT TO GOT THIS" from "NOW" created by "&build_select_field"
as follow:
============= NOW ============
<SELECT NAME="Category">
<OPTION>---<OPTION>
AAAA
<OPTION>AAAA/BBBB
</SELECT>
=========== I WANT TO GOT THIS===========
SELECT NAME="Category">
<OPTION>---<OPTION SELECTE VALUE=AAAA>NON-ENGLISH CHARACTER
<OPTION SELECTE VALUE=AAAA/BBBB>NON-ENGLISH CHARACTER
</SELECT>
======================================
i hope my english can be understand??
thank you vry much
soony


Subject Author Views Date
Thread &build_select_field at non-english mod soony 1343 Jul 7, 2000, 8:40 PM
Post Re: &build_select_field at non-english mod
Cebidae 1298 Jul 10, 2000, 5:14 AM