ENDDOCUMENT
- $scrout.=' '.&simpletextfield('basicexp',$ENV{'form.basicexp'},40).
+ $scrout.=' '.&Apache::lonhtmlcommon::textbox('basicexp',
+ $ENV{'form.basicexp'},40).
' ';
- my $relatedcheckbox = &simplecheckbox('related','related',$ENV{'form.related'});
+ my $relatedcheckbox = &Apache::lonhtmlcommon::checkbox('related',
+ $ENV{'form.related'});
my $domain = $r->dir_config('lonDefDomain');
- my $domaincheckbox = &simplecheckbox('domains',$domain);
+ my $domaincheckbox = &Apache::lonhtmlcommon::checkbox('domains',
+ $ENV{'form.domains'});
my $srch=&mt('Search');
my $header=&mt('Advanced Search');
my $userelatedwords=&mt('use related words');
my $onlysearchdomain=&mt('only search domain');
+ my $view=&viewoptions();
$scrout.=<
$closebutton
END
- $scrout.=&selectbox('View','viewselect',
- $ENV{'form.viewselect'},
- undef,undef,undef,
- sort(keys(%Views)));
- $scrout.=&selectbox('Per Page','show',
- $ENV{'form.show'},
- undef,undef,undef,
- (10,20,50,100));
$scrout.=<
@@ -537,6 +534,8 @@ ENDDOCUMENT
'srch' => 'Search',
'header' => 'Course Search',
'note' => 'Enter terms or phrases, then press "Search" below',
+ 'use' => 'use related words',
+ 'full' =>'fulltext search (time consuming)'
);
$scrout.=(<
@@ -552,15 +551,18 @@ $lt{'note'}.
ENDCOURSESEARCH
$scrout.=' '.
- &simpletextfield('courseexp',$ENV{'form.courseexp'},40);
+ &Apache::lonhtmlcommon::textbox('courseexp',
+ $ENV{'form.courseexp'},40);
my $crscheckbox =
- &simplecheckbox('crsfulltext',$ENV{'form.crsfulltext'});
+ &Apache::lonhtmlcommon::checkbox('crsfulltext',
+ $ENV{'form.crsfulltext'});
my $relcheckbox =
- &simplecheckbox('crsrelated',$ENV{'form.crsrelated'});
+ &Apache::lonhtmlcommon::checkbox('crsrelated',
+ $ENV{'form.crsrelated'});
$scrout.=(< |
-$relcheckbox use related words | |
-$crscheckbox fulltext search (time consuming) | |
+$relcheckbox $lt{'use'} | |
+$crscheckbox $lt{'full'} | |
| |