[system] / trunk / pg / macros / displayMacros.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/displayMacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1351 Revision 1764
24 24
25sub displaySelectModeLine_string 25sub displaySelectModeLine_string
26 # called from probSet.pl 26 # called from probSet.pl
27 # displays the option line for selecting display modes 27 # displays the option line for selecting display modes
28{ 28{
29 # If the system is set up with only one display mode, there is
30 # no need to display a choice - use the default
31 if(scalar(@{$Global::available_mode_list})<2) {
32 return('<input type="hidden" name="Mode" value="'.
33 $Global::htmldisplayModeDefault .'">');
34 }
29 my ($displayMode) =@_ ; 35 my ($displayMode) =@_ ;
30 my $out = "Display Mode: <BR>"; 36 my $out = "Display Mode: <BR>";
31 37
32# A list of the available modes. 38# A list of the available modes.
33 my $mode_list = $Global::available_mode_list; ## ref to a list of available modes 39 my $mode_list = $Global::available_mode_list; ## ref to a list of available modes

Legend:
Removed from v.1351  
changed lines
  Added in v.1764

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9