+ add the feature of priv setting.

This commit is contained in:
wangchunsheng
2010-03-29 07:14:08 +00:00
parent 507b02e77e
commit db16ec554e
6 changed files with 116 additions and 13 deletions
+14
View File
@@ -24,6 +24,12 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<script language='Javascript'>
function setWhite(acl)
{
acl == 'custom' ? $('#whitelistBox').removeClass('hidden') : $('#whitelistBox').addClass('hidden');
}
</script>
<div class='yui-d0'>
<form method='post' target='hiddenwin'>
<table align='center' class='table-1 a-left'>
@@ -57,6 +63,14 @@
<th class='rowhead'><?php echo $lang->project->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='5' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->acl;?></th>
<td><?php echo html::radio('acl', $lang->project->aclList, 'open', "onclick='setWhite(this.value);'");?></td>
</tr>
<tr id='whitelistBox' class='hidden'>
<th class='rowhead'><?php echo $lang->project->whitelist;?></th>
<td><?php echo html::checkbox('whitelist', $groups);?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::resetButton();?></td>
</tr>