cache_all.tpl.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <style type="text/css">
  2. .sbs{}
  3. .sbul{margin:10px;}
  4. .sbul li{line-height:30px;}
  5. .button{margin-top:20px;}
  6. .subnav,.ifm{display:none;}
  7. </style>
  8. <?php
  9. defined('IN_ADMIN') or exit('No permission resources.');
  10. include $this->admin_tpl('header','admin');?>
  11. <div class="pad-10">
  12. <form action="?m=admin&c=cache_all&a=init&pc_hash=<?php echo $_SESSION['pc_hash']?>" target="cache_if" method="post" id="myform" name="myform">
  13. <input type="hidden" name="dosubmit" value="1">
  14. <div class="col-2">
  15. <h6><?php echo L('tip_zone')?></h6>
  16. <div class="sbs" id="update_tips" style="height:360px; overflow:auto;">
  17. <ul id="file" class="sbul">
  18. </ul>
  19. </div>
  20. </div>
  21. <!-- <input name="dosubmit" type="submit" class="dialog" id="dosubmit" value="<?php echo L('start_update')?>" onclick="$('#file').html('');return true;" class="button"> -->
  22. </form>
  23. <iframe id="cache_if" name="cache_if" class="ifm"></iframe>
  24. <iframe id="hidden" name="hidden" width="0" height="0" frameborder=0></iframe>
  25. </div>
  26. <script type="text/javascript">
  27. document.myform.submit();
  28. function addtext(data) {
  29. $('#file').append(data);
  30. document.getElementById('update_tips').scrollTop = document.getElementById('update_tips').scrollHeight;
  31. }
  32. </script>
  33. </body>
  34. </html>