| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | <?phpdefined('IN_ADMIN') or exit('No permission resources.');$show_validator = true;include $this->admin_tpl('header');?><script type="text/javascript"><!--$(function(){	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});	$("#rolename").formValidator({onshow:"<?php echo L('input').L('role_name')?>",onfocus:"<?php echo L('role_name').L('not_empty')?>"}).inputValidator({min:1,max:999,onerror:"<?php echo L('role_name').L('not_empty')?>"});})//--></script><div class="pad_10"><div class="common-form"><form name="myform" action="?m=admin&c=role&a=add" method="post" id="myform"><table width="100%" class="table_form contentWrap"><tr><td><?php echo L('role_name')?></td> <td><input type="text" name="info[rolename]" value="" class="input-text" id="rolename"></input></td></tr><tr><td><?php echo L('role_description')?></td><td><textarea name="info[description]" rows="2" cols="20" id="description" class="inputtext" style="height:100px;width:500px;"></textarea></td></tr><tr><td><?php echo L('enabled')?></td><td><input type="radio" name="info[disabled]" value="0" checked> <?php echo L('enable')?>  <label><input type="radio" name="info[disabled]" value="1"><?php echo L('ban')?></td></tr><tr><td><?php echo L('listorder')?></td><td><input type="text" name="info[listorder]" size="3" class="input-text"></td></tr></table>    <div class="bk15"></div>    <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="button"></form></div></div></body></html>
 |