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