<!-- TITLE: Manage Fieldsets -->
<script>
function goExport(){
var block = 'chk_id[]';
var ok = false;
var el = document.frm.elements;
for (var i=0; i<el.length; i++) {
if(el[i].name.substr(0,block.length)==block && el[i].checked){
ok = true;
break;
}
}
if(!ok) alert('Please select fieldset(s) to export');
return ok;
}
</script>
<form method=post name=frm>
<table border="0" cellPadding=3 cellSpacing="1" width="90%" align=center>
<tr>
<td colspan="4" align=center>
<table border=1 width="100%" cellpadding=1 cellspacing=0>
<tr class=ex_row>
<td width="1%"> </td>
<td width="1%">
<input type=checkbox name=chk_all value=1 OnClick="SwitchItemsAdm()">
</td>
<td width="1%"> </td>
<td> <b>Fieldset ID</td>
<td width="10%" nowrap> <b>Categories Assigned </td>
<td width="5%"> <b>{Items} </td>
<td width="5%"> <b>Fields </td>
<td width="5%"> <b>Options </td>
<td width="5%"> <b>Templates </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><p class=ag_adm>{user_fields}</td>
<td><center>—</td>
<td><center> </td>
<td><center><a href="index.php?page=fs_fields&fset=%7Buser_fields%7D">edit</a></td>
<td><center> </td>
<td><center> </td>
</tr>
<!-- TPL_INSERT : row -->
<!-- TPL_CELL : def -->
<tr>
<td>##num##.</td>
<td><input type=checkbox name=chk_id[] value="##id##"></td>
<td><a href="##PAGE_URL##id=##id##"><img src=../img/admin/modify.gif alt="[M]" border=0></a></td>
<td><p class=ag_adm>##id##</td>
<td><center>
<!-- IF ##cat_amt## -->
<b>##cat_amt##</b> / <a href="##PAGE_URL##id=##id##">view</a>
<!-- ELSE -->
—
<!-- ENDIF -->
</td>
<td><center>##item_amt##</td>
<td><center><a href="index.php?page=fs_fields&fset=##id##">edit</a></td>
<td><center><a href="index.php?page=fs_setup&fset=##id##">edit</a></td>
<td><center><a href="index.php?page=tpl&fset=##id##">edit</a></td>
</tr>
<!-- IF ##descr## -->
<tr>
<td colspan=10 class=txt8> ##descr##</td>
</tr>
<!-- ENDIF -->
<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : row -->
</table>
<p>
##nav##
<p>
<input type=button value=" Add " class=button
onClick="document.location='##PAGE_URL##pg=add'"><input
type=submit name=submdel value="Delete" class=button
onClick="return(confirm('Delete ?'))"><input type=reset
value="Reset" class=button>
<!-- IF ##gz_ok## -->
<input type=submit name=submexport value="Export" class=btnred OnClick="return(goExport())">
<!-- ENDIF -->
</td>
</tr>
</table>
</form>
<!-- IF ##gz_ok## -->
<form method=post name=frm_import ENCTYPE="multipart/form-data">
<input type=hidden name=token value="##TOKEN##">
<center>
<i>You can import previously exported fieldset(s) here:</i>
<br>
Upload Fieldset Archive (zip):
<input type=file name=fs_zip size=20>
<input type=submit name=import value="Import" class=btnred>
</center>
</form>
<!-- ENDIF -->