m_edit.tpl.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <div class="pad-10">
  6. <form action="?m=wap&c=wap_admin&a=edit" method="post" id="myform">
  7. <input type="hidden" value='<?php echo $siteid?>' name="siteid">
  8. <fieldset>
  9. <legend><?php echo L('basic_config')?></legend>
  10. <table width="100%" class="table_form">
  11. <tr>
  12. <th width="120"><?php echo L('wap_belong_site')?></th>
  13. <td class="y-bg"><?php echo $sitelist[$siteid]['name']?></td>
  14. </tr>
  15. <tr>
  16. <th width="120"><?php echo L('wap_sitename')?></th>
  17. <td class="y-bg"><input type="text" class="input-text" name="sitename" id="sitename" size="30" value="<?php echo $sitename?>"/></td>
  18. </tr>
  19. <tr>
  20. <th width="120"><?php echo L('wap_logo')?></th>
  21. <td class="y-bg"><input type="text" class="input-text" name="logo" id="logo" size="30" value="<?php echo $logo?>"/></td>
  22. </tr>
  23. <tr>
  24. <th width="120"><?php echo L('wap_domain')?></th>
  25. <td class="y-bg"><input type="text" class="input-text" name="domain" id="domain" size="30" value="<?php echo $domain?>"/></td>
  26. </tr>
  27. </table>
  28. </fieldset>
  29. <div class="bk10"></div>
  30. <fieldset>
  31. <legend><?php echo L('parameter_config')?></legend>
  32. <table width="100%" class="table_form">
  33. <tr>
  34. <th width="120"><?php echo L('wap_listnum')?></th>
  35. <td class="y-bg"><input type="text" class="input-text" name="setting[listnum]" id="listnum" size="10" value="<?php echo $listnum?>"/> 条</td>
  36. </tr>
  37. <tr>
  38. <th width="120"><?php echo L('wap_thumb')?></th>
  39. <td class="y-bg"><input type="text" class="input-text" name="setting[thumb_w]" id="thumb_w" size="5" value="<?php echo $thumb_w?>"/>px * <input type="text" class="input-text" name="setting[thumb_h]" id="thumb_h" size="5" value="<?php echo $thumb_h?>"/>px</td>
  40. </tr>
  41. <tr>
  42. <th width="120"><?php echo L('wap_content_page')?></th>
  43. <td class="y-bg"><input type="text" class="input-text" name="setting[c_num]" id="c_num" size="10" value="<?php echo $c_num?>"/></td>
  44. </tr>
  45. <tr>
  46. <th width="120"><?php echo L('wap_index_tpl')?></th>
  47. <td class="y-bg"><input type="text" class="input-text" name="setting[index_template]" id="index_template" size="20" value="<?php echo $index_template?>"/>.html</td>
  48. </tr>
  49. <tr>
  50. <th width="120"><?php echo L('wap_cat_tpl')?></th>
  51. <td class="y-bg"><input type="text" class="input-text" name="setting[category_template]" id="category_template" size="20" value="<?php echo $category_template?>"/>.html</td>
  52. </tr>
  53. <tr>
  54. <th width="120"><?php echo L('wap_list_tpl')?></th>
  55. <td class="y-bg"><input type="text" class="input-text" name="setting[list_template]" id="list_template" size="20" value="<?php echo $list_template?>"/>.html</td>
  56. </tr>
  57. <tr>
  58. <th width="120"><?php echo L('wap_show_tpl')?></th>
  59. <td class="y-bg"><input type="text" class="input-text" name="setting[show_template]" id="show_template" size="20" value="<?php echo $show_template?>"/>.html</td>
  60. </tr>
  61. <tr>
  62. <th width="120"><?php echo L('wap_hotword')?></th>
  63. <td class="y-bg">
  64. <textarea style="height: 100px; width: 200px;" id="options" cols="20" rows="2" name="setting[hotwords]"><?php echo $hotwords?></textarea> <?php echo L('wap_hotword_desc')?>
  65. </td>
  66. </tr>
  67. </table>
  68. <div class="bk15"></div>
  69. <input type="submit" id="dosubmit" name="dosubmit" class="dialog" value="<?php echo L('submit')?>" />
  70. </fieldset>
  71. </form>
  72. </div>
  73. </body>
  74. </html>