Location: PHPKode > projects > Article Manager > pm30/cgi/templates/admin/ta_cat_listing_main.htm
<script>
<!--
function submit_listing(action)
{
	document.getElementById("dothis").value= action;
	if(action == 'cat_rebuild')
		document.forms['listing'].target = '_blank';
	else
		document.forms['listing'].target = '';
	document.forms['listing'].submit();
}

//-->
</script>


<form action=setup.cgi method=get name=listing>
<input type=hidden name=action value="categories">
<input type=hidden name=do value="" id="dothis">
<select name=category size=15 onDblClick="submit_listing('cat_edit')">
%%category_options%%
</select>
<br>
<input type=button name=add value=" EDIT " onClick="submit_listing('cat_edit')">
  &nbsp; 
<input type=button name=add value=" ADD " onClick="submit_listing('cat_add')">
  &nbsp; 
<input type=button name=add value=" ADD MANY " onClick="submit_listing('cat_addmany')">
  &nbsp; 
<input type=button name=add value=" CROSS " onClick="submit_listing('cat_cross_edit')">
  &nbsp;  
<input type=button name=add value=" REMOVE " onClick="submit_listing('cat_removed')">
  &nbsp;  &nbsp;
<input type=button name=rebuild value=" REBUILD " onClick="submit_listing('cat_rebuild')">
</form>

<p>
<!-- see templates/admin/t_cat_approval.htm to change the fields -->
%%category_approval%%

<p>

Return current item: Article Manager