Changeset 11599 for trunk/www/db_po/get_progs.php
- Timestamp:
- 07/26/11 10:51:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/get_progs.php
r11501 r11599 33 33 if (strcmp($_GET["fMode"], "edit")==0) 34 34 printf("select program: <br>\n"); 35 // else 36 // printf("select program: \n"); 37 38 if (strcmp($_GET["fMode"], "view")==0)//reload tables in case of mode 'view' 39 printf("<select style='width: 120px' id='prog' size='%s' onchange='get_keys(this.value,\"\",\"%s\",\"%s\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' class='Width'>\n", 40 $_GET["fSelectSize"], $_GET["fSelectSize"], $_GET["fMode"]); 35 41 else 36 printf(" select program: \n");37 printf("<select style='width: 120px' id='prog' size='%s' onchange=\"get_keys(this.value,'','%s','%s')\" class='Width'>\n",38 $_GET["fSelectSize"], $_GET["fSelectSize"], $_GET["fMode"]); 42 printf("<select style='width: 120px' id='prog' size='%s' onchange=\"get_keys(this.value,'','%s','%s')\" class='Width'>\n", 43 $_GET["fSelectSize"], $_GET["fSelectSize"], $_GET["fMode"]); 44 39 45 if (!empty($_GET["fProgram"]) && strcmp("all", $_GET["fProgram"])==0) 40 46 printf("<option value='all' selected> --- all programs --- </option>\n"); … … 46 52 else 47 53 printf("<option value='%s'>%s </option>\n", $row0[0], $row0[0]); 48 printf("</select>\n <br>\n");54 printf("</select>\n"); 49 55 if (strcmp($_GET["fMode"], "edit")==0) 50 printf("<b utton onClick='addRow(1,\"\",\"\",\"\",\"\",\"\");' id='addrowprog' style='display:inline'>Add Prg/Key</button>\n");56 printf("<br>\n<button onClick='addRow(1,\"\",\"\",\"\",\"\",\"\",\"\",\"\");' id='addrowprog' style='display:inline'>Add Prg/Key</button>\n"); 51 57 mysql_free_result($result0); 52 58
Note:
See TracChangeset
for help on using the changeset viewer.