<?php $title = '修改日记分类 - '.setting('webname');?>
<?php include_once tpl('globalHeader');;?>
<div class="nav">修改日记分类</div>
<form action="<?php url('system',array('s'=>'member','c'=>'diary','a'=>'te'));?>" method="post">
分类名称:<input type="text" name="name" maxlength="15" value="<?php echo $type['name'];?>" />(2~15个字符)
<br/>
隐私设置:
<select name="privacy" value="<?php echo $type['privacy'];?>">
	<option value="0"<?php if (0 == $type['privacy']):?> selected="selected"<?php endif;?>>公开分类(任何人都可以访问)</option>
	<option value="1"<?php if (0 == $type['privacy']):?> selected="selected"<?php endif;?>>私人分类(只有我自己能访问)</option>
	<option value="2"<?php if (0 == $type['privacy']):?> selected="selected"<?php endif;?>>只有我的好友能访问</option>
</select>
<br/>
<input type="submit" value="保存" />
<?php include_once tpl('globalFooter');?>