linkage_sub_add.tpl.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header');?>
  4. <script type="text/javascript">
  5. $(document).ready(function() {
  6. $.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
  7. $("#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')?>"});
  8. })
  9. </script>
  10. <div class="pad_10">
  11. <div class="common-form">
  12. <form name="myform" action="?m=admin&c=linkage&a=public_sub_add" method="post" id="myform">
  13. <table width="100%" class="table_form contentWrap">
  14. <tr>
  15. <td><?php echo L('level_menu')?></td>
  16. <td>
  17. <?php echo $list?>
  18. </td>
  19. </tr>
  20. <tr>
  21. <td><?php echo L('linkage_name')?></td>
  22. <td>
  23. <textarea name="info[name]" rows="2" cols="20" id="name" class="inputtext" style="height:90px;width:150px;"><?php echo $name?></textarea>
  24. </td>
  25. </tr>
  26. <tr>
  27. <td><?php echo L('menu_description')?></td>
  28. <td>
  29. <textarea name="info[description]" rows="2" cols="20" id="description" class="inputtext" style="height:45px;width:300px;"><?php echo $description?></textarea>
  30. </td>
  31. </tr>
  32. </table>
  33. <div class="bk15"></div>
  34. <input type="hidden" name="keyid" value="<?php echo $keyid?>">
  35. <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog" id="dosubmit">
  36. </form>
  37. </div>
  38. </div>
  39. </body>
  40. </html>