Merge pull request #1127 for bug fix in unique seen patient reports
[openemr.git] / templates / document_categories / general_list.html
blob0df47ac6adb49bad24c534e07b0f06833c31fb25
1 {literal}
2 <style type="text/css" title="mystyles" media="all">
3 <!--
4 .treeMenuDefault {
5 font-style: italic;
8 .treeMenuBold {
9 font-style: italic;
10 font-weight: bold;
13 -->
14 </style>
15 {/literal}
16 <script type="text/javascript">
17 var deleteLabel="{xl t="Delete"|escape:'html'}";
18 var editLabel="{xl t="Edit"|escape:'html'}";
19 </script>
20 <script type="text/javascript" src="{$GLOBALS.webroot}/library/js/CategoryTreeMenu.js?v={$V_JS_INCLUDES}"></script>
21 <table>
22 <tr>
23 <td height="20" valign="top">{xl t="Document Categories"|escape:'html'}</td>
24 </tr>
25 <tr>
26 <td valign="top">{$tree_html}</td>
27 {if $message}
28 <td valign="top">{$message}</td>
29 {/if}
30 {if $add_node eq true or $edit_node eq true}
31 <td width="25"></td>
32 <td valign="top">
33 {if $add_node eq true}
34 {xl t="This new category will be a sub-category of "|escape:'html'} {$parent_name|escape:'html'}<br>
35 {/if}
36 <form method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
38 <table>
39 <tr>
40 <td>{xl t="Category Name"|escape:'html'}&nbsp;</td>
41 <td><input type="text" name="name" value="{$NAME|escape:'html'}" onKeyDown="PreventIt(event)" /></td>
42 </tr>
43 <tr>
44 <td>{xl t="Value"|escape:'html'}&nbsp;</td>
45 <td><input type="text" name="value" value="{$VALUE|escape:'html'}" onKeyDown="PreventIt(event)" ></td>
46 </tr>
47 <tr>
48 <td>{xl t="Access Control"|escape:'html'}&nbsp;</td>
49 <td><select name="aco_spec">{$ACO_OPTIONS}</select></td>
50 </tr>
51 </table>
52 &nbsp;<br />
54 <button type="submit" name="Add Category" class="btn btn-default btn-save">{xl t='Save Category'|escape:'html'}</button>
55 <input type="hidden" name="parent_is" value="{$parent_is|escape:'html'}">
56 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
57 </form>
58 </td>
59 {/if}
60 </tr>
62 </table>