* Adjust the order in which document library fields are created.

This commit is contained in:
caoyanyi
2023-04-20 14:32:11 +08:00
parent cf7cf423a3
commit e289047035
+8 -8
View File
@@ -27,6 +27,14 @@
<form method='post' class='main-form form-ajax no-stash form-watched' enctype='multipart/form-data' >
<table class='table table-form'>
<?php if(in_array($type, array('product', 'project', 'execution'))):?>
<?php if(in_array($type, array('product', 'project'))):?>
<tr <?php if($config->vision == 'lite') echo 'class="hidden"'?>>
<th><?php echo $lang->doc->libType;?></th>
<td>
<span><?php echo html::radio('libType', $lang->doclib->type, 'wiki', "onchange='changeDoclibAcl(this.value)'")?></span>
</td>
</tr>
<?php endif;?>
<tr class='objectBox'>
<th><?php echo $lang->doc->{$type}?></th>
<td class='required'><?php echo html::select($type, $objects, $objectID, "class='form-control chosen' data-drop-direction='down'")?></td>
@@ -41,14 +49,6 @@
</td>
</tr>
<?php endif;?>
<?php if(in_array($type, array('product', 'project'))):?>
<tr <?php if($config->vision == 'lite') echo 'class="hidden"'?>>
<th><?php echo $lang->doc->libType;?></th>
<td>
<span><?php echo html::radio('libType', $lang->doclib->type, 'wiki', "onchange='changeDoclibAcl(this.value)'")?></span>
</td>
</tr>
<?php endif;?>
<?php endif;?>
<tr class="normalLib">
<th><?php echo $lang->doclib->name?></th>