Since the topical view of the Help has gone away, the TOC labels

are no longer required in the i18n files.  Remove the test and
subroutine from Operation/Help.pm.
This commit is contained in:
Colin Kuskie 2008-05-30 07:22:26 +00:00
parent 844c39e321
commit 9e1cc24271
3 changed files with 0 additions and 75 deletions

View file

@ -214,33 +214,6 @@ sub _getHelpFilesList {
#-------------------------------------------------------------------
=head2 _getHelpName ( $session, $file )
To support the table of contents, all WebGUI help files have a corresponding
entry in the i18n file for the name of the chapter. This utility routine
will fetch the correct i18n name for the chapter.
=cut
sub _getHelpName {
my $session = shift;
my $file = shift;
my $helpName;
if ($file =~ /^Asset_/) {
$helpName = 'assetName';
}
elsif ($file =~ /^Macro_/) {
$helpName = 'macroName';
}
else {
$helpName = 'topicName';
}
my $i18n = WebGUI::International->new($session);
return $i18n->get($helpName,$file);
}
#-------------------------------------------------------------------
=head2 _related ( $session, $related )
Utility routine for returning a list of topics related the the current help