12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- defined('IN_ADMIN') or exit('No permission resources.');
- include $this->admin_tpl('header');?>
- <script type="text/javascript">
- $(document).ready(function() {
- $.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
- $("#name").formValidator({onshow:"<?php echo L('input').L('linkage_name').L('linkage_name_desc')?>",onfocus:"<?php echo L('linkage_name').L('not_empty')?>"}).inputValidator({min:1,max:999,onerror:"<?php echo L('linkage_name').L('not_empty')?>"});
- })
- </script>
- <div class="pad_10">
- <div class="common-form">
- <form name="myform" action="?m=admin&c=linkage&a=public_sub_add" method="post" id="myform">
- <table width="100%" class="table_form contentWrap">
- <tr>
- <td><?php echo L('level_menu')?></td>
- <td>
- <?php echo $list?>
- </td>
- </tr>
- <tr>
- <td><?php echo L('linkage_name')?></td>
- <td>
- <textarea name="info[name]" rows="2" cols="20" id="name" class="inputtext" style="height:90px;width:150px;"><?php echo $name?></textarea>
- </td>
- </tr>
- <tr>
- <td><?php echo L('menu_description')?></td>
- <td>
- <textarea name="info[description]" rows="2" cols="20" id="description" class="inputtext" style="height:45px;width:300px;"><?php echo $description?></textarea>
- </td>
- </tr>
- </table>
- <div class="bk15"></div>
- <input type="hidden" name="keyid" value="<?php echo $keyid?>">
- <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog" id="dosubmit">
- </form>
- </div>
- </div>
- </body>
- </html>
|