* finish task #2668.
This commit is contained in:
@@ -11,14 +11,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<?php if($libID == 'product' or $libID == 'project'):?>
|
||||
<div class='main'>
|
||||
<div class='alert alert-pure'>
|
||||
<i class='icon-info-sign'></i>
|
||||
<div class='content'><h5><?php echo $lang->doc->errorEditSystemDoc;?></h5></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php else:?>
|
||||
<?php include '../../common/view/chosen.html.php';?>
|
||||
<div id='titlebar'>
|
||||
<div class='heading'>
|
||||
<span class='prefix'><?php echo html::icon($lang->icons['doclib']);?></span>
|
||||
@@ -26,12 +19,42 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class='main'>
|
||||
<form method='post' class='form-condensed' style='margin: 30px 50px'>
|
||||
<div class='input-group'>
|
||||
<?php echo html::input('name', $libName, "class='form-control' placeholder='{$lang->doc->libName}'");?>
|
||||
<span class='input-group-btn'><?php echo html::submitButton();?></span>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' class='form-condensed' style='margin: 20px 0px 200px'>
|
||||
<table class='table table-form'>
|
||||
<?php if(!empty($lib->product)):?>
|
||||
<tr>
|
||||
<th><?php echo $lang->doc->product?></th>
|
||||
<td><?php echo $product->name?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php if(!empty($lib->project)):?>
|
||||
<tr>
|
||||
<th><?php echo $lang->doc->project?></th>
|
||||
<td><?php echo $project->name?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th class='w-80px'><?php echo $lang->doc->libName?></th>
|
||||
<td><?php echo html::input('name', $lib->name, "class='form-control'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->doclib->acl;?></th>
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
<span class='input-group-addon'><?php echo $lang->doclib->group?></span>
|
||||
<?php echo html::select('groups[]', $groups, $lib->groups, "class='form-control chosen' multiple")?>
|
||||
</div>
|
||||
<div class='input-group'>
|
||||
<span class='input-group-addon'><?php echo $lang->doclib->user?></span>
|
||||
<?php echo html::select('users[]', $users, $lib->users, "class='form-control chosen' multiple")?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class='text-center'><?php echo html::submitButton();?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php include '../../common/view/footer.lite.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user