- Timestamp:
- 04/16/12 12:43:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/db/run_comment.php
r13315 r13341 162 162 163 163 if (strcmp($_GET["fTable"], "RunComments")==0 && 164 (!(preg_match("/[0-9][0-9] [0-9]/",$_GET["fRunID"])164 (!(preg_match("/[0-9][0-9]?[0-9]?/",$_GET["fRunID"]) 165 165 || (preg_match("/all/",$_GET["fRunID"]) && strcmp($_GET["fMode"], "view")==0)))) 166 166 { … … 170 170 171 171 if (strcmp($_GET["fTable"], "SequenceComments")==0 && 172 (!(preg_match("/[0-9][0-9] [0-9]/",$_GET["fSequenceID"])172 (!(preg_match("/[0-9][0-9]?[0-9]?/",$_GET["fSequenceID"]) 173 173 || (preg_match("/all/",$_GET["fSequenceID"]) && strcmp($_GET["fMode"], "view")==0)))) 174 174 { … … 250 250 { 251 251 if (strcmp($_GET["fTable"], "RunComments")==0) 252 printf("%s_% s: %s\n", $_GET["fNight"], $_GET["fRunID"], $row1[1]);252 printf("%s_%03d: %s\n", $_GET["fNight"], $_GET["fRunID"], $row1[1]); 253 253 if (strcmp($_GET["fTable"], "SequenceComments")==0) 254 printf("%s_% s: %s\n", $_GET["fNight"], $_GET["fSequenceID"], $row1[1]);254 printf("%s_%03d: %s\n", $_GET["fNight"], $_GET["fSequenceID"], $row1[1]); 255 255 } 256 256 }
Note:
See TracChangeset
for help on using the changeset viewer.