[Bio] / FigWebServices / subsys.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/subsys.cgi

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

revision 1.169, Sat Jul 22 15:43:27 2006 UTC revision 1.170, Sat Jul 22 16:53:59 2006 UTC
# Line 700  Line 700 
700                    push(@RedRoles,$abbr);                    push(@RedRoles,$abbr);
701                }                }
702                elsif($value eq "nonessential"){                elsif($value eq "nonessential"){
703                      $abbr = "'".$abbr."'";
704                    push(@BlueRoles,$abbr);                    push(@BlueRoles,$abbr);
705                }                }
706                elsif($value eq "undetermined"){                elsif($value eq "undetermined"){
# Line 715  Line 716 
716    system `cp $FIG_Config::data/Subsystems/$ss_name/diagrams/$diagram_id/diagram.jpg $FIG_Config::temp/painted_diagram.jpg`;    system `cp $FIG_Config::data/Subsystems/$ss_name/diagrams/$diagram_id/diagram.jpg $FIG_Config::temp/painted_diagram.jpg`;
717    print OUT2 qq(</MAP><img border="0" src="$FIG_Config::temp_url/painted_diagram.jpg" usemap="#painted_diagram"></div>);    print OUT2 qq(</MAP><img border="0" src="$FIG_Config::temp_url/painted_diagram.jpg" usemap="#painted_diagram"></div>);
718    
719      my $BlueRolesString = join(",",@BlueRoles);
720    print OUT2 qq(<script language="JavaScript">    print OUT2 qq(<script language="JavaScript">
721         function onBodyLoad()         function onBodyLoad()
722         {         {
723            colorEngine = new ActiveDiagram("map_div");            colorEngine = new ActiveDiagram("map_div");
724            colorEngine.load();            colorEngine.load();
725            colorEngine.colorRedRoles("@RedRoles");            colorEngine.colorRedRoles("@RedRoles");
726            colorEngine.colorBlueRoles("@BlueRoles");            colorEngine.colorBlueRoles($BlueRolesString);
727            colorEngine.colorGrayRoles("@GrayRoles");            colorEngine.colorGrayRoles("@GrayRoles");
728            colorEngine.colorGreenRoles("@GreenRoles");            colorEngine.colorGreenRoles("@GreenRoles");
729         }         }

Legend:
Removed from v.1.169  
changed lines
  Added in v.1.170

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3