2 <style type=
"text/css" title=
"mystyles" media=
"all">
16 <script type=
"text/javascript">
17 var deleteLabel
="{xl t="Delete
"|escape:'html'}";
18 var editLabel
="{xl t="Edit
"|escape:'html'}";
20 <script type=
"text/javascript" src=
"{$GLOBALS.webroot}/library/js/CategoryTreeMenu.js?v={$V_JS_INCLUDES}"></script>
23 <td height=
"20" valign=
"top">{xl
t=
"Document Categories"|escape:'html'}
</td>
26 <td valign=
"top">{$tree_html}
</td>
28 <td valign=
"top">{$message}
</td>
30 {if $add_node eq true or $edit_node eq true}
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>
36 <form method=
"post" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
40 <td>{xl
t=
"Category Name"|escape:'html'}
</td>
41 <td><input type=
"text" name=
"name" value=
"{$NAME|escape:'html'}" onKeyDown=
"PreventIt(event)" /></td>
44 <td>{xl
t=
"Value"|escape:'html'}
</td>
45 <td><input type=
"text" name=
"value" value=
"{$VALUE|escape:'html'}" onKeyDown=
"PreventIt(event)" ></td>
48 <td>{xl
t=
"Access Control"|escape:'html'}
</td>
49 <td><select name=
"aco_spec">{$ACO_OPTIONS}
</select></td>
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'}" />