address.tpl.php 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'attachment');
  4. ?>
  5. <div class="pad-lr-10">
  6. <div class="explain-col">
  7. <?php echo L('attachment_address_replace_msg')?>
  8. </div>
  9. <form action="index.php?m=attachment&c=address&a=update&pc_hash=<?php echo $_SESSION['pc_hash'];?>" method="post" onsubmit="return confirm('<?php echo L('form_submit_confirm');?>')">
  10. <table width="100%" class="table_form">
  11. <tr>
  12. <th width="100"><?php echo L('old_attachment_address')?>:</th>
  13. <td class="y-bg"><input type="text" class="input-text" name="old_attachment_path" id="old_attachment_path" size="40" value="<?php echo pc_base::load_config('system', 'upload_url')?>" /> <?php echo L('old_attachment_address_msg')?></td>
  14. </tr>
  15. <tr>
  16. <th><?php echo L('new_attachment_address')?>:</th>
  17. <td class="y-bg"><input type="text" class="input-text" name="new_attachment_path" id="new_attachment_path" size="40" value="" /></td>
  18. </tr>
  19. <tr>
  20. <th></th>
  21. <td class="y-bg"><input type="submit" value="<?php echo L('submit')?>" class="button"></td>
  22. </tr>
  23. </table>
  24. </form>
  25. </div>
  26. </body>
  27. </html>
  28. <script type="text/javascript">
  29. <!--
  30. //-->
  31. </script>