Support unrar64.dll
[xy_vsfilter.git] / include / atl / res / stencilmgr.srf
blobf0ca82fa343ee4433a4c40697f5e36c3b92c031f
1 <!--\r
2    This is a part of the Active Template Library.\r
3    Copyright (C) Microsoft Corporation\r
4    All rights reserved.\r
5   \r
6    This source code is only intended as a supplement to the\r
7    Active Template Library Reference and related\r
8    electronic documentation provided with the library.\r
9    See these sources for detailed information regarding the\r
10    Active Template Library product.\r
11 -->\r
12 <html>\r
13         <body bgcolor="{{GetBodyColor}}">\r
14                 <H1 align="left">\r
15                         ATL Server Stencil Cache Management\r
16                 </H1>\r
17                 <table border="1" width="50%">\r
18                         <tr bgcolor="{{GetTRColor}}">\r
19                                 <th align="center">\r
20                                         Value</th><th align="center">Quantity</th></tr>\r
21                         {{while GetNextStencilCacheStats}}\r
22                         <tr bgcolor="{{GetTRColor}}">\r
23                                 <td>{{GetCacheValue}}</td>\r
24                                 <td>{{GetCacheQuantity}}</td>\r
25                         </tr>\r
26                         {{endwhile}}\r
27                 </table>\r
28                 <form method="post">\r
29                         <input type="hidden" name="Handler" value="StencilMgrSrf"> <input type="hidden" name="Method" value="ExecuteCommand">\r
30                         <select name="command" onchange="HandleFormOnChange(this);">\r
31                                 <option value="0">Clear All Statistics</option>\r
32                                 <option value="1">Remove Stencil</option>\r
33                                 <option value="2">Remove All Stencils</option>\r
34                                 <option value="3">Set default Lifespan</option>\r
35                         </select>\r
36                         <br>\r
37                         <span id="DynValueCap"></span><input type="text" name="DynValue" style="visibility=hidden">\r
38                         <br>\r
39                         <input type="submit" value="Execute Command">\r
40                 </form>\r
41                 <script language="JavaScript">\r
42 function HandleFormOnChange(select_object)\r
43 {\r
45         //alert(select_object.form.elements["StencilName"].type);\r
47         if (select_object.value==1)\r
48         {\r
49                 select_object.form.elements["DynValue"].style.visibility="visible";\r
50                 window.document.all["DynValueCap"].innerHTML = "Stencil Name:&nbsp;";\r
52         }\r
53         else if (select_object.value==3)\r
54         {\r
55                 select_object.form.elements["DynValue"].style.visibility="visible";\r
56                 window.document.all["DynValueCap"].innerHTML = "New Lifetime:&nbsp;";\r
57         }\r
58         else\r
59         {\r
60                 select_object.form.elements["DynValue"].style.visibility="hidden";\r
61                 window.document.all["DynValueCap"].innerHTML="";\r
62         }\r
63 }\r
67                 </script>\r
68         </body>\r
69 </html>\r