Changeset 8555 for trunk/MagicSoft/Mars/datacenter/db/showplots.php
- Timestamp:
- 06/13/07 17:03:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/showplots.php
r8421 r8555 33 33 34 34 //be careful: this has to be adapted in case tabs are removed or new tabs are added 35 if (($type2=="calib" && $tabnum==12) || ($type2=="signal" && $tabnum==11) || ($type2=="star" && $tabnum==19)) 35 //number of tabs for calib*.root, signal*.root and star*.root 36 $calibtabs=11; 37 $signaltabs=12; 38 $startabs=18; 39 40 if (($type2=="calib" && $tabnum==($calibtabs+1)) 41 || ($type2=="signal" && $tabnum==($signaltabs+1)) 42 || ($type2=="star" && $tabnum==($startabs+1))) 36 43 { 37 44 $tabnum=1; … … 57 64 case "calib": 58 65 $type2="star"; 59 $tabnum= 18;66 $tabnum=$startabs; 60 67 break; 61 68 case "signal": 62 69 $type2="calib"; 63 $tabnum= 11;70 $tabnum=$calibtabs; 64 71 break; 65 72 case "star": 66 73 $type2="signal"; 67 $tabnum= 10;74 $tabnum=$signaltabs; 68 75 break; 69 76 }
Note:
See TracChangeset
for help on using the changeset viewer.