collabora.html.php 1.2 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The collabora view file of file module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yidong Wang <yidong@cnezsoft.com>
  8. * @package file
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.lite.html.php';?>
  14. <style>
  15. body{padding-bottom:0px;}
  16. </style>
  17. <?php if($isEditable and isset($collaboraEdit)):?>
  18. <?php echo html::a($collaboraEdit, "<i class='icon icon-edit' title='{$lang->edit}'></i> {$lang->edit}", 'collabora', "id='collaboraEdit' style='position:absolute;top:11px;right:35px;z-index:9999;'");?>
  19. <?php endif;?>
  20. <iframe allow="clipboard-write" src='<?php echo $collaboraUrl;?>' border='0' scrolling="no" allowfullscreen style='width:100%;height:100%;display:block;position:absolute;top:0;z-index:60;' id='collabora' name='collabora'></iframe>
  21. <script>
  22. $(function()
  23. {
  24. $('#collaboraEdit').click(function(){$(this).hide();});
  25. })
  26. </script>
  27. <?php include $app->getModuleRoot() . 'common/view/footer.lite.html.php';?>